public abstract class CreateShapeTool extends AbstractTool
editor
Modifier | Constructor and Description |
---|---|
protected |
CreateShapeTool(GMLEditor editor)
Construct a CreateShapeTool.
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activate this tool.
|
void |
deactivate()
Deactivate this tool.
|
protected abstract javax.swing.undo.UndoableEdit |
finished(java.util.List<GMLNode> shapeNodes)
Perform whatever shape creation tasks are needed once the shape has been closed.
|
protected CreateShapeTool(GMLEditor editor)
editor
- The editor instance.public void activate()
Tool
public void deactivate()
Tool
protected abstract javax.swing.undo.UndoableEdit finished(java.util.List<GMLNode> shapeNodes)
shapeNodes
- The nodes of the shape.