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 List
BUTTON_VALUE_LIST
protected static String
FS
static String
GLOBAL_CONFIGPATH
static String
SPACE_CONFIGPATH
static String
TEMPLATE_PATH
static String
THEME_ICON
-
Constructor Summary
Constructors Constructor Description LayoutHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThemeModuleDescriptor
findThemeDescriptor(String moduleCompleteKey)
static void
flushThemeComponents(String spaceKey)
List
getColourSchemeTypes()
String
getConfigPath(ThemeModuleDescriptor descriptor, String configPath)
static String
getFullTemplatePath()
boolean
hasIcon(ThemeModuleDescriptor descriptor)
boolean
isGlobal()
void
setGlobal(boolean global)
void
setThemeManager(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()
-
-