Package com.atlassian.confluence.util
Class LayoutHelper
- java.lang.Object
-
- com.atlassian.confluence.util.LayoutHelper
-
public class LayoutHelper extends Object
This class provides helper methods to retrieve layout templates and handles a few basic theme tasks. The helper was introduced to extract all the template retrieval related functions out of the AbstractLookAndFeelAction.
-
-
Field Summary
Fields Modifier and Type Field Description static ListBUTTON_VALUE_LISTprotected static StringFSstatic StringGLOBAL_CONFIGPATHstatic StringSPACE_CONFIGPATHstatic StringTEMPLATE_PATHstatic StringTHEME_ICON
-
Constructor Summary
Constructors Constructor Description LayoutHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThemeModuleDescriptorfindThemeDescriptor(String moduleCompleteKey)static voidflushThemeComponents(String spaceKey)ListgetColourSchemeTypes()StringgetConfigPath(ThemeModuleDescriptor descriptor, String configPath)static StringgetFullTemplatePath()booleanhasIcon(ThemeModuleDescriptor descriptor)booleanisGlobal()voidsetGlobal(boolean global)voidsetThemeManager(ThemeManager themeManager)
-
-
-
Field Detail
-
TEMPLATE_PATH
public static final String TEMPLATE_PATH
- See Also:
- Constant Field Values
-
FS
protected static final String FS
-
THEME_ICON
public static final String THEME_ICON
- See Also:
- Constant Field Values
-
GLOBAL_CONFIGPATH
public static final String GLOBAL_CONFIGPATH
- See Also:
- Constant Field Values
-
SPACE_CONFIGPATH
public static final String SPACE_CONFIGPATH
- See Also:
- Constant Field Values
-
BUTTON_VALUE_LIST
public static final List BUTTON_VALUE_LIST
-
-
Method Detail
-
flushThemeComponents
public static void flushThemeComponents(String spaceKey)
-
findThemeDescriptor
public ThemeModuleDescriptor findThemeDescriptor(String moduleCompleteKey)
-
hasIcon
public boolean hasIcon(ThemeModuleDescriptor descriptor)
-
getConfigPath
public String getConfigPath(ThemeModuleDescriptor descriptor, String configPath)
-
getColourSchemeTypes
public List getColourSchemeTypes()
-
isGlobal
public boolean isGlobal()
-
setGlobal
public void setGlobal(boolean global)
-
setThemeManager
public void setThemeManager(ThemeManager themeManager)
-
getFullTemplatePath
public static String getFullTemplatePath()
-
-