be.ugent.caagt.swirl.undoredo
Interface UndoableChange


public interface UndoableChange

An object of this type describes the change made by an interactive command and provides sufficient information for that change to be undone and redone.


Method Summary
 java.lang.String getRedoCaption()
          Provides a caption for a corresponding redo button.
 java.lang.String getUndoCaption()
          Provides a caption for a corresponding undo button.
 void redo()
          Redo the changes represented by this object.
 void undo()
          Undo the changes represented by this object.
 

Method Detail

undo

void undo()
Undo the changes represented by this object.


redo

void redo()
Redo the changes represented by this object.


getUndoCaption

java.lang.String getUndoCaption()
Provides a caption for a corresponding undo button.


getRedoCaption

java.lang.String getRedoCaption()
Provides a caption for a corresponding redo button.