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, isCheckedpublic boolean display(List<VertexRef> targets, OperationContext operationContext)
protected boolean enabled(GraphContainer container)
enabled in class AbstractCheckedOperationpublic String getId()
protected boolean isChecked(GraphContainer container)
isChecked in class AbstractCheckedOperationpublic void execute(List<VertexRef> targets, OperationContext operationContext)
public Map<String,String> createHistory(GraphContainer container)
AbstractCheckedOperationcreateHistory in interface HistoryOperationcreateHistory in class AbstractCheckedOperationpublic void applyHistory(GraphContainer container, Map<String,String> settings)
Copyright © 2020. All rights reserved.