|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<Theme>
com.atlassian.confluence.plugin.descriptor.ThemeModuleDescriptor
public class ThemeModuleDescriptor
Field Summary |
---|
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton |
Constructor Summary | |
---|---|
ThemeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory,
com.atlassian.plugin.PluginAccessor pluginAccessor)
|
Method Summary | |
---|---|
void |
disabled()
|
void |
enabled()
|
java.lang.String |
getBodyClass()
|
ColourScheme |
getColourScheme()
|
java.lang.Iterable<ThemeResource> |
getJavascript()
Retrieve the stylesheets for the theme. |
java.util.List<ThemedDecorator> |
getLayouts()
|
Theme |
getModule()
|
java.util.Collection<ThemeResource> |
getStylesheets()
Retrieve the stylesheets for the theme. |
java.lang.String |
getTopNavLocation()
|
java.util.List<VelocityResultOverride> |
getVelocityResultOverrides()
|
boolean |
hasSpaceSideBar()
|
void |
init(com.atlassian.plugin.Plugin plugin,
org.dom4j.Element element)
|
boolean |
isDisableSitemesh()
|
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
---|
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ThemeModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory, com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail |
---|
public void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.ModuleDescriptor<Theme>
init
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Theme>
com.atlassian.plugin.PluginParseException
public Theme getModule()
getModule
in interface com.atlassian.plugin.ModuleDescriptor<Theme>
getModule
in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Theme>
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 java.util.List<ThemedDecorator> getLayouts()
public java.util.Collection<ThemeResource> getStylesheets()
ThemeResource
s representing custom stylesheets for this theme,
or an empty list if none exist.public java.lang.Iterable<ThemeResource> getJavascript()
ThemeResource
s representing custom stylesheets for this theme,
or an empty list if none exist.public boolean isDisableSitemesh()
public java.util.List<VelocityResultOverride> getVelocityResultOverrides()
public java.lang.String getBodyClass()
public java.lang.String getTopNavLocation()
public boolean hasSpaceSideBar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |