Interface I_CmsContextMenuCommand
-
- All Known Subinterfaces:
I_CmsValidatingContextMenuCommand
- All Known Implementing Classes:
CmsAbout
,CmsAliasDialog
,CmsCategories
,CmsContextMenuDialog
,CmsDeleteResource
,CmsEditExternalLink
,CmsEditFile
,CmsEditUserSettings
,CmsEmbeddedAction
,CmsGoToParentAction
,CmsHistory
,CmsLockReport
,CmsOpenSeoDialog
,CmsPreview
,CmsRefreshAction
,CmsRename
,CmsResourceInfo
,CmsRestore
,CmsShowPage
,CmsSitemapAttributeEditor
,CmsUndelete
public interface I_CmsContextMenuCommand
Interface for context menu commands.- Since:
- version 8.0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler handler, org.opencms.gwt.shared.CmsContextMenuEntryBean bean)
Executed on context menu item click.A_CmsContextMenuItem
getItemWidget(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler handler, org.opencms.gwt.shared.CmsContextMenuEntryBean bean)
Returns the special menu item widget for this command.boolean
hasItemWidget()
Returns if this command provides it's own menu item widget.
-
-
-
Method Detail
-
execute
void execute(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler handler, org.opencms.gwt.shared.CmsContextMenuEntryBean bean)
Executed on context menu item click.- Parameters:
structureId
- the structure id of the resourcehandler
- the context menu handlerbean
- the context menu entry bean
-
getItemWidget
A_CmsContextMenuItem getItemWidget(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler handler, org.opencms.gwt.shared.CmsContextMenuEntryBean bean)
Returns the special menu item widget for this command.- Parameters:
structureId
- the structure id of the resourcehandler
- the context menu handlerbean
- the context menu entry bean- Returns:
- the special menu item widget for this command
-
hasItemWidget
boolean hasItemWidget()
Returns if this command provides it's own menu item widget.- Returns:
true
if this command provides it's own menu item widget
-
-