Package org.ametys.web.sitemap
Class StaticSitemapIcons
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.web.sitemap.StaticSitemapIcons
-
- All Implemented Interfaces:
LogEnabled
,PluginAware
,SitemapIcons
,Configurable
public class StaticSitemapIcons extends AbstractLogEnabled implements SitemapIcons, Configurable, PluginAware
Static implementation of aSitemapIcons
-
-
Constructor Summary
Constructors Constructor Description StaticSitemapIcons()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
Set<SitemapIcon>
getIcons(String skinId)
Get the list of available iconsvoid
setPluginInfo(String pluginName, String featureName, String id)
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
StaticSitemapIcons
public StaticSitemapIcons()
-
-
Method Detail
-
setPluginInfo
public void setPluginInfo(String pluginName, String featureName, String id)
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getIcons
public Set<SitemapIcon> getIcons(String skinId)
Description copied from interface:SitemapIcons
Get the list of available icons- Specified by:
getIcons
in interfaceSitemapIcons
- Parameters:
skinId
- name of the skin- Returns:
- the list of available icons
-
-