Constructor and Description |
---|
ThemeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration) |
Modifier and Type | Method and Description |
---|---|
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() |
boolean |
hasSpaceSideBar() |
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element) |
boolean |
isDisableSitemesh() |
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setBroken, setPlugin, toString
public ThemeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.webresource.WebResourceIntegration webResourceIntegration)
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
public Theme getModule()
public void enabled()
enabled
in interface com.atlassian.plugin.StateAware
enabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Theme>
public void disabled()
disabled
in interface com.atlassian.plugin.StateAware
disabled
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Theme>
public ColourScheme getColourScheme()
public List<ThemedDecorator> getLayouts()
public Collection<ThemeResource> getStylesheets()
ThemeResource
s representing custom stylesheets for this theme,
or an empty list if none exist.public Iterable<ThemeResource> getJavascript()
ThemeResource
s representing custom stylesheets for this theme,
or an empty list if none exist.public boolean isDisableSitemesh()
public List<VelocityResultOverride> getVelocityResultOverrides()
public String getBodyClass()
public String getTopNavLocation()
public boolean hasSpaceSideBar()
Copyright © 2003–2019 Atlassian. All rights reserved.