public class LanguageMenu extends LanguageMenu
SimpleMenu.GalleryGroup, SimpleMenu.GalleryItem, SimpleMenu.UnresolvedItem
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected WebLanguagesManager |
_webLanguagesManager
The Web languages manager
|
_i18nUtils, _languagesManager, _RESOURCES_PLUGIN
_galleryItemManager, _galleryItems, _menuItemManager, _menuItems, _primaryMenuItem, _referencedClientSideElement, _ribbonControlManager, _smanager, _unresolvedMenuItems
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
LanguageMenu() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Language> |
getAvailableLanguages(Map<String,Object> contextualParameters)
Get the available languages
|
void |
service(ServiceManager serviceManager) |
_getGalleryItems, _getLanguageItemConfiguration, getScripts
_addDependencies, _configureClass, _configureGalleries, _configureGroupGallery, _configureItemsMenu, _getMenuItems, configure, getReferencedClientSideElements, getRights
_configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected WebLanguagesManager _webLanguagesManager
public LanguageMenu()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class LanguageMenu
ServiceException
protected Map<String,Language> getAvailableLanguages(Map<String,Object> contextualParameters)
LanguageMenu
getAvailableLanguages
in class LanguageMenu
contextualParameters
- The contextual parameters