Package org.graffiti.undo
Class GraphElementsEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
org.graffiti.undo.GraffitiAbstractUndoableEdit
org.graffiti.undo.GraphElementsEdit
- All Implemented Interfaces:
Serializable,UndoableEdit
- Direct Known Subclasses:
AddEdgeEdit,AddNodeEdit,GraphElementsDeletionEdit
public abstract class GraphElementsEdit extends GraffitiAbstractUndoableEdit
GraphElementsEdit is abstract class for building edits belong to
the operations on graph elements like adding or removing.- Version:
- $Revision: 1.4 $ $Date: 2010/12/22 13:05:35 $
- Author:
- $Author: klukas $
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description GraphElementsEdit(Graph graph, Map<GraphElement,GraphElement> geMap)Create a nesGraphElementsEdit. -
Method Summary
Methods inherited from class org.graffiti.undo.GraffitiAbstractUndoableEdit
executeMethods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, toString, undo
-
Constructor Details
-
GraphElementsEdit
Create a nesGraphElementsEdit.- Parameters:
graph- a graph referencegeMap- reference to the map supports the undo operations.
-