Class TopologyContextMenu
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.server.AbstractExtension
-
- com.vaadin.contextmenu.ContextMenu
-
- org.opennms.features.topology.app.internal.menu.TopologyContextMenu
-
- All Implemented Interfaces:
com.vaadin.event.MethodEventSource
,com.vaadin.server.ClientConnector
,com.vaadin.server.Extension
,com.vaadin.shared.Connector
,java.io.Serializable
public class TopologyContextMenu extends com.vaadin.contextmenu.ContextMenu
Context-Menu implementation for the TopologyUI.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.contextmenu.ContextMenu
com.vaadin.contextmenu.ContextMenu.ContextMenuOpenListener
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
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 Summary
Constructors Constructor Description TopologyContextMenu(com.vaadin.ui.UI parentComponent)
TopologyContextMenu(com.vaadin.ui.UI parentComponent, com.vaadin.ui.MenuBar menuBar)
This constructor is used to convert theMenuBar
to aContextMenu
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMenuItemUpdateListener(MenuUpdateListener newListener)
static java.util.List<VertexRef>
asVertexList(java.lang.Object target)
protected void
notifyMenuUpdateListener()
void
updateMenu(GraphContainer graphContainer, com.vaadin.ui.UI mainWindow, OperationManager operationManager, java.util.List<VertexRef> targets)
-
Methods inherited from class com.vaadin.contextmenu.ContextMenu
addContextMenuOpenListener, addItem, addItem, addItem, addItemBefore, addSeparator, addSeparatorBefore, beforeClientResponse, getContextClickListener, getItems, getSize, getState, getState, isHtmlContentAllowed, open, removeItem, removeItems, setAsContextMenuOf, setHtmlContentAllowed
-
Methods inherited from class com.vaadin.server.AbstractExtension
extend, getParent, getSupportedParentType, remove, setParent
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
-
-
-
Constructor Detail
-
TopologyContextMenu
public TopologyContextMenu(com.vaadin.ui.UI parentComponent, com.vaadin.ui.MenuBar menuBar)
This constructor is used to convert theMenuBar
to aContextMenu
- Parameters:
menuBar
- theMenuBar
to convert
-
TopologyContextMenu
public TopologyContextMenu(com.vaadin.ui.UI parentComponent)
-
-
Method Detail
-
updateMenu
public void updateMenu(GraphContainer graphContainer, com.vaadin.ui.UI mainWindow, OperationManager operationManager, java.util.List<VertexRef> targets)
-
asVertexList
public static java.util.List<VertexRef> asVertexList(java.lang.Object target)
-
notifyMenuUpdateListener
protected void notifyMenuUpdateListener()
-
addMenuItemUpdateListener
public void addMenuItemUpdateListener(MenuUpdateListener newListener)
-
-