public class TopologyUI extends com.vaadin.ui.UI implements MenuUpdateListener, ContextMenuHandler, WidgetUpdateListener, WidgetContext, com.vaadin.server.Page.UriFragmentChangedListener, GraphContainer.ChangeListener, MapViewManagerListener, TopologyComponent.VertexUpdateListener, SelectionListener, VerticesUpdateManager.VerticesUpdateListener
Modifier and Type | Class and Description |
---|---|
class |
TopologyUI.InfoPanelItemManager
Helper class to load components to show in the info panel.
|
class |
TopologyUI.TopologyUIRequestHandler
Class to handle Request Parameters, such as SZL, Vertices in Focus, Layout Selection, Graph Provider
Selection, Status Provider selection, etc...
|
com.vaadin.ui.UI.WindowOrderUpdateEvent, com.vaadin.ui.UI.WindowOrderUpdateListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
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
com.vaadin.server.Sizeable.Unit
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
Constructor and Description |
---|
TopologyUI(OperationManager operationManager,
HistoryManager historyManager,
GraphContainer graphContainer,
IconRepositoryManager iconRepoManager,
LayoutManager layoutManager,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
Modifier and Type | Method and Description |
---|---|
void |
boundingBoxChanged(MapViewManager viewManager) |
void |
detach() |
VaadinApplicationContext |
getApplicationContext() |
GraphContainer |
getGraphContainer() |
WidgetManager |
getWidgetManager() |
void |
graphChanged(GraphContainer graphContainer) |
protected void |
init(com.vaadin.server.VaadinRequest request) |
void |
onVertexUpdate() |
void |
selectionChanged(SelectionContext selectionContext) |
void |
setServiceManager(org.osgi.framework.BundleContext bundleContext) |
void |
setShowHeader(String boolVal)
Parameter is a String because config has String values
|
void |
setWidgetManager(WidgetManager widgetManager) |
void |
showContextMenu(Object target,
int left,
int top)
Show the Context Menu for this target at specified left and top location
|
void |
updateMenu() |
void |
uriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event) |
void |
verticesUpdated(VerticesUpdateManager.VerticesUpdateEvent event) |
void |
widgetListUpdated(WidgetManager widgetManager) |
access, accessSynchronously, addAction, addActionHandler, addClickListener, addPollListener, addWindow, addWindowOrderUpdateListener, attach, changeVariables, close, doInit, doRefresh, focus, getActionManager, getActiveDragSource, getComponentCount, getConnectorTracker, getCurrent, getEmbedId, getLastHeartbeatTimestamp, getLastProcessedClientToServerId, getLoadingIndicatorConfiguration, getLocaleService, getNavigator, getNotificationConfiguration, getOverlayContainerLabel, getPage, getPollInterval, getPushConfiguration, getPushConnection, getReconnectDialogConfiguration, getScrollLeft, getScrollTop, getSession, getState, getState, getStateType, getTabIndex, getTheme, getTooltipConfiguration, getUI, getUIId, getUiPathInfo, getUiRootPath, getWindows, isClosing, isConnectorEnabled, isMobileHtml5DndEnabled, isResizeLazy, iterator, paintContent, push, refresh, removeAction, removeActionHandler, removeClickListener, removePollListener, removeWindow, scrollIntoView, setActiveDragSource, setCaption, setContent, setCurrent, setFocusedComponent, setLastHeartbeatTimestamp, setLastProcessedClientToServerId, setMobileHtml5DndEnabled, setNavigator, setOverlayContainerLabel, setPollInterval, setPushConnection, setResizeLazy, setScrollLeft, setScrollTop, setSession, setTabIndex, setTheme, showNotification, showNotification, showNotification, showNotification, showNotification, showNotification
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getContent, readDesign, readDesignChildren, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setHeight, setWidth, writeDesign
addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, handleConnectorRequest, hashCode, hasListeners, isAttached, 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
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, encodeState, getErrorHandler, getExtensions, getRpcManager, handleConnectorRequest, isAttached, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
forEach, spliterator
public TopologyUI(OperationManager operationManager, HistoryManager historyManager, GraphContainer graphContainer, IconRepositoryManager iconRepoManager, LayoutManager layoutManager, org.springframework.transaction.support.TransactionOperations transactionOperations)
protected void init(com.vaadin.server.VaadinRequest request)
init
in class com.vaadin.ui.UI
public void updateMenu()
updateMenu
in interface MenuUpdateListener
public void showContextMenu(Object target, int left, int top)
ContextMenuHandler
showContextMenu
in interface ContextMenuHandler
public WidgetManager getWidgetManager()
public void setWidgetManager(WidgetManager widgetManager)
public void widgetListUpdated(WidgetManager widgetManager)
widgetListUpdated
in interface WidgetUpdateListener
public GraphContainer getGraphContainer()
getGraphContainer
in interface WidgetContext
public void uriFragmentChanged(com.vaadin.server.Page.UriFragmentChangedEvent event)
uriFragmentChanged
in interface com.vaadin.server.Page.UriFragmentChangedListener
public void graphChanged(GraphContainer graphContainer)
graphChanged
in interface GraphContainer.ChangeListener
public void boundingBoxChanged(MapViewManager viewManager)
boundingBoxChanged
in interface MapViewManagerListener
public void onVertexUpdate()
onVertexUpdate
in interface TopologyComponent.VertexUpdateListener
public void setShowHeader(String boolVal)
boolVal
- public void selectionChanged(SelectionContext selectionContext)
selectionChanged
in interface SelectionListener
public void detach()
detach
in interface com.vaadin.server.ClientConnector
detach
in class com.vaadin.ui.UI
public void setServiceManager(org.osgi.framework.BundleContext bundleContext)
public VaadinApplicationContext getApplicationContext()
public void verticesUpdated(VerticesUpdateManager.VerticesUpdateEvent event)
verticesUpdated
in interface VerticesUpdateManager.VerticesUpdateListener
Copyright © 2021. All rights reserved.