VCF::AbstractCommand Class Reference
A partial implementation of the Command interface. More...
#include <vcf/ApplicationKit/AbstractCommand.h>
Inheritance diagram for VCF::AbstractCommand:

Public Member Functions | |
| AbstractCommand () | |
| virtual | ~AbstractCommand () |
| virtual UndoRedoStack * | getOwningStack () |
| returns the UndoRedoStack that owns this command. | |
| virtual void | setOwningStack (UndoRedoStack *stack) |
| sets the owning UndoRedoStack for this command | |
| virtual String | getName () |
| The name of this command. | |
| virtual void | setName (const String &name) |
| sets the name of this command | |
| virtual bool | isUndoable () |
| Is this command undoable ? | |
Protected Attributes | |
| UndoRedoStack * | stack_ |
| String | commandName_ |
| bool | isUndoable_ |
Detailed Description
A partial implementation of the Command interface.Useful for using as a base class when creating your own Command based classes.
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
The name of this command. Frequently the name is the basis for the display text that is shown in the "Edit | Undo" or "Edit | Redo" menu items.
Implements VCF::Command. |
|
|
returns the UndoRedoStack that owns this command.
Implements VCF::Command. |
|
|
Is this command undoable ?
Implements VCF::Command. |
|
|
sets the name of this command
Implements VCF::Command. |
|
|
sets the owning UndoRedoStack for this command
Implements VCF::Command. |
Member Data Documentation
|
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- vcf/ApplicationKit/AbstractCommand.h
