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.DisplayLocationgetDisplayLocation()Returns theOperationContext.DisplayLocationthe operation was triggered fromGraphContainergetGraphContainer()Returns the currentGraphContainercom.vaadin.ui.UIgetMainWindow()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:OperationContextReturns the current UI, the operation was triggered from- Specified by:
 getMainWindowin interfaceOperationContext- Returns:
 - the current UI, the operation was triggered from
 
 
- 
getGraphContainer
public GraphContainer getGraphContainer()
Description copied from interface:OperationContextReturns the currentGraphContainer- Specified by:
 getGraphContainerin interfaceOperationContext- Returns:
 - The current 
GraphContainer 
 
- 
getDisplayLocation
public OperationContext.DisplayLocation getDisplayLocation()
Description copied from interface:OperationContextReturns theOperationContext.DisplayLocationthe operation was triggered from- Specified by:
 getDisplayLocationin interfaceOperationContext- Returns:
 - the 
OperationContext.DisplayLocationthe operation was triggered from 
 
 - 
 
 -