public class DefaultThemeManager extends Object implements ThemeManager
Constructor and Description |
---|
DefaultThemeManager() |
Modifier and Type | Method and Description |
---|---|
List |
getAvailableThemeDescriptors() |
Theme |
getGlobalTheme()
Gets the globally configured theme.
|
String |
getGlobalThemeKey() |
Theme |
getSpaceTheme(String spaceKey)
Retrieve the theme configured for an identified space.
|
String |
getSpaceThemeKey(String spaceKey) |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager) |
void |
setEventManager(com.atlassian.event.EventManager eventManager) |
void |
setGlobalTheme(String themeCompleteKey) |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
void |
setSpaceTheme(String spaceKey,
String themeCompleteKey) |
void |
setUpgradeManager(UpgradeManager upgradeManager) |
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public Theme getGlobalTheme()
ThemeManager
DefaultTheme
should be returned.getGlobalTheme
in interface ThemeManager
public String getGlobalThemeKey()
getGlobalThemeKey
in interface ThemeManager
public Theme getSpaceTheme(String spaceKey)
getSpaceTheme
in interface ThemeManager
public String getSpaceThemeKey(String spaceKey)
getSpaceThemeKey
in interface ThemeManager
public void setGlobalTheme(String themeCompleteKey)
setGlobalTheme
in interface ThemeManager
public void setSpaceTheme(String spaceKey, String themeCompleteKey)
setSpaceTheme
in interface ThemeManager
public List getAvailableThemeDescriptors()
getAvailableThemeDescriptors
in interface ThemeManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setEventManager(com.atlassian.event.EventManager eventManager)
public void setUpgradeManager(UpgradeManager upgradeManager)
Copyright © 2003–2016 Atlassian. All rights reserved.