public class TopologyContextMenu
extends com.vaadin.contextmenu.ContextMenu
com.vaadin.contextmenu.ContextMenu.ContextMenuOpenListener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
TopologyContextMenu(com.vaadin.ui.UI parentComponent) |
TopologyContextMenu(com.vaadin.ui.UI parentComponent,
com.vaadin.ui.MenuBar menuBar)
This constructor is used to convert the
MenuBar to a ContextMenu |
Modifier and Type | Method and Description |
---|---|
void |
addMenuItemUpdateListener(MenuUpdateListener newListener) |
static List<VertexRef> |
asVertexList(Object target) |
protected void |
notifyMenuUpdateListener() |
void |
updateMenu(GraphContainer graphContainer,
com.vaadin.ui.UI mainWindow,
OperationManager operationManager,
List<VertexRef> targets) |
addContextMenuOpenListener, addItem, addItem, addItem, addItemBefore, addSeparator, addSeparatorBefore, beforeClientResponse, getContextClickListener, getItems, getSize, getState, getState, isHtmlContentAllowed, open, removeItem, removeItems, setAsContextMenuOf, setHtmlContentAllowed
extend, getParent, getSupportedParentType, remove, setParent
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public TopologyContextMenu(com.vaadin.ui.UI parentComponent, com.vaadin.ui.MenuBar menuBar)
MenuBar
to a ContextMenu
menuBar
- the MenuBar
to convertpublic TopologyContextMenu(com.vaadin.ui.UI parentComponent)
public void updateMenu(GraphContainer graphContainer, com.vaadin.ui.UI mainWindow, OperationManager operationManager, List<VertexRef> targets)
protected void notifyMenuUpdateListener()
public void addMenuItemUpdateListener(MenuUpdateListener newListener)
Copyright © 2021. All rights reserved.