public class

LayoutHelper

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.util.LayoutHelper

Class Overview

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.

Summary

Constants
String GLOBAL_CONFIGPATH
String SPACE_CONFIGPATH
String TEMPLATE_PATH
String THEME_ICON
Fields
public static final List BUTTON_VALUE_LIST
protected static final String FS
public static final Category log
Public Constructors
LayoutHelper()
Public Methods
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)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String GLOBAL_CONFIGPATH

Constant Value: "global-config-path"

public static final String SPACE_CONFIGPATH

Constant Value: "space-config-path"

public static final String TEMPLATE_PATH

Constant Value: "velocity"

public static final String THEME_ICON

Constant Value: "themeicon.gif"

Fields

public static final List BUTTON_VALUE_LIST

protected static final String FS

public static final Category log

Public Constructors

public LayoutHelper ()

Public Methods

public ThemeModuleDescriptor findThemeDescriptor (String moduleCompleteKey)

public static void flushThemeComponents (String spaceKey)

public List getColourSchemeTypes ()

public String getConfigPath (ThemeModuleDescriptor descriptor, String configPath)

public static String getFullTemplatePath ()

public boolean hasIcon (ThemeModuleDescriptor descriptor)

public boolean isGlobal ()

public void setGlobal (boolean global)

public void setThemeManager (ThemeManager themeManager)