Class DefaultOperationContext
- java.lang.Object
-
- org.opennms.features.topology.app.internal.DefaultOperationContext
-
- All Implemented Interfaces:
OperationContext
public class DefaultOperationContext extends Object implements OperationContext
Default implementation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.features.topology.api.OperationContext
OperationContext.DisplayLocation
-
-
Constructor Summary
Constructors Constructor Description DefaultOperationContext(com.vaadin.ui.UI mainWindow, GraphContainer graphContainer, OperationContext.DisplayLocation displayLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationContext.DisplayLocation
getDisplayLocation()
Returns theOperationContext.DisplayLocation
the operation was triggered fromGraphContainer
getGraphContainer()
Returns the currentGraphContainer
com.vaadin.ui.UI
getMainWindow()
Returns the current UI, the operation was triggered from
-
-
-
Constructor Detail
-
DefaultOperationContext
public DefaultOperationContext(com.vaadin.ui.UI mainWindow, GraphContainer graphContainer, OperationContext.DisplayLocation displayLocation)
-
-
Method Detail
-
getMainWindow
public com.vaadin.ui.UI getMainWindow()
Description copied from interface:OperationContext
Returns the current UI, the operation was triggered from- Specified by:
getMainWindow
in interfaceOperationContext
- Returns:
- the current UI, the operation was triggered from
-
getGraphContainer
public GraphContainer getGraphContainer()
Description copied from interface:OperationContext
Returns the currentGraphContainer
- Specified by:
getGraphContainer
in interfaceOperationContext
- Returns:
- The current
GraphContainer
-
getDisplayLocation
public OperationContext.DisplayLocation getDisplayLocation()
Description copied from interface:OperationContext
Returns theOperationContext.DisplayLocation
the operation was triggered from- Specified by:
getDisplayLocation
in interfaceOperationContext
- Returns:
- the
OperationContext.DisplayLocation
the operation was triggered from
-
-