public class

ThemeModuleDescriptor

extends AbstractModuleDescriptor<T>
java.lang.Object
   ↳ com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
     ↳ com.atlassian.confluence.plugin.descriptor.ThemeModuleDescriptor

Summary

[Expand]
Inherited Fields
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
Public Constructors
ThemeModuleDescriptor()
Public Methods
void disabled()
void enabled()
String getBodyClass()
ColourScheme getColourScheme()
Iterable<ThemeResource> getJavascript()
Retrieve the stylesheets for the theme.
List<ThemedDecorator> getLayouts()
Theme getModule()
Collection<ThemeResource> getStylesheets()
Retrieve the stylesheets for the theme.
String getTopNavLocation()
List<VelocityResultOverride> getVelocityResultOverrides()
void init(Plugin plugin, Element element)
boolean isDisableSitemesh()
void setPluginAccessor(PluginAccessor pluginAccessor)
[Expand]
Inherited Methods
From class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
From class java.lang.Object
From interface com.atlassian.plugin.ModuleDescriptor
From interface com.atlassian.plugin.Resourced
From interface com.atlassian.plugin.StateAware

Public Constructors

public ThemeModuleDescriptor ()

Public Methods

public void disabled ()

public void enabled ()

public String getBodyClass ()

public ColourScheme getColourScheme ()

public Iterable<ThemeResource> getJavascript ()

Retrieve the stylesheets for the theme. Resources are considered to be stylesheets if they have a type of 'stylesheet' or a name ending in '.css'. As of Confluence 2.8, stylesheet resources for a theme only include resources declared within the theme module.

Returns
  • a Collection of ThemeResources representing custom stylesheets for this theme, or an empty list if none exist.

public List<ThemedDecorator> getLayouts ()

public Theme getModule ()

public Collection<ThemeResource> getStylesheets ()

Retrieve the stylesheets for the theme. Resources are considered to be stylesheets if they have a type of 'stylesheet' or a name ending in '.css'. As of Confluence 2.8, stylesheet resources for a theme only include resources declared within the theme module.

Returns
  • a Collection of ThemeResources representing custom stylesheets for this theme, or an empty list if none exist.

public String getTopNavLocation ()

public List<VelocityResultOverride> getVelocityResultOverrides ()

public void init (Plugin plugin, Element element)

public boolean isDisableSitemesh ()

public void setPluginAccessor (PluginAccessor pluginAccessor)