public abstract class AbstractHeaderMenuPresenter extends BaseMenu implements HeaderMenuPresenter
Modifier and Type | Field and Description |
---|---|
protected ScenarioSimulationEditorConstants |
constants |
protected com.google.gwt.dom.client.LIElement |
gridTitleElement |
protected String |
HEADERCONTEXTMENU_GRID_TITLE |
protected String |
HEADERCONTEXTMENU_PREPEND_ROW |
protected com.google.gwt.dom.client.LIElement |
insertRowBelowElement
The Insert row below menu element in the header contextual menu
|
protected ScenarioGridModel |
model |
executableMenuItemPresenter, menuItemPresenter, view
Constructor and Description |
---|
AbstractHeaderMenuPresenter() |
Modifier and Type | Method and Description |
---|---|
void |
initMenu()
This method set common SCENARIO menu items
|
void |
setEventBus(com.google.gwt.event.shared.EventBus eventBus) |
void |
show(GridWidget gridWidget,
int mx,
int my) |
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 ScenarioSimulationEditorConstants constants
protected ScenarioGridModel model
protected String HEADERCONTEXTMENU_GRID_TITLE
protected String HEADERCONTEXTMENU_PREPEND_ROW
protected com.google.gwt.dom.client.LIElement insertRowBelowElement
protected com.google.gwt.dom.client.LIElement gridTitleElement
public void setEventBus(com.google.gwt.event.shared.EventBus eventBus)
public void initMenu()
initMenu
in interface HeaderMenuPresenter
public void show(GridWidget gridWidget, int mx, int my)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.