public class FormEditionModeMenu extends SimpleMenu
SimpleMenu.GalleryGroup, SimpleMenu.GalleryItem, SimpleMenu.UnresolvedItem
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected ContentTypeExtensionPoint |
_contentTypeExtensionPoint
Content type extension point.
|
protected ContentTypesHelper |
_contentTypesHelper
Helper for content types
|
protected AmetysObjectResolver |
_resolver
The ametys resolver
|
_galleryItemManager, _galleryItems, _menuItemManager, _menuItems, _primaryMenuItem, _referencedClientSideElement, _ribbonControlManager, _smanager, _unresolvedMenuItems
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
FormEditionModeMenu() |
Modifier and Type | Method and Description |
---|---|
private boolean |
_searchForTabFieldSet(List<AbstractMetadataSetElement> elements)
Determines if at least one tab in present in this list of
AbstractMetadataSetElement |
Map<String,Object> |
getStatus(String contentId,
String metadataSetName)
Return the current status of this menu.
|
void |
service(ServiceManager smanager) |
_addDependencies, _configureClass, _configureGalleries, _configureGroupGallery, _configureItemsMenu, _getGalleryItems, _getMenuItems, configure, getReferencedClientSideElements, getRights, getScripts
_configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, getDependencies, getId, getPluginName, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected AmetysObjectResolver _resolver
protected ContentTypeExtensionPoint _contentTypeExtensionPoint
protected ContentTypesHelper _contentTypesHelper
public FormEditionModeMenu()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class SimpleMenu
ServiceException
public Map<String,Object> getStatus(String contentId, String metadataSetName)
contentId
- The id of the contentmetadataSetName
- The name of the metadata set in which the search must be done.private boolean _searchForTabFieldSet(List<AbstractMetadataSetElement> elements)
AbstractMetadataSetElement
elements
- The list of AbstractMetadataSetElement