com.azalient.api.ui.undo
Interface IUndoable

All Known Subinterfaces:
IUndoableCollapsable, IUndoStack

public interface IUndoable

An action, normally placed on a stack , that can be called to undo a previous action, see IUndoStack


Field Summary
static IUndoable CANT_UNDO
          This is used where an action cannot be undone, or where no undo action has been provided
static IUndoable NOTHING_TO_UNDO
          This is the null action, no action is required to undo.
 
Method Summary
 String describe()
          Describe this action - used in the list of actions
 boolean undo()
          Undo this action
 

Field Detail

CANT_UNDO

static final IUndoable CANT_UNDO
This is used where an action cannot be undone, or where no undo action has been provided


NOTHING_TO_UNDO

static final IUndoable NOTHING_TO_UNDO
This is the null action, no action is required to undo.

Method Detail

undo

boolean undo()
Undo this action


describe

String describe()
Describe this action - used in the list of actions