public abstract class AbstractColumnMenuPresenter extends AbstractHeaderMenuPresenter
ExpectedContextMenu
and GivenContextMenu
,
both instance and property header.
It is provided to avoid code duplication in concrete implementationsModifier and Type | Field and Description |
---|---|
protected com.google.gwt.dom.client.LIElement |
columnContextLIElement |
protected String |
COLUMNCONTEXTMENU_COLUMN |
protected String |
COLUMNCONTEXTMENU_DELETE_COLUMN |
protected String |
COLUMNCONTEXTMENU_DELETE_INSTANCE |
protected String |
COLUMNCONTEXTMENU_DUPLICATE_INSTANCE |
protected String |
COLUMNCONTEXTMENU_I18N |
protected String |
COLUMNCONTEXTMENU_INSERT_COLUMN_LEFT |
protected String |
COLUMNCONTEXTMENU_INSERT_COLUMN_RIGHT |
protected String |
COLUMNCONTEXTMENU_LABEL |
protected com.google.gwt.dom.client.LIElement |
deleteColumnInstanceLIElement |
protected com.google.gwt.dom.client.LIElement |
duplicateInstanceLIElement |
protected com.google.gwt.dom.client.LIElement |
insertColumnLeftLIElement |
protected com.google.gwt.dom.client.LIElement |
insertColumnRightLIElement |
constants, gridTitleElement, HEADERCONTEXTMENU_GRID_TITLE, HEADERCONTEXTMENU_PREPEND_ROW, insertRowBelowElement, model
executableMenuItemPresenter, menuItemPresenter, view
Constructor and Description |
---|
AbstractColumnMenuPresenter() |
Modifier and Type | Method and Description |
---|---|
void |
initMenu()
This method set column-specific menu items and common SCENARIO menu items
|
void |
show(GridWidget gridWidget,
int mx,
int my,
int columnIndex,
String group,
boolean asProperty,
boolean showDuplicateInstance) |
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 String COLUMNCONTEXTMENU_COLUMN
protected String COLUMNCONTEXTMENU_INSERT_COLUMN_LEFT
protected String COLUMNCONTEXTMENU_INSERT_COLUMN_RIGHT
protected String COLUMNCONTEXTMENU_DELETE_COLUMN
protected String COLUMNCONTEXTMENU_DELETE_INSTANCE
protected String COLUMNCONTEXTMENU_DUPLICATE_INSTANCE
protected String COLUMNCONTEXTMENU_LABEL
protected String COLUMNCONTEXTMENU_I18N
protected com.google.gwt.dom.client.LIElement insertColumnLeftLIElement
protected com.google.gwt.dom.client.LIElement insertColumnRightLIElement
protected com.google.gwt.dom.client.LIElement deleteColumnInstanceLIElement
protected com.google.gwt.dom.client.LIElement duplicateInstanceLIElement
protected com.google.gwt.dom.client.LIElement columnContextLIElement
public void initMenu()
initMenu
in interface HeaderMenuPresenter
initMenu
in class AbstractHeaderMenuPresenter
public void show(GridWidget gridWidget, int mx, int my, int columnIndex, String group, boolean asProperty, boolean showDuplicateInstance)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.