public class TreeToolClientSideElement extends StaticClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected ContentTypeExtensionPoint |
_contentTypeExtensionPoint
The content type extension point
|
protected ContentTypesHelper |
_contentTypesHelper
The content type helper
|
protected String |
_treeConfigId
During startup will contains the configured tree config id.
|
protected TreeExtensionPoint |
_treeExtensionPoint
The tree configuration EP
|
protected TreeRootProvider |
_treeRootProvider
The content types helper instance
|
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
TreeToolClientSideElement() |
Modifier and Type | Method and Description |
---|---|
protected void |
_lazyConfigure()
Lazy configuration of the component
|
void |
configure(Configuration configuration) |
Map<String,Object> |
getRootNodeInformations(String contentId)
Get the root node informations
|
List<ClientSideElement.Script> |
getScripts(boolean ignoreRights,
Map<String,Object> contextParameters)
This method return the scripts that will be used on client side.
|
void |
service(ServiceManager smanager) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected TreeRootProvider _treeRootProvider
protected TreeExtensionPoint _treeExtensionPoint
protected String _treeConfigId
protected ContentTypesHelper _contentTypesHelper
protected ContentTypeExtensionPoint _contentTypeExtensionPoint
public TreeToolClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configure
in class StaticFileImportsClientSideElement
ConfigurationException
protected void _lazyConfigure()
public List<ClientSideElement.Script> getScripts(boolean ignoreRights, Map<String,Object> contextParameters)
ClientSideElement
getScripts
in interface ClientSideElement
getScripts
in class StaticFileImportsClientSideElement
ignoreRights
- True to ignore the rights verification.contextParameters
- Contextuals parameters transmitted by the environment.