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 void
applyHistory(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.boolean
display(List<VertexRef> targets, OperationContext operationContext)
protected boolean
enabled(GraphContainer container)
void
execute(List<VertexRef> targets, OperationContext operationContext)
String
getId()
protected boolean
isChecked(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:
enabled
in classAbstractCheckedOperation
-
getId
public String getId()
-
isChecked
protected boolean isChecked(GraphContainer container)
- Overrides:
isChecked
in classAbstractCheckedOperation
-
execute
public void execute(List<VertexRef> targets, OperationContext operationContext)
-
createHistory
public Map<String,String> createHistory(GraphContainer container)
Description copied from class:AbstractCheckedOperation
By default, save the state based on the checked status of the operation, independent of any currently-selected vertices.- Specified by:
createHistory
in interfaceHistoryOperation
- Overrides:
createHistory
in classAbstractCheckedOperation
-
applyHistory
public void applyHistory(GraphContainer container, Map<String,String> settings)
-
-