virtual bool canRedo() const
Check if redo can be done.
virtual void redo()
redo an operation.
std::vector< operation::Undoable_SPtr > _unDoables
Undo list.
virtual void undo()
undo an operation.
DECLARE_SHORT_SHARED_PTR(Document)
virtual void removeUndoables()
Clears the Undo/Redo stack.
const unsigned int _maximumUndoLevels
Maximum undo level.
std::stack< operation::Undoable_SPtr > _reDoables
Redo stack.
UndoManagerImpl(unsigned int maximumUndoLevels)
void on_CommitProcessEvent(const lc::CommitProcessEvent &event)
virtual bool canUndo() const
Check if undo can be done.