Package org.ametys.cms.properties.tab
Class DefaultPropertiesTab
java.lang.Object
org.ametys.cms.properties.tab.DefaultPropertiesTab
- All Implemented Interfaces:
PropertiesTab
,PluginAware
,Prioritizable
,Configurable
public class DefaultPropertiesTab
extends Object
implements PropertiesTab, Configurable, PluginAware
The properties tab tool configuration from a
Configuration
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) Get the configuration of the tab to send to the properties tool.int
Get the priority for the component.void
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.
-
Constructor Details
-
DefaultPropertiesTab
public DefaultPropertiesTab()
-
-
Method Details
-
setPluginInfo
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
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getPriority
Description copied from interface:Prioritizable
Get the priority for the component. On components usingPrioritizable
interface, each implementation define the order. In most cases, less is the number, more prior is the component.- Specified by:
getPriority
in interfacePrioritizable
- Returns:
- the priority
-
getConfiguration
Description copied from interface:PropertiesTab
Get the configuration of the tab to send to the properties tool.- Specified by:
getConfiguration
in interfacePropertiesTab
- Returns:
- the configuration as a
Map
-