|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.themes.ExperimentalUnsupportedTheme
public class ExperimentalUnsupportedTheme
Like BasicTheme, but allows you to do some truly evil stuff like overriding Velocity results and turning off Sitemesh. Use of this theme will BREAK CONFLUENCE REGULARLY, even on point release upgrades.
| Constructor Summary | |
|---|---|
ExperimentalUnsupportedTheme()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBodyClass()
Returns the class for the body element specified by the theme. |
ColourScheme |
getColourScheme()
|
ThemedDecorator |
getDecorator(java.lang.String path)
|
java.util.Collection<? extends ThemeResource> |
getJavascript()
Return the JavaScript resources for the theme. |
java.lang.String |
getModuleKey()
Returns the module key of the theme plugin module, or null if this theme doesn't come from a plugin. |
java.lang.String |
getPluginKey()
Return the key of the plugin which includes this theme. |
java.util.Collection<? extends ThemeResource> |
getStylesheets()
Return the stylesheets for the theme. |
java.lang.String |
getTopNavLocation()
Returns the location of the Velocity file which renders the top navigation. |
java.lang.String |
getXworkVelocityPath(java.lang.String packageName,
java.lang.String actionName,
java.lang.String result,
java.lang.String template)
If this theme defines any specific overrides for Velocity XWork results, process them through here. |
boolean |
hasSpaceSideBar()
Tells whether this theme requires rendering of the Space IA sidebar. |
void |
init(ThemeModuleDescriptor moduleDescriptor)
Initialise the theme details from the given theme module descriptor. |
boolean |
isDisableSitemesh()
If this flag returns true, all requests for sitemesh templates w.r.t this theme will return NoDecorator, leading to a total bypassing of the sitemesh-based theme system. |
boolean |
isIncludeClassicStyles()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExperimentalUnsupportedTheme()
| Method Detail |
|---|
public void init(ThemeModuleDescriptor moduleDescriptor)
Theme
init in interface Themepublic ColourScheme getColourScheme()
getColourScheme in interface Themepublic java.lang.String getBodyClass()
Theme
getBodyClass in interface Themepublic ThemedDecorator getDecorator(java.lang.String path)
getDecorator in interface Themepublic java.util.Collection<? extends ThemeResource> getStylesheets()
Theme
getStylesheets in interface ThemeThemeResources representing custom stylesheets for this theme,
or an empty list if none exist.public java.util.Collection<? extends ThemeResource> getJavascript()
Theme
getJavascript in interface ThemeThemeResources representing custom JavaScript for this theme,
or an empty list if none exist.public java.lang.String getPluginKey()
Theme
getPluginKey in interface Theme@Deprecated public boolean isIncludeClassicStyles()
Themecom.atlassian.confluence.core.actions.StylesheetAction continues to include
this "classic" stylesheet above theme stylesheets when this method returns true.
For new themes, it is recommended that stylesheets be independent of Confluence's styles. In this case, this
method returns false, and the StylesheetAction will only render the theme's stylesheet.
isIncludeClassicStyles in interface Themepublic java.lang.String getModuleKey()
Theme
getModuleKey in interface Theme
public java.lang.String getXworkVelocityPath(java.lang.String packageName,
java.lang.String actionName,
java.lang.String result,
java.lang.String template)
Theme
getXworkVelocityPath in interface ThemepackageName - the package name of the action being runactionName - the name of the action being runresult - the result string of the action being runtemplate - the Velocity template path the action wants to process
public java.lang.String getTopNavLocation()
Theme
getTopNavLocation in interface Themepublic boolean hasSpaceSideBar()
Theme
hasSpaceSideBar in interface Themepublic boolean isDisableSitemesh()
Theme
isDisableSitemesh in interface Theme
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||