Class BusinessCentralGridContextMenu

  • All Implemented Interfaces:
    com.google.gwt.user.client.ui.IsWidget, org.drools.workbench.screens.scenariosimulation.client.editor.menu.BaseMenuView.BaseMenuPresenter, org.drools.workbench.screens.scenariosimulation.client.editor.menu.HeaderMenuPresenter

    @Dependent
    public class BusinessCentralGridContextMenu
    extends org.drools.workbench.screens.scenariosimulation.client.editor.menu.GridContextMenu
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static String GRIDCONTEXTMENU_RUN_SINGLE_SCENARIO  
      protected com.google.gwt.dom.client.LIElement runSingleScenarioElement  
      • Fields inherited from class org.drools.workbench.screens.scenariosimulation.client.editor.menu.GridContextMenu

        deleteRowLIElement, duplicateRowLIElement, GRIDCONTEXTMENU_DELETE_ROW, GRIDCONTEXTMENU_DUPLICATE_ROW, GRIDCONTEXTMENU_GRID_TITLE, GRIDCONTEXTMENU_INSERT_ROW_ABOVE, GRIDCONTEXTMENU_INSERT_ROW_BELOW, insertRowAboveLIElement, insertRowBelowLIElement
      • Fields inherited from class org.drools.workbench.screens.scenariosimulation.client.editor.menu.AbstractHeaderMenuPresenter

        constants, gridTitleElement, HEADERCONTEXTMENU_GRID_TITLE, HEADERCONTEXTMENU_PREPEND_ROW, insertRowBelowElement, model
      • Fields inherited from class org.drools.workbench.screens.scenariosimulation.client.editor.menu.BaseMenu

        executableMenuItemPresenter, menuItemPresenter, view
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initMenu()  
      void show​(org.drools.workbench.screens.scenariosimulation.client.enums.GridWidget gridWidget, int mx, int my, int rowIndex)  
      • Methods inherited from class org.drools.workbench.screens.scenariosimulation.client.editor.menu.AbstractHeaderMenuPresenter

        setEventBus, show
      • Methods inherited from class org.drools.workbench.screens.scenariosimulation.client.editor.menu.BaseMenu

        addExecutableMenuItem, addExecutableMenuItem, addExecutableMenuItemAfter, addMenuItem, asWidget, enableElement, getRootPanel, getView, hide, initialise, isDisabled, isShown, mapEvent, onContextMenuEvent, removeMenuItem, show, updateExecutableMenuItemAttributes, updateMenuItemAttributes
      • Methods inherited from interface org.drools.workbench.screens.scenariosimulation.client.editor.menu.BaseMenuView.BaseMenuPresenter

        addExecutableMenuItem, addExecutableMenuItem, addExecutableMenuItemAfter, addMenuItem, enableElement, getView, hide, initialise, isDisabled, isShown, mapEvent, onContextMenuEvent, removeMenuItem, show
    • Field Detail

      • GRIDCONTEXTMENU_RUN_SINGLE_SCENARIO

        protected static final String GRIDCONTEXTMENU_RUN_SINGLE_SCENARIO
        See Also:
        Constant Field Values
      • runSingleScenarioElement

        protected com.google.gwt.dom.client.LIElement runSingleScenarioElement
    • Constructor Detail

      • BusinessCentralGridContextMenu

        public BusinessCentralGridContextMenu()
    • Method Detail

      • initMenu

        @PostConstruct
        public void initMenu()
        Specified by:
        initMenu in interface org.drools.workbench.screens.scenariosimulation.client.editor.menu.HeaderMenuPresenter
        Overrides:
        initMenu in class org.drools.workbench.screens.scenariosimulation.client.editor.menu.GridContextMenu
      • show

        public void show​(org.drools.workbench.screens.scenariosimulation.client.enums.GridWidget gridWidget,
                         int mx,
                         int my,
                         int rowIndex)
        Overrides:
        show in class org.drools.workbench.screens.scenariosimulation.client.editor.menu.GridContextMenu