ini.trakem2.display
Class LayerSet.DoChangeTrees

java.lang.Object
  extended by ini.trakem2.display.LayerSet.DoChangeTrees
All Implemented Interfaces:
DoStep
Enclosing class:
LayerSet

protected static class LayerSet.DoChangeTrees
extends java.lang.Object
implements DoStep

Records the state of the LayerSet.al_layers, each Layer.al_displayables and all the trees and unique types of Project.


Field Summary
 
Fields inherited from interface ini.trakem2.display.DoStep
REDO, UNDO
 
Constructor Summary
LayerSet.DoChangeTrees(LayerSet ls)
           
 
Method Summary
 void addDependents(java.util.Set<DoStep> dep)
           
 boolean apply(int action)
          Returns true on success.
 Displayable getD()
          May return null.
 boolean isEmpty()
           
 boolean isIdenticalTo(java.lang.Object ob)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerSet.DoChangeTrees

public LayerSet.DoChangeTrees(LayerSet ls)
Method Detail

getD

public Displayable getD()
Description copied from interface: DoStep
May return null.

Specified by:
getD in interface DoStep

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface DoStep

isIdenticalTo

public boolean isIdenticalTo(java.lang.Object ob)
Specified by:
isIdenticalTo in interface DoStep

apply

public boolean apply(int action)
Description copied from interface: DoStep
Returns true on success.

Specified by:
apply in interface DoStep

addDependents

public void addDependents(java.util.Set<DoStep> dep)