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

String
getRedoCaption()
Provides a caption for a corresponding redo button.
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 Details

getRedoCaption

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

getUndoCaption

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

redo

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

undo

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