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, java.util.Map<java.lang.String,java.lang.String> settings)
java.util.Map<java.lang.String,java.lang.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(java.util.List<VertexRef> targets, OperationContext operationContext)
protected boolean
enabled(GraphContainer container)
void
execute(java.util.List<VertexRef> targets, OperationContext operationContext)
java.lang.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(java.util.List<VertexRef> targets, OperationContext operationContext)
-
enabled
protected boolean enabled(GraphContainer container)
- Overrides:
enabled
in classAbstractCheckedOperation
-
getId
public java.lang.String getId()
-
isChecked
protected boolean isChecked(GraphContainer container)
- Overrides:
isChecked
in classAbstractCheckedOperation
-
execute
public void execute(java.util.List<VertexRef> targets, OperationContext operationContext)
-
createHistory
public java.util.Map<java.lang.String,java.lang.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, java.util.Map<java.lang.String,java.lang.String> settings)
-
-