Interface I_CmsContextMenuCommand

    • 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 resource
        handler - the context menu handler
        bean - 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 resource
        handler - the context menu handler
        bean - 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