public class StaticTagTargetType extends Object implements TagTargetType, Configurable, PluginAware
Modifier and Type | Field and Description |
---|---|
protected I18nizableText |
_description
The description
|
protected String |
_featureName
The feature name
|
protected I18nizableText |
_label
The label
|
protected String |
_name
The name
|
protected String |
_pluginName
The plugin name
|
Constructor and Description |
---|
StaticTagTargetType() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
protected I18nizableText |
configureDescription(Configuration configuration,
String defaultCatalogue)
Configure description from the passed configuration
|
protected I18nizableText |
configureLabel(Configuration configuration,
String defaultCatalogue)
Configure label from the passed configuration
|
I18nizableText |
getDescription()
Returns the type's description.
|
I18nizableText |
getLabel()
Returns the type's label.
|
String |
getName()
Returns the type's name.
|
String |
getPluginName()
Get the plugin name
|
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. |
protected I18nizableText _label
protected I18nizableText _description
protected String _pluginName
protected String _featureName
public StaticTagTargetType()
public void setPluginInfo(String pluginName, String featureName, String id)
PluginAware
setPluginInfo
in interface PluginAware
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this componentpublic String getPluginName()
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public String getName()
TagTargetType
getName
in interface TagTargetType
public I18nizableText getLabel()
TagTargetType
getLabel
in interface TagTargetType
public I18nizableText getDescription()
TagTargetType
getDescription
in interface TagTargetType
protected I18nizableText configureLabel(Configuration configuration, String defaultCatalogue) throws ConfigurationException
configuration
- The configurationdefaultCatalogue
- The default catalogueConfigurationException
- If an error occurredprotected I18nizableText configureDescription(Configuration configuration, String defaultCatalogue) throws ConfigurationException
configuration
- The configurationdefaultCatalogue
- The default catalogueConfigurationException
- If an error occurred