Class CmsDisableMenuEntry
- java.lang.Object
-
- org.opencms.ade.sitemap.client.hoverbar.A_CmsSitemapMenuEntry
-
- org.opencms.ade.sitemap.client.hoverbar.CmsDisableMenuEntry
-
- All Implemented Interfaces:
I_CmsContextMenuEntry
public class CmsDisableMenuEntry extends A_CmsSitemapMenuEntry
Sitemap context menu disable model page entry.- Since:
- 8.0.0
-
-
Constructor Summary
Constructors Constructor Description CmsDisableMenuEntry(CmsSitemapHoverbar hoverbar)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Executes the context menu action.java.lang.String
getIconClass()
Returns a CSS class which should be used to display an icon, or null if no icon is required.void
onShow()
Executed when the context-menu is opened.-
Methods inherited from class org.opencms.ade.sitemap.client.hoverbar.A_CmsSitemapMenuEntry
deattachHoverbar, generateMenuItem, getHoverbar, getJspPath, getLabel, getName, getReason, getSubMenu, hasSubMenu, isActive, isSeparator, isVisible, setActive, setDisabledReason, setLabel, setVisible
-
-
-
-
Constructor Detail
-
CmsDisableMenuEntry
public CmsDisableMenuEntry(CmsSitemapHoverbar hoverbar)
Constructor.- Parameters:
hoverbar
- the hoverbar
-
-
Method Detail
-
execute
public void execute()
Description copied from interface:I_CmsContextMenuEntry
Executes the context menu action.- See Also:
I_CmsContextMenuEntry.execute()
-
getIconClass
public java.lang.String getIconClass()
Description copied from interface:I_CmsContextMenuEntry
Returns a CSS class which should be used to display an icon, or null if no icon is required.- Specified by:
getIconClass
in interfaceI_CmsContextMenuEntry
- Overrides:
getIconClass
in classA_CmsSitemapMenuEntry
- Returns:
- the CSS class for the icon
- See Also:
A_CmsSitemapMenuEntry.getIconClass()
-
onShow
public void onShow()
Description copied from class:A_CmsSitemapMenuEntry
Executed when the context-menu is opened.- Specified by:
onShow
in classA_CmsSitemapMenuEntry
- See Also:
A_CmsSitemapMenuEntry.onShow()
-
-