com.atlassian.confluence.util
Class LayoutHelper

java.lang.Object
  extended bycom.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 retrvieval related functions out of the AbstractLookAndFeelAction.


Field Summary
static List BUTTON_VALUE_LIST
           
protected static String FS
           
static String GLOBAL_CONFIGPATH
           
static org.apache.log4j.Category log
           
static String SPACE_CONFIGPATH
           
static String TEMPLATE_PATH
           
static String THEME_ICON
           
 
Constructor Summary
LayoutHelper()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

log

public static final org.apache.log4j.Category log

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
Constructor Detail

LayoutHelper

public LayoutHelper()
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()


Confluence is developed by Atlassian.