public class RichTextConfigurationFileImportsClientSideElement extends Object implements ClientSideElement, PluginAware, Serviceable
RichTextConfigurationExtensionPoint
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private String |
_id |
private String |
_pluginName |
private RichTextConfigurationExtensionPoint |
_richTextConfigurationExtensionPoint |
Constructor and Description |
---|
RichTextConfigurationFileImportsClientSideElement() |
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.
|
void |
service(ServiceManager manager) |
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. |
private RichTextConfigurationExtensionPoint _richTextConfigurationExtensionPoint
private String _pluginName
public RichTextConfigurationFileImportsClientSideElement()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
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 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