org.graffiti.undo
Class EdgeSourceNodeEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by org.graffiti.undo.GraffitiAbstractUndoableEdit
          extended by org.graffiti.undo.EdgeSourceNodeEdit
All Implemented Interfaces:
Serializable, UndoableEdit

public class EdgeSourceNodeEdit
extends GraffitiAbstractUndoableEdit

Version:
$Revision$ $Date$
Author:
Kathrin Hanauer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.graffiti.undo.GraffitiAbstractUndoableEdit
coreBundle, geMap
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
EdgeSourceNodeEdit(Edge edge, Map<GraphElement,GraphElement> geMap)
           
 
Method Summary
 void execute()
          Executes action for corresponding tools.
 void redo()
           
 void undo()
           
 
Methods inherited from class org.graffiti.undo.GraffitiAbstractUndoableEdit
getCurrentGraphElement
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EdgeSourceNodeEdit

public EdgeSourceNodeEdit(Edge edge,
                          Map<GraphElement,GraphElement> geMap)
Parameters:
geMap -
Method Detail

execute

public void execute()
Description copied from class: GraffitiAbstractUndoableEdit
Executes action for corresponding tools.

Specified by:
execute in class GraffitiAbstractUndoableEdit

redo

public void redo()
Specified by:
redo in interface UndoableEdit
Overrides:
redo in class AbstractUndoableEdit
See Also:
UndoableEdit.redo()

undo

public void undo()
Specified by:
undo in interface UndoableEdit
Overrides:
undo in class AbstractUndoableEdit
See Also:
UndoableEdit.undo()


Generated at 2012-05-30 11:00:36 PM CEST