Interface I_CmsContextMenuEntry
- All Known Implementing Classes:
A_CmsSitemapMenuEntry
,A_CmsSitemapModeEntry
,CmsAddToNavMenuEntry
,CmsAdvancedSubmenu
,CmsAvailabilityMenuEntry
,CmsBumpDetailPageMenuEntry
,CmsChangeCategoryMenuEntry
,CmsContextMenuEntry
,CmsCopyAsModelGroupPageMenuEntry
,CmsCopyModelPageMenuEntry
,CmsCopyPageMenuEntry
,CmsCreateCategoryMenuEntry
,CmsCreateGalleryMenuEntry
,CmsDeleteCategoryMenuEntry
,CmsDeleteMenuEntry
,CmsDeleteModelPageMenuEntry
,CmsDisableMenuEntry
,CmsEditMenuEntry
,CmsEditModelPageMenuEntry
,CmsEditRedirectMenuEntry
,CmsGotoExplorerMenuEntry
,CmsGotoMenuEntry
,CmsGotoSubSitemapMenuEntry
,CmsHideMenuEntry
,CmsLockReportMenuEntry
,CmsMergeMenuEntry
,CmsModelPageLockReportMenuEntry
,CmsNewChoiceMenuEntry
,CmsOpenGalleryMenuEntry
,CmsParentSitemapMenuEntry
,CmsRefreshMenuEntry
,CmsRemoveMenuEntry
,CmsResourceInfoMenuEntry
,CmsSeoMenuEntry
,CmsSetDefaultModelMenuEntry
,CmsShowMenuEntry
,CmsSubSitemapMenuEntry
public interface I_CmsContextMenuEntry
Interface for a context menu entry.
- Since:
- version 8.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes the context menu action.Generates 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_CmsContextMenuEntry
objects.boolean
Returnstrue
if this menu entry has a sub menufalse
otherwise.boolean
isActive()
Returnstrue
if this menu entry is activefalse
otherwise.boolean
Returnstrue
if this menu entry is a separatorfalse
otherwise.boolean
Returnstrue
if this menu entry is visiblefalse
otherwise.
-
Method Details
-
execute
void execute()Executes the context menu action. -
generateMenuItem
Generates the context menu item.- Returns:
- the context menu item
-
getIconClass
Returns a CSS class which should be used to display an icon, or null if no icon is required.- Returns:
- the CSS class for the icon
-
getJspPath
Returns the JSP path for the command generation.- Returns:
- the JSP path
-
getLabel
Returns the label (text) for the menu entry.- Returns:
- the label
-
getName
Returns the name of the entry.- Returns:
- the name of the entry
-
getReason
Returns the reason if the entry is de-activated .- Returns:
- the reason
-
getSubMenu
Returns a list ofI_CmsContextMenuEntry
objects.- Returns:
- the sub menu entries
-
hasSubMenu
boolean hasSubMenu()Returnstrue
if this menu entry has a sub menufalse
otherwise.- Returns:
true
if this menu entry has a sub menufalse
otherwise
-
isActive
boolean isActive()Returnstrue
if this menu entry is activefalse
otherwise.- Returns:
true
if this menu entry is activefalse
otherwise
-
isSeparator
boolean isSeparator()Returnstrue
if this menu entry is a separatorfalse
otherwise.- Returns:
true
if this menu entry is a separatorfalse
otherwise
-
isVisible
boolean isVisible()Returnstrue
if this menu entry is visiblefalse
otherwise.- Returns:
true
if this menu entry is visiblefalse
otherwise
-