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