org.graffiti.undo
Class AttributeEdit

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

public class AttributeEdit
extends GraffitiAbstractUndoableEdit

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

Constructor Summary
AttributeEdit(Attribute attribute, Attributable attributable, boolean doAdd, Map<GraphElement,GraphElement> geMap)
           
 
Method Summary
 void execute()
          Executes action for corresponding tools.
 void redo()
           
 void undo()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeEdit

public AttributeEdit(Attribute attribute,
                     Attributable attributable,
                     boolean doAdd,
                     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:14 PM CEST