endrov.typeLineage
Class UndoOpLineageReplaceAllParticle

java.lang.Object
  extended by endrov.gui.undo.UndoOpBasic
      extended by endrov.typeLineage.UndoOpLineageReplaceAllParticle
All Implemented Interfaces:
UndoOp

public abstract class UndoOpLineageReplaceAllParticle
extends UndoOpBasic

Restore lineage by copying all old coordinates. Inefficient but always works


Constructor Summary
UndoOpLineageReplaceAllParticle(java.lang.String opname, Lineage lin)
           
 
Method Summary
 void modifyObjects()
           
 void undo()
          Take data to the last state
 
Methods inherited from class endrov.gui.undo.UndoOpBasic
canUndo, execute, getOpName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface endrov.gui.undo.UndoOp
redo
 

Constructor Detail

UndoOpLineageReplaceAllParticle

public UndoOpLineageReplaceAllParticle(java.lang.String opname,
                                       Lineage lin)
Method Detail

modifyObjects

public void modifyObjects()

undo

public void undo()
Description copied from interface: UndoOp
Take data to the last state