org.pentaho.platform.web.html.themes
Class PluginThemeResolver

java.lang.Object
  extended by 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


Constructor Summary
PluginThemeResolver()
           
 
Method Summary
 Map<String,ModuleThemeInfo> getModuleThemes()
          Return a map of ModuleThemeInfo objects keyed by module name.
 Map<String,Theme> getSystemThemes()
          Return a map of system themes keyed by theme name.
 void resolveThemes()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginThemeResolver

public PluginThemeResolver()
Method Detail

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