protected static class StaticRichTextConfiguration.StaticRichTextConfigurationClientSideElement extends Object implements ClientSideElement
ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected String |
_id
The identifier
|
protected String |
_pluginName
The plugin name
|
protected ClientSideElement.Script |
_script
The script
|
Modifier | Constructor and Description |
---|---|
protected |
StaticRichTextConfigurationClientSideElement(Configuration configuration,
String pluginName,
Logger logger)
Create by configuration
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getDependencies()
This method returns the list of dependencies, sorted by extension point.
|
String |
getId()
Get the id of the element.
|
String |
getPluginName()
Get the plugin name where the control was declared
|
Map<String,String> |
getRights(Map<String,Object> contextParameters)
This method return the right that will be needed on client side.
|
List<ClientSideElement.Script> |
getScripts(boolean ignoreRights,
Map<String,Object> contextParameters)
This method return the scripts that will be used on client side.
|
List<ClientSideElement.Script> |
getScripts(Map<String,Object> contextParameters)
This method return the scripts that will be used on client side.
|
protected String _pluginName
protected ClientSideElement.Script _script
protected StaticRichTextConfigurationClientSideElement(Configuration configuration, String pluginName, Logger logger) throws ConfigurationException
configuration
- The tag configurationpluginName
- The name of the plugin where it was declaredlogger
- The loggerConfigurationException
- If an error occurredpublic String getId()
ClientSideElement
getId
in interface ClientSideElement
public List<ClientSideElement.Script> getScripts(Map<String,Object> contextParameters)
ClientSideElement
getScripts
in interface ClientSideElement
contextParameters
- Contextuals parameters transmitted by the environment.public List<ClientSideElement.Script> getScripts(boolean ignoreRights, Map<String,Object> contextParameters)
ClientSideElement
getScripts
in interface ClientSideElement
ignoreRights
- True to ignore the rights verification.contextParameters
- Contextuals parameters transmitted by the environment.public Map<String,String> getRights(Map<String,Object> contextParameters)
ClientSideElement
getRights
in interface ClientSideElement
contextParameters
- Contextuals parameters transmitted by the environment.public String getPluginName()
ClientSideElement
getPluginName
in interface ClientSideElement
public Map<String,List<String>> getDependencies()
ClientSideElement
getDependencies
in interface ClientSideElement