fr.umlv.unitex.undo
Class SelectEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by fr.umlv.unitex.undo.SelectEdit
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit

public class SelectEdit
extends javax.swing.undo.AbstractUndoableEdit

class uses to save the state of the graph before a selection

Author:
Decreton Julien
See Also:
Serialized Form

Constructor Summary
SelectEdit(java.util.ArrayList selectedBoxes)
           
 
Method Summary
 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

SelectEdit

public SelectEdit(java.util.ArrayList selectedBoxes)
Parameters:
selectedBoxes - boxes selected in the graph
Method Detail

redo

public void redo()
Specified by:
redo in interface javax.swing.undo.UndoableEdit
Overrides:
redo in class javax.swing.undo.AbstractUndoableEdit

undo

public void undo()
Specified by:
undo in interface javax.swing.undo.UndoableEdit
Overrides:
undo in class javax.swing.undo.AbstractUndoableEdit