public class AutoRefreshToggleOperation extends AbstractCheckedOperation
OPERATION_CONTEXT_LOCATION, OPERATION_LABEL, OPERATION_MENU_LOCATION
Constructor and Description |
---|
AutoRefreshToggleOperation() |
Modifier and Type | Method and 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) |
enabled, isChecked
public boolean display(List<VertexRef> targets, OperationContext operationContext)
protected boolean enabled(GraphContainer container)
enabled
in class AbstractCheckedOperation
public String getId()
protected boolean isChecked(GraphContainer container)
isChecked
in class AbstractCheckedOperation
public void execute(List<VertexRef> targets, OperationContext operationContext)
public Map<String,String> createHistory(GraphContainer container)
AbstractCheckedOperation
createHistory
in interface HistoryOperation
createHistory
in class AbstractCheckedOperation
public void applyHistory(GraphContainer container, Map<String,String> settings)
Copyright © 2021. All rights reserved.