@Dependent public class GridContextMenu extends AbstractHeaderMenuPresenter
AbstractColumnMenuPresenter
and specific ones (?)Modifier and Type | Field and Description |
---|---|
protected com.google.gwt.dom.client.LIElement |
deleteRowLIElement |
protected com.google.gwt.dom.client.LIElement |
duplicateRowLIElement |
protected static String |
GRIDCONTEXTMENU_DELETE_ROW |
protected static String |
GRIDCONTEXTMENU_DUPLICATE_ROW |
protected static String |
GRIDCONTEXTMENU_GRID_TITLE |
protected static String |
GRIDCONTEXTMENU_INSERT_ROW_ABOVE |
protected static String |
GRIDCONTEXTMENU_INSERT_ROW_BELOW |
protected static String |
GRIDCONTEXTMENU_RUN_SINGLE_SCENARIO |
protected com.google.gwt.dom.client.LIElement |
insertRowAboveLIElement |
protected com.google.gwt.dom.client.LIElement |
insertRowBelowLIElement |
protected com.google.gwt.dom.client.LIElement |
runSingleScenarioElement |
constants, gridTitleElement, HEADERCONTEXTMENU_GRID_TITLE, HEADERCONTEXTMENU_PREPEND_ROW, insertRowBelowElement, model
executableMenuItemPresenter, menuItemPresenter, view
Constructor and Description |
---|
GridContextMenu() |
Modifier and Type | Method and Description |
---|---|
void |
initMenu()
This method set common SCENARIO menu items
|
void |
show(GridWidget gridWidget,
int mx,
int my,
int rowIndex) |
setEventBus, show
addExecutableMenuItem, addExecutableMenuItem, addExecutableMenuItemAfter, addMenuItem, asWidget, enableElement, getRootPanel, getView, hide, initialise, isDisabled, isShown, mapEvent, onContextMenuEvent, removeMenuItem, show, updateExecutableMenuItemAttributes, updateMenuItemAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExecutableMenuItem, addExecutableMenuItem, addExecutableMenuItemAfter, addMenuItem, enableElement, getView, hide, initialise, isDisabled, isShown, mapEvent, onContextMenuEvent, removeMenuItem, show
protected static final String GRIDCONTEXTMENU_GRID_TITLE
protected static final String GRIDCONTEXTMENU_INSERT_ROW_ABOVE
protected static final String GRIDCONTEXTMENU_INSERT_ROW_BELOW
protected static final String GRIDCONTEXTMENU_DELETE_ROW
protected static final String GRIDCONTEXTMENU_DUPLICATE_ROW
protected static final String GRIDCONTEXTMENU_RUN_SINGLE_SCENARIO
protected com.google.gwt.dom.client.LIElement insertRowAboveLIElement
protected com.google.gwt.dom.client.LIElement insertRowBelowLIElement
protected com.google.gwt.dom.client.LIElement duplicateRowLIElement
protected com.google.gwt.dom.client.LIElement deleteRowLIElement
protected com.google.gwt.dom.client.LIElement runSingleScenarioElement
@PostConstruct public void initMenu()
AbstractHeaderMenuPresenter
initMenu
in interface HeaderMenuPresenter
initMenu
in class AbstractHeaderMenuPresenter
public void show(GridWidget gridWidget, int mx, int my, int rowIndex)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.