public final class CmsDeleteResource extends java.lang.Object implements I_CmsHasContextMenuCommand, I_CmsContextMenuCommand
限定符和类型 | 方法和说明 |
---|---|
void |
execute(CmsUUID structureId,
I_CmsContextMenuHandler handler,
CmsContextMenuEntryBean bean)
Executed on context menu item click.
|
static I_CmsContextMenuCommand |
getContextMenuCommand()
Returns the context menu command according to
I_CmsHasContextMenuCommand . |
A_CmsContextMenuItem |
getItemWidget(CmsUUID structureId,
I_CmsContextMenuHandler handler,
CmsContextMenuEntryBean bean)
Returns the special menu item widget for this command.
|
boolean |
hasItemWidget()
Returns if this command provides it's own menu item widget.
|
public static I_CmsContextMenuCommand getContextMenuCommand()
I_CmsHasContextMenuCommand
.public void execute(CmsUUID structureId, I_CmsContextMenuHandler handler, CmsContextMenuEntryBean bean)
I_CmsContextMenuCommand
execute
在接口中 I_CmsContextMenuCommand
structureId
- the structure id of the resourcehandler
- the context menu handlerbean
- the context menu entry beanI_CmsContextMenuCommand.execute(org.opencms.util.CmsUUID, org.opencms.gwt.client.ui.contextmenu.I_CmsContextMenuHandler, org.opencms.gwt.shared.CmsContextMenuEntryBean)
public A_CmsContextMenuItem getItemWidget(CmsUUID structureId, I_CmsContextMenuHandler handler, CmsContextMenuEntryBean bean)
I_CmsContextMenuCommand
getItemWidget
在接口中 I_CmsContextMenuCommand
structureId
- the structure id of the resourcehandler
- the context menu handlerbean
- the context menu entry beanI_CmsContextMenuCommand.getItemWidget(org.opencms.util.CmsUUID, org.opencms.gwt.client.ui.contextmenu.I_CmsContextMenuHandler, org.opencms.gwt.shared.CmsContextMenuEntryBean)
public boolean hasItemWidget()
I_CmsContextMenuCommand
hasItemWidget
在接口中 I_CmsContextMenuCommand
true
if this command provides it's own menu item widgetI_CmsContextMenuCommand.hasItemWidget()