Class A_CmsSitemapModeEntry
java.lang.Object
org.opencms.ade.sitemap.client.toolbar.A_CmsSitemapModeEntry
- All Implemented Interfaces:
I_CmsContextMenuEntry
Common super class for all sitemap context menu entries.
- Since:
- 8.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerates the context menu item.Returns a CSS class which should be used to display an icon, or null if no icon is required.Returns the JSP path for the command generation.getLabel()Returns the label (text) for the menu entry.getName()Returns the name of the entry.Returns the reason if the entry is de-activated .Returns a list ofI_CmsContextMenuEntryobjects.booleanReturnstrueif this menu entry has a sub menufalseotherwise.booleanisActive()Returnstrueif this menu entry is activefalseotherwise.booleanReturnstrueif this menu entry is a separatorfalseotherwise.booleanReturnstrueif this menu entry is visiblefalseotherwise.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.gwt.client.ui.contextmenu.I_CmsContextMenuEntry
execute
-
Constructor Details
-
A_CmsSitemapModeEntry
Constructor.- Parameters:
label- the label
-
-
Method Details
-
generateMenuItem
Description copied from interface:I_CmsContextMenuEntryGenerates the context menu item.- Specified by:
generateMenuItemin interfaceI_CmsContextMenuEntry- Returns:
- the context menu item
- See Also:
-
getIconClass
Description copied from interface:I_CmsContextMenuEntryReturns a CSS class which should be used to display an icon, or null if no icon is required.- Specified by:
getIconClassin interfaceI_CmsContextMenuEntry- Returns:
- the CSS class for the icon
- See Also:
-
getJspPath
Description copied from interface:I_CmsContextMenuEntryReturns the JSP path for the command generation.- Specified by:
getJspPathin interfaceI_CmsContextMenuEntry- Returns:
- the JSP path
- See Also:
-
getLabel
Description copied from interface:I_CmsContextMenuEntryReturns the label (text) for the menu entry.- Specified by:
getLabelin interfaceI_CmsContextMenuEntry- Returns:
- the label
- See Also:
-
getName
Description copied from interface:I_CmsContextMenuEntryReturns the name of the entry.- Specified by:
getNamein interfaceI_CmsContextMenuEntry- Returns:
- the name of the entry
- See Also:
-
getReason
Description copied from interface:I_CmsContextMenuEntryReturns the reason if the entry is de-activated .- Specified by:
getReasonin interfaceI_CmsContextMenuEntry- Returns:
- the reason
- See Also:
-
getSubMenu
Description copied from interface:I_CmsContextMenuEntryReturns a list ofI_CmsContextMenuEntryobjects.- Specified by:
getSubMenuin interfaceI_CmsContextMenuEntry- Returns:
- the sub menu entries
- See Also:
-
hasSubMenu
Description copied from interface:I_CmsContextMenuEntryReturnstrueif this menu entry has a sub menufalseotherwise.- Specified by:
hasSubMenuin interfaceI_CmsContextMenuEntry- Returns:
trueif this menu entry has a sub menufalseotherwise- See Also:
-
isActive
Description copied from interface:I_CmsContextMenuEntryReturnstrueif this menu entry is activefalseotherwise.- Specified by:
isActivein interfaceI_CmsContextMenuEntry- Returns:
trueif this menu entry is activefalseotherwise- See Also:
-
isSeparator
Description copied from interface:I_CmsContextMenuEntryReturnstrueif this menu entry is a separatorfalseotherwise.- Specified by:
isSeparatorin interfaceI_CmsContextMenuEntry- Returns:
trueif this menu entry is a separatorfalseotherwise- See Also:
-
isVisible
Description copied from interface:I_CmsContextMenuEntryReturnstrueif this menu entry is visiblefalseotherwise.- Specified by:
isVisiblein interfaceI_CmsContextMenuEntry- Returns:
trueif this menu entry is visiblefalseotherwise- See Also:
-