Major cleanup of Utils class.
[trakem2.git] / ini / trakem2 / display / DoStep.java
blobb87fec31d8e044d12ec259ce4733d68f775287ec
1 package ini.trakem2.display;
3 public interface DoStep {
5 // The actions accepted by apply(int)
6 static public final int UNDO = 0;
7 static public final int REDO = 1;
9 /** Returns true on success. */
10 public boolean apply(int action);
12 public boolean isEmpty();
14 /** May return null. */
15 public Displayable getD();
17 public boolean isIdenticalTo(Object ob); // bypassing equals