Package org.ametys.cms.clientsideelement
Class StaticMenu
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.core.ui.StaticClientSideElement
org.ametys.cms.clientsideelement.StaticMenu
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
This element creates a control button with a menu
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
Field Summary
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_configureGalleries
(Configuration configuration) Configure the galleriesprotected void
_configureGroupsGallery
(Configuration configuration) Configure the groups galleryprotected void
_configureItem
(Configuration configuration, String prefix) Configure the item parametersprotected void
_configureItemsGallery
(Configuration configuration, String group) Configure the gallery itemsprotected void
_configureItemsMenu
(Configuration configuration) Configure the items menuvoid
configure
(Configuration configuration) Methods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParameters
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, service, setPluginInfo, toString
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
StaticMenu
public StaticMenu()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurable
- Overrides:
configure
in classStaticFileImportsClientSideElement
- Throws:
ConfigurationException
-
_configureGalleries
Configure the galleries- Parameters:
configuration
- the configuration- Throws:
ConfigurationException
- If the configuration has an issue
-
_configureGroupsGallery
Configure the groups gallery- Parameters:
configuration
- the configuration- Throws:
ConfigurationException
- If the configuration has an issue
-
_configureItemsGallery
protected void _configureItemsGallery(Configuration configuration, String group) throws ConfigurationException Configure the gallery items- Parameters:
configuration
- the configurationgroup
- the group gallery- Throws:
ConfigurationException
- If the configuration has an issue
-
_configureItemsMenu
Configure the items menu- Parameters:
configuration
- the configuration- Throws:
ConfigurationException
- If the configuration has an issue
-
_configureItem
protected void _configureItem(Configuration configuration, String prefix) throws ConfigurationException Configure the item parameters- Parameters:
configuration
- the item configurationprefix
- the item prefix- Throws:
ConfigurationException
- If the configuration has an issue
-