Class AutoRefreshToggleOperation
- java.lang.Object
 - 
- org.opennms.features.topology.api.AbstractCheckedOperation
 - 
- org.opennms.features.topology.app.internal.operations.AutoRefreshToggleOperation
 
 
 
- 
- All Implemented Interfaces:
 CheckedOperation,HistoryOperation,Operation
public class AutoRefreshToggleOperation extends AbstractCheckedOperation
 
- 
- 
Field Summary
- 
Fields inherited from interface org.opennms.features.topology.api.Operation
OPERATION_CONTEXT_LOCATION, OPERATION_LABEL, OPERATION_MENU_LOCATION 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AutoRefreshToggleOperation() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyHistory(GraphContainer container, Map<String,String> settings)Map<String,String>createHistory(GraphContainer container)By default, save the state based on the checked status of the operation, independent of any currently-selected vertices.booleandisplay(List<VertexRef> targets, OperationContext operationContext)protected booleanenabled(GraphContainer container)voidexecute(List<VertexRef> targets, OperationContext operationContext)StringgetId()protected booleanisChecked(GraphContainer container)- 
Methods inherited from class org.opennms.features.topology.api.AbstractCheckedOperation
enabled, isChecked 
 - 
 
 - 
 
- 
- 
Method Detail
- 
display
public boolean display(List<VertexRef> targets, OperationContext operationContext)
 
- 
enabled
protected boolean enabled(GraphContainer container)
- Overrides:
 enabledin classAbstractCheckedOperation
 
- 
getId
public String getId()
 
- 
isChecked
protected boolean isChecked(GraphContainer container)
- Overrides:
 isCheckedin classAbstractCheckedOperation
 
- 
execute
public void execute(List<VertexRef> targets, OperationContext operationContext)
 
- 
createHistory
public Map<String,String> createHistory(GraphContainer container)
Description copied from class:AbstractCheckedOperationBy default, save the state based on the checked status of the operation, independent of any currently-selected vertices.- Specified by:
 createHistoryin interfaceHistoryOperation- Overrides:
 createHistoryin classAbstractCheckedOperation
 
- 
applyHistory
public void applyHistory(GraphContainer container, Map<String,String> settings)
 
 - 
 
 -