org.pentaho.platform.web.html.themes
Class PluginThemeResolver
java.lang.Object
org.pentaho.platform.web.html.themes.PluginThemeResolver
- All Implemented Interfaces:
- IThemeResolver
public class PluginThemeResolver
- extends Object
- implements IThemeResolver
Theme resolver for platform plugins.
Plugins that specify a "root_theme_folder" will have this folder's subfolders added as themes. If
the themes are also in the "system_themes' plugin setting they will be added as system-level themes.
If there's already a system theme by that name loaded it will be overridden.
User: nbaker
Date: 5/15/11
PluginThemeResolver
public PluginThemeResolver()
resolveThemes
public void resolveThemes()
getModuleThemes
public Map<String,ModuleThemeInfo> getModuleThemes()
- Description copied from interface:
IThemeResolver
- Return a map of ModuleThemeInfo objects keyed by module name.
- Specified by:
getModuleThemes
in interface IThemeResolver
- Returns:
- map of ModuleThemeInfo by module name
getSystemThemes
public Map<String,Theme> getSystemThemes()
- Description copied from interface:
IThemeResolver
- Return a map of system themes keyed by theme name.
- Specified by:
getSystemThemes
in interface IThemeResolver
- Returns:
- map of System themes