public class MetaTopologySelectorOperation extends AbstractCheckedOperation
OPERATION_CONTEXT_LOCATION, OPERATION_LABEL, OPERATION_MENU_LOCATION
Constructor and Description |
---|
MetaTopologySelectorOperation(MetaTopologyProvider metaTopologyProvider,
Map<?,?> metadata) |
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) |
void |
execute(GraphContainer container) |
void |
execute(List<VertexRef> targets,
OperationContext operationContext) |
String |
getId() |
String |
getLabel() |
protected boolean |
isChecked(GraphContainer container) |
enabled, enabled, isChecked
public MetaTopologySelectorOperation(MetaTopologyProvider metaTopologyProvider, Map<?,?> metadata)
public String getLabel()
public void execute(List<VertexRef> targets, OperationContext operationContext)
public void execute(GraphContainer container)
public boolean display(List<VertexRef> targets, OperationContext operationContext)
public String getId()
protected boolean isChecked(GraphContainer container)
isChecked
in class AbstractCheckedOperation
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 © 2018. All rights reserved.