The undo madness advances. Can undo add/delete images now!
[trakem2.git] / ini / trakem2 / display / DoStep.java
blobff4064c09c8d0d52a39feddb76615ab851c80667
1 package ini.trakem2.display;
3 public interface DoStep {
5 static public final int UNDO = 0;
6 static public final int REDO = 1;
8 /** Returns true on success. */
9 public boolean apply(int action);
11 public boolean isEmpty();
13 /** May return null. */
14 public Displayable getD();
16 public boolean isIdenticalTo(Object ob); // bypassing equals