Package org.graffiti.undo
Class GraffitiAbstractUndoableEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.graffiti.undo.GraffitiAbstractUndoableEdit
- All Implemented Interfaces:
Serializable
,UndoableEdit
- Direct Known Subclasses:
ChangeAttributesEdit
,GraphElementsEdit
public abstract class GraffitiAbstractUndoableEdit extends AbstractUndoableEdit
GraffitiAbstractUndoableEdit
- Version:
- $Revision: 1.6 $
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description GraffitiAbstractUndoableEdit(Map<GraphElement,GraphElement> geMap)
Creates a newGraffitiAbstractUndoableEdit
object. -
Method Summary
Modifier and Type Method Description abstract void
execute()
Executes action for corresponding tools.Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, toString, undo
-
Constructor Details
-
GraffitiAbstractUndoableEdit
Creates a newGraffitiAbstractUndoableEdit
object.- Parameters:
geMap
- reference to the map supports the undo operations.
-
-
Method Details
-
execute
public abstract void execute()Executes action for corresponding tools.
-