public class StaticMenu extends StaticClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private int |
_galleryIndex |
private int |
_menuIndex |
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
StaticMenu() |
Modifier and Type | Method and Description |
---|---|
protected void |
_configureGalleries(Configuration configuration)
Configure the galleries
|
protected void |
_configureGroupsGallery(Configuration configuration)
Configure the groups gallery
|
protected void |
_configureItem(Configuration configuration,
String prefix)
Configure the item parameters
|
protected void |
_configureItemsGallery(Configuration configuration,
String group)
Configure the gallery items
|
protected void |
_configureItemsMenu(Configuration configuration)
Configure the items menu
|
void |
configure(Configuration configuration) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, service, setPluginInfo, toString
getLogger, setLogger
private int _galleryIndex
private int _menuIndex
public StaticMenu()
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configure
in class StaticFileImportsClientSideElement
ConfigurationException
protected void _configureGalleries(Configuration configuration) throws ConfigurationException
configuration
- the configurationConfigurationException
- If the configuration has an issueprotected void _configureGroupsGallery(Configuration configuration) throws ConfigurationException
configuration
- the configurationConfigurationException
- If the configuration has an issueprotected void _configureItemsGallery(Configuration configuration, String group) throws ConfigurationException
configuration
- the configurationgroup
- the group galleryConfigurationException
- If the configuration has an issueprotected void _configureItemsMenu(Configuration configuration) throws ConfigurationException
configuration
- the configurationConfigurationException
- If the configuration has an issueprotected void _configureItem(Configuration configuration, String prefix) throws ConfigurationException
configuration
- the item configurationprefix
- the item prefixConfigurationException
- If the configuration has an issue