Class GivenContextMenu
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.editor.menu.BaseMenu
-
- org.drools.workbench.screens.scenariosimulation.client.editor.menu.AbstractHeaderMenuPresenter
-
- org.drools.workbench.screens.scenariosimulation.client.editor.menu.AbstractColumnMenuPresenter
-
- org.drools.workbench.screens.scenariosimulation.client.editor.menu.GivenContextMenu
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,BaseMenuView.BaseMenuPresenter,HeaderMenuPresenter
@Dependent public class GivenContextMenu extends AbstractColumnMenuPresenter
The contextual menu of a specific GIVEN column It differ fromHeaderGivenContextMenubecause it manage column (insert/remove) in different way
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringGIVENCONTEXTMENU_DELETE_COLUMNprotected static StringGIVENCONTEXTMENU_DELETE_INSTANCEprotected static StringGIVENCONTEXTMENU_DUPLICATE_INSTANCEprotected static StringGIVENCONTEXTMENU_GIVENprotected static StringGIVENCONTEXTMENU_INSERT_COLUMN_LEFTprotected static StringGIVENCONTEXTMENU_INSERT_COLUMN_RIGHT-
Fields inherited from class org.drools.workbench.screens.scenariosimulation.client.editor.menu.AbstractColumnMenuPresenter
columnContextLIElement, COLUMNCONTEXTMENU_COLUMN, COLUMNCONTEXTMENU_DELETE_COLUMN, COLUMNCONTEXTMENU_DELETE_INSTANCE, COLUMNCONTEXTMENU_DUPLICATE_INSTANCE, COLUMNCONTEXTMENU_I18N, COLUMNCONTEXTMENU_INSERT_COLUMN_LEFT, COLUMNCONTEXTMENU_INSERT_COLUMN_RIGHT, COLUMNCONTEXTMENU_LABEL, deleteColumnInstanceLIElement, duplicateInstanceLIElement, insertColumnLeftLIElement, insertColumnRightLIElement
-
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
-
-
Constructor Summary
Constructors Constructor Description GivenContextMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitMenu()This method set column-specific menu items and common SCENARIO menu items-
Methods inherited from class org.drools.workbench.screens.scenariosimulation.client.editor.menu.AbstractColumnMenuPresenter
show
-
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
GIVENCONTEXTMENU_GIVEN
protected static final String GIVENCONTEXTMENU_GIVEN
- See Also:
- Constant Field Values
-
GIVENCONTEXTMENU_INSERT_COLUMN_LEFT
protected static final String GIVENCONTEXTMENU_INSERT_COLUMN_LEFT
- See Also:
- Constant Field Values
-
GIVENCONTEXTMENU_INSERT_COLUMN_RIGHT
protected static final String GIVENCONTEXTMENU_INSERT_COLUMN_RIGHT
- See Also:
- Constant Field Values
-
GIVENCONTEXTMENU_DELETE_COLUMN
protected static final String GIVENCONTEXTMENU_DELETE_COLUMN
- See Also:
- Constant Field Values
-
GIVENCONTEXTMENU_DELETE_INSTANCE
protected static final String GIVENCONTEXTMENU_DELETE_INSTANCE
- See Also:
- Constant Field Values
-
GIVENCONTEXTMENU_DUPLICATE_INSTANCE
protected static final String GIVENCONTEXTMENU_DUPLICATE_INSTANCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
initMenu
@PostConstruct public void initMenu()
Description copied from class:AbstractColumnMenuPresenterThis method set column-specific menu items and common SCENARIO menu items- Specified by:
initMenuin interfaceHeaderMenuPresenter- Overrides:
initMenuin classAbstractColumnMenuPresenter
-
-