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()
ColourScheme getColourScheme()
Iterable<ThemeResource> getJavascript()
Retrieve the stylesheets for the theme.
List getLayouts()
Theme getModule()
Collection<ThemeResource> getStylesheets()
Retrieve the stylesheets for the theme.
void init(Plugin plugin, Element element)
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 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 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 void init (Plugin plugin, Element element)

Throws
PluginParseException

public void setPluginAccessor (PluginAccessor pluginAccessor)