com.atlassian.confluence.util
Class LayoutHelper

java.lang.Object
  extended by com.atlassian.confluence.util.LayoutHelper

public class LayoutHelper
extends java.lang.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
static java.util.List BUTTON_VALUE_LIST
           
protected static java.lang.String FS
           
static java.lang.String GLOBAL_CONFIGPATH
           
static org.apache.log4j.Category log
           
static java.lang.String SPACE_CONFIGPATH
           
static java.lang.String TEMPLATE_PATH
           
static java.lang.String THEME_ICON
           
 
Constructor Summary
LayoutHelper()
           
 
Method Summary
 ThemeModuleDescriptor findThemeDescriptor(java.lang.String moduleCompleteKey)
           
static void flushThemeComponents(java.lang.String spaceKey)
           
 java.util.List getColourSchemeTypes()
           
 java.lang.String getConfigPath(ThemeModuleDescriptor descriptor, java.lang.String configPath)
           
static java.lang.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 java.lang.String TEMPLATE_PATH
See Also:
Constant Field Values

FS

protected static final java.lang.String FS

THEME_ICON

public static final java.lang.String THEME_ICON
See Also:
Constant Field Values

log

public static final org.apache.log4j.Category log

GLOBAL_CONFIGPATH

public static final java.lang.String GLOBAL_CONFIGPATH
See Also:
Constant Field Values

SPACE_CONFIGPATH

public static final java.lang.String SPACE_CONFIGPATH
See Also:
Constant Field Values

BUTTON_VALUE_LIST

public static final java.util.List BUTTON_VALUE_LIST
Constructor Detail

LayoutHelper

public LayoutHelper()
Method Detail

flushThemeComponents

public static void flushThemeComponents(java.lang.String spaceKey)

findThemeDescriptor

public ThemeModuleDescriptor findThemeDescriptor(java.lang.String moduleCompleteKey)

hasIcon

public boolean hasIcon(ThemeModuleDescriptor descriptor)

getConfigPath

public java.lang.String getConfigPath(ThemeModuleDescriptor descriptor,
                                      java.lang.String configPath)

getColourSchemeTypes

public java.util.List getColourSchemeTypes()

isGlobal

public boolean isGlobal()

setGlobal

public void setGlobal(boolean global)

setThemeManager

public void setThemeManager(ThemeManager themeManager)

getFullTemplatePath

public static java.lang.String getFullTemplatePath()


Copyright © 2003-2014 Atlassian. All Rights Reserved.