@Dependent public class HeaderGivenContextMenu extends AbstractHeaderGroupMenuPresenter
GivenContextMenu
because it manage column (insert/remove) in different wayModifier and Type | Field and Description |
---|---|
protected static String |
HEADERGIVENCONTEXTMENU_DELETE_COLUMN |
protected static String |
HEADERGIVENCONTEXTMENU_GIVEN |
protected static String |
HEADERGIVENCONTEXTMENU_GRID_TITLE |
protected static String |
HEADERGIVENCONTEXTMENU_INSERT_COLUMN_LEFT |
protected static String |
HEADERGIVENCONTEXTMENU_INSERT_COLUMN_RIGHT |
protected static String |
HEADERGIVENCONTEXTMENU_INSERT_ROW_ABOVE |
appendColumnElement, HEADERCONTEXTMENU_DELETE_COLUMN, HEADERCONTEXTMENU_GROUP, HEADERCONTEXTMENU_I18N, HEADERCONTEXTMENU_INSERT_COLUMN_LEFT, HEADERCONTEXTMENU_INSERT_COLUMN_RIGHT, HEADERCONTEXTMENU_LABEL, prependColumnElement
constants, gridTitleElement, HEADERCONTEXTMENU_GRID_TITLE, HEADERCONTEXTMENU_PREPEND_ROW, insertRowBelowElement, model
executableMenuItemPresenter, menuItemPresenter, view
Constructor and Description |
---|
HeaderGivenContextMenu() |
Modifier and Type | Method and Description |
---|---|
void |
initMenu()
This method set group-specific menu items and common SCENARIO menu items
|
void |
show(GridWidget gridWidget,
int mx,
int my) |
setEventBus
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 HEADERGIVENCONTEXTMENU_GIVEN
protected static final String HEADERGIVENCONTEXTMENU_GRID_TITLE
protected static final String HEADERGIVENCONTEXTMENU_INSERT_COLUMN_LEFT
protected static final String HEADERGIVENCONTEXTMENU_INSERT_COLUMN_RIGHT
protected static final String HEADERGIVENCONTEXTMENU_DELETE_COLUMN
protected static final String HEADERGIVENCONTEXTMENU_INSERT_ROW_ABOVE
@PostConstruct public void initMenu()
AbstractHeaderGroupMenuPresenter
initMenu
in interface HeaderMenuPresenter
initMenu
in class AbstractHeaderGroupMenuPresenter
public void show(GridWidget gridWidget, int mx, int my)
show
in class AbstractHeaderMenuPresenter
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.