superclass for all UndoModels More...
#include <mitkUndoModel.h>

Public Member Functions | |
| mitkClassMacro (UndoModel, itk::Object) | |
| virtual bool | SetOperationEvent (UndoStackItem *stackItem)=0 |
| virtual bool | Undo ()=0 |
| virtual bool | Undo (bool fine)=0 |
| virtual bool | Redo ()=0 |
| virtual bool | Redo (bool fine)=0 |
| virtual void | Clear ()=0 |
| clears undo and Redolist | |
| virtual void | ClearRedoList ()=0 |
| clears the RedoList | |
| virtual bool | RedoListEmpty ()=0 |
| true if RedoList is empty | |
| virtual int | GetLastObjectEventIdInList ()=0 |
| returns the ObjectEventId of the top Element in the OperationHistory of the selected UndoModel | |
| virtual int | GetLastGroupEventIdInList ()=0 |
| returns the GroupEventId of the top Element in the OperationHistory of the selected UndoModel | |
| virtual OperationEvent * | GetLastOfType (OperationActor *destination, OperationType opType)=0 |
| returns the last specified OperationEvent in Undo-list corresponding to the given values; if nothing found, then returns NULL | |
Protected Member Functions | |
| UndoModel () | |
| virtual | ~UndoModel () |
superclass for all UndoModels
all necessary operations, that all UndoModels share.
Definition at line 37 of file mitkUndoModel.h.
| mitk::UndoModel::UndoModel | ( | ) | [inline, protected] |
Definition at line 84 of file mitkUndoModel.h.
{};
| virtual mitk::UndoModel::~UndoModel | ( | ) | [inline, protected, virtual] |
Definition at line 85 of file mitkUndoModel.h.
{};
| virtual void mitk::UndoModel::Clear | ( | ) | [pure virtual] |
clears undo and Redolist
Implemented in mitk::LimitedLinearUndo.
| virtual void mitk::UndoModel::ClearRedoList | ( | ) | [pure virtual] |
clears the RedoList
Implemented in mitk::LimitedLinearUndo.
| virtual int mitk::UndoModel::GetLastGroupEventIdInList | ( | ) | [pure virtual] |
returns the GroupEventId of the top Element in the OperationHistory of the selected UndoModel
Implemented in mitk::LimitedLinearUndo.
| virtual int mitk::UndoModel::GetLastObjectEventIdInList | ( | ) | [pure virtual] |
returns the ObjectEventId of the top Element in the OperationHistory of the selected UndoModel
Implemented in mitk::LimitedLinearUndo.
| virtual OperationEvent* mitk::UndoModel::GetLastOfType | ( | OperationActor * | destination, |
| OperationType | opType | ||
| ) | [pure virtual] |
returns the last specified OperationEvent in Undo-list corresponding to the given values; if nothing found, then returns NULL
needed to get the old Position of an Element for declaring an UndoOperation
Implemented in mitk::LimitedLinearUndo.
| mitk::UndoModel::mitkClassMacro | ( | UndoModel | , |
| itk::Object | |||
| ) |
| virtual bool mitk::UndoModel::Redo | ( | ) | [pure virtual] |
Implemented in mitk::LimitedLinearUndo.
Referenced by QmitkExtWorkbenchWindowAdvisorHack::onRedo().
| virtual bool mitk::UndoModel::Redo | ( | bool | fine ) | [pure virtual] |
Implemented in mitk::LimitedLinearUndo.
| virtual bool mitk::UndoModel::RedoListEmpty | ( | ) | [pure virtual] |
true if RedoList is empty
Implemented in mitk::LimitedLinearUndo.
| virtual bool mitk::UndoModel::SetOperationEvent | ( | UndoStackItem * | stackItem ) | [pure virtual] |
Implemented in mitk::LimitedLinearUndo, and mitk::VerboseLimitedLinearUndo.
Referenced by mitk::OverwriteSliceImageFilter::GenerateData().
| virtual bool mitk::UndoModel::Undo | ( | ) | [pure virtual] |
Implemented in mitk::LimitedLinearUndo.
Referenced by QmitkExtWorkbenchWindowAdvisorHack::onUndo().
| virtual bool mitk::UndoModel::Undo | ( | bool | fine ) | [pure virtual] |
Implemented in mitk::LimitedLinearUndo.
1.7.2