Class CmsAdvancedSubmenu
java.lang.Object
org.opencms.ade.sitemap.client.hoverbar.A_CmsSitemapMenuEntry
org.opencms.ade.sitemap.client.hoverbar.CmsAdvancedSubmenu
- All Implemented Interfaces:
I_CmsContextMenuEntry
Submenu for advanced options.
-
Constructor Summary
ConstructorDescriptionCmsAdvancedSubmenu
(CmsSitemapHoverbar hoverbar, List<A_CmsSitemapMenuEntry> subEntries) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes the context menu action.Returns a list ofI_CmsContextMenuEntry
objects.boolean
Returnstrue
if this menu entry has a sub menufalse
otherwise.void
onShow()
Executed when the context-menu is opened.Methods inherited from class org.opencms.ade.sitemap.client.hoverbar.A_CmsSitemapMenuEntry
deattachHoverbar, generateMenuItem, getHoverbar, getIconClass, getJspPath, getLabel, getName, getReason, isActive, isSeparator, isVisible, setActive, setDisabledReason, setLabel, setVisible
-
Constructor Details
-
CmsAdvancedSubmenu
Creates a new instance.- Parameters:
hoverbar
- the hoverbarsubEntries
- the nested menu entries
-
-
Method Details
-
execute
Description copied from interface:I_CmsContextMenuEntry
Executes the context menu action.- See Also:
-
getSubMenu
Description copied from interface:I_CmsContextMenuEntry
Returns a list ofI_CmsContextMenuEntry
objects.- Specified by:
getSubMenu
in interfaceI_CmsContextMenuEntry
- Overrides:
getSubMenu
in classA_CmsSitemapMenuEntry
- Returns:
- the sub menu entries
- See Also:
-
hasSubMenu
Description copied from interface:I_CmsContextMenuEntry
Returnstrue
if this menu entry has a sub menufalse
otherwise.- Specified by:
hasSubMenu
in interfaceI_CmsContextMenuEntry
- Overrides:
hasSubMenu
in classA_CmsSitemapMenuEntry
- Returns:
true
if this menu entry has a sub menufalse
otherwise- See Also:
-
onShow
Description copied from class:A_CmsSitemapMenuEntry
Executed when the context-menu is opened.- Specified by:
onShow
in classA_CmsSitemapMenuEntry
- See Also:
-