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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(org.opencms.util.CmsUUID structureId, I_CmsContextMenuHandler handler, org.opencms.gwt.shared.CmsContextMenuEntryBean bean) Executed on context menu item click.static I_CmsContextMenuCommandGets 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.booleanReturns 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_CmsContextMenuCommandReturns if this command provides it's own menu item widget.- Specified by:
hasItemWidgetin interfaceI_CmsContextMenuCommand- Returns:
trueif this command provides it's own menu item widget- See Also:
-