endrov.typeLineage
Class UndoOpLineageReplaceSomeParticle

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

public abstract class UndoOpLineageReplaceSomeParticle
extends UndoOpBasic

Undo operation where the undo is replacing individual cells with previous copies


Constructor Summary
UndoOpLineageReplaceSomeParticle(java.lang.String name)
           
 
Method Summary
 void keep(Lineage lin, java.lang.String name)
          Keep particle for later.
 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

UndoOpLineageReplaceSomeParticle

public UndoOpLineageReplaceSomeParticle(java.lang.String name)
Method Detail

modifyObjects

public void modifyObjects()

keep

public void keep(Lineage lin,
                 java.lang.String name)
Keep particle for later. Will only store the particles the first time this function is called


undo

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