Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
A limited linear undo model providing GUI elements with stack status information. More...
#include <mitkVerboseLimitedLinearUndo.h>
Public Types | |
typedef VerboseLimitedLinearUndo | Self |
typedef LimitedLinearUndo | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::pair< int, std::string > | StackDescriptionItem |
typedef std::vector< StackDescriptionItem > | StackDescription |
Public Types inherited from mitk::LimitedLinearUndo | |
typedef std::vector< UndoStackItem * > | UndoContainer |
typedef std::vector< UndoStackItem * >::reverse_iterator | UndoContainerRevIter |
typedef LimitedLinearUndo | Self |
typedef UndoModel | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::UndoModel | |
typedef UndoModel | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
virtual bool | SetOperationEvent (UndoStackItem *undoStackItem) override |
a list of pairs (int,string), representing a stack with ObjectEventIDs and descriptions More... | |
virtual StackDescription | GetUndoDescriptions () |
virtual StackDescription | GetRedoDescriptions () |
Public Member Functions inherited from mitk::LimitedLinearUndo | |
Pointer | Clone () const |
virtual bool | Undo () override |
Undoes the last changes. More... | |
virtual bool | Undo (bool) override |
virtual bool | Undo (int oeid) |
Undoes all changes until ObjectEventID oeid. More... | |
virtual bool | Redo () override |
Undoes the last changes. More... | |
virtual bool | Redo (bool) override |
virtual bool | Redo (int oeid) |
Redoes all changes until ObjectEventID oeid. More... | |
virtual void | Clear () override |
Clears UndoList and RedoList. More... | |
virtual void | ClearRedoList () override |
Clears the RedoList. More... | |
virtual bool | RedoListEmpty () override |
True, if RedoList is empty. More... | |
virtual int | GetLastObjectEventIdInList () override |
Returns the ObjectEventId of the top element in the OperationHistory. More... | |
virtual int | GetLastGroupEventIdInList () override |
Returns the GroupEventId of the top element in the OperationHistory. More... | |
virtual OperationEvent * | GetLastOfType (OperationActor *destination, OperationType opType) override |
Returns the last specified OperationEvent in Undo-list corresponding to the given values; if nothing found, then returns NULL. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::LimitedLinearUndo | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::UndoModel | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
VerboseLimitedLinearUndo () | |
virtual | ~VerboseLimitedLinearUndo () |
Protected Member Functions inherited from mitk::LimitedLinearUndo | |
LimitedLinearUndo () | |
virtual | ~LimitedLinearUndo () |
void | ClearList (UndoContainer *list) |
Protected Member Functions inherited from mitk::UndoModel | |
UndoModel () | |
virtual | ~UndoModel () |
Additional Inherited Members | |
Protected Attributes inherited from mitk::LimitedLinearUndo | |
UndoContainer | m_UndoList |
UndoContainer | m_RedoList |
A limited linear undo model providing GUI elements with stack status information.
Basically does the same, as LimitedLinearUndo class, but it allows you to retrieve a string list, which describes the undo stack or the redo stack. This can be used for display by GUI elements.
Definition at line 39 of file mitkVerboseLimitedLinearUndo.h.
typedef itk::SmartPointer<const Self> mitk::VerboseLimitedLinearUndo::ConstPointer |
Definition at line 42 of file mitkVerboseLimitedLinearUndo.h.
Definition at line 42 of file mitkVerboseLimitedLinearUndo.h.
Definition at line 42 of file mitkVerboseLimitedLinearUndo.h.
typedef std::vector<StackDescriptionItem> mitk::VerboseLimitedLinearUndo::StackDescription |
Definition at line 47 of file mitkVerboseLimitedLinearUndo.h.
typedef std::pair<int, std::string> mitk::VerboseLimitedLinearUndo::StackDescriptionItem |
Definition at line 45 of file mitkVerboseLimitedLinearUndo.h.
Definition at line 42 of file mitkVerboseLimitedLinearUndo.h.
|
protected |
Definition at line 20 of file mitkVerboseLimitedLinearUndo.cpp.
|
protectedvirtual |
Definition at line 24 of file mitkVerboseLimitedLinearUndo.cpp.
Pointer mitk::VerboseLimitedLinearUndo::Clone | ( | ) | const |
|
inlineoverridevirtual |
Reimplemented from mitk::LimitedLinearUndo.
Definition at line 42 of file mitkVerboseLimitedLinearUndo.h.
|
virtual |
Reimplemented from mitk::LimitedLinearUndo.
|
virtual |
Definition at line 115 of file mitkVerboseLimitedLinearUndo.cpp.
|
inlinestatic |
Definition at line 42 of file mitkVerboseLimitedLinearUndo.h.
|
virtual |
Definition at line 47 of file mitkVerboseLimitedLinearUndo.cpp.
|
static |
Referenced by mitk::UndoController::AddUndoModel(), and mitk::UndoController::UndoController().
|
overridevirtual |
a list of pairs (int,string), representing a stack with ObjectEventIDs and descriptions
Reimplemented from mitk::LimitedLinearUndo.
Definition at line 28 of file mitkVerboseLimitedLinearUndo.cpp.