code: public static I_CmsContextMenuCommand getContextMenuCommand() {
  
          return new I_CmsContextMenuCommand() {
  
              public void execute(CmsUUID structureId, I_CmsContextMenuHandler handler, CmsContextMenuEntryBean bean) {
  
                  // nothing to do, will be handled by the widget
              }
  
              public A_CmsContextMenuItem getItemWidget(
                  CmsUUID structureId,
                  I_CmsContextMenuHandler handler,
                  CmsContextMenuEntryBean bean) {
  
                  return new CmsReplace(structureId, handler, bean);
              }
  
              public boolean hasItemWidget() {
  
                  return true;
              }
          };
      }
docs: Returns the context menu command according to
  {@link org.opencms.gwt.client.ui.contextmenu.I_CmsHasContextMenuCommand}.<p>
  
  @return the context menu command