public class AddTaskClientSideElement extends StaticClientSideElement implements Contextualizable
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected Context |
_context
The Avalon context
|
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
AddTaskClientSideElement() |
Modifier and Type | Method and Description |
---|---|
protected String |
_configureClass(Configuration configuration)
Configure the js class name
|
protected Map<String,List<String>> |
_configureDependencies(Configuration configuration)
Configure the dependencies following the configuration
|
protected ClientSideElement.Script |
_configureScript(Configuration configuration)
Configure the script
|
protected Map<String,Object> |
configureInitialParameters(Configuration configuration)
Configure the initial parameters
|
void |
contextualize(Context context) |
Map<String,List<String>> |
getDependencies()
This method returns the list of dependencies, sorted by extension point.
|
_configureParameters
_configureImports, _configureRights, _configureRightsMode, configure, getId, getPluginName, getRights, getScripts, getScripts, hasRight, service, setPluginInfo, toString
getLogger, setLogger
public AddTaskClientSideElement()
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
protected String _configureClass(Configuration configuration) throws ConfigurationException
StaticClientSideElement
_configureClass
in class StaticClientSideElement
configuration
- The configuration on action tagConfigurationException
- If an error occursprotected Map<String,Object> configureInitialParameters(Configuration configuration) throws ConfigurationException
StaticClientSideElement
configureInitialParameters
in class StaticClientSideElement
configuration
- the global configurationConfigurationException
- The configuration is incorrectprotected ClientSideElement.Script _configureScript(Configuration configuration) throws ConfigurationException
StaticFileImportsClientSideElement
_configureScript
in class StaticClientSideElement
configuration
- the global configurationConfigurationException
- The configuration is incorrectprotected Map<String,List<String>> _configureDependencies(Configuration configuration) throws ConfigurationException
StaticFileImportsClientSideElement
_configureDependencies
in class StaticFileImportsClientSideElement
configuration
- The root configurationConfigurationException
- if a dependency element is present but emptypublic Map<String,List<String>> getDependencies()
ClientSideElement
getDependencies
in interface ClientSideElement
getDependencies
in class StaticFileImportsClientSideElement