Class CmsPreview
java.lang.Object
org.opencms.gwt.client.ui.contextmenu.CmsPreview
- All Implemented Interfaces:
I_CmsContextMenuCommand
,I_CmsHasContextMenuCommand
public class CmsPreview
extends Object
implements I_CmsHasContextMenuCommand, I_CmsContextMenuCommand
Context menu entry for displaying resource preview.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler handler, org.opencms.gwt.shared.CmsContextMenuEntryBean bean) Executed on context menu item click.static I_CmsContextMenuCommand
Gets the context menu command instance.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
Returns if this command provides it's own menu item widget.
-
Constructor Details
-
CmsPreview
public CmsPreview()
-
-
Method Details
-
getContextMenuCommand
Gets the context menu command instance.- Returns:
- the context menu command instance
-
hasItemWidget
Description copied from interface:I_CmsContextMenuCommand
Returns if this command provides it's own menu item widget.- Specified by:
hasItemWidget
in interfaceI_CmsContextMenuCommand
- Returns:
true
if this command provides it's own menu item widget- See Also:
-