

Public Member Functions | |
| PCommand (void) | |
| virtual | ~PCommand (void) |
| void | Init (void) |
| virtual void | AttachedToManager (void)=0 |
| after adding to the Manager you are able to acces the DocumentClass and eg. | |
| virtual void | DetachedFromManager (void)=0 |
| is called short befor the Command is removed from the Manager normally this only happens if the Document is closed ;-) | |
| virtual char * | Name (void)=0 |
| should return the Name of the Command. | |
| virtual BMessage * | Do (PDocument *doc, BMessage *settings) |
| virtual void | Undo (PDocument *doc, BMessage *undo) |
| void | SetManager (PCommandManager *newManager) |
| PCommandManager * | Manager (void) |
Protected Attributes | |
| PCommandManager * | manager |
| PCommand::PCommand | ( | void | ) |
| PCommand::~PCommand | ( | void | ) | [virtual] |
| virtual void PCommand::AttachedToManager | ( | void | ) | [pure virtual] |
after adding to the Manager you are able to acces the DocumentClass and eg.
add special Menusentry´s to all BWindows wich are Part of the Dokument This Name ist normally used to find and use this Command
Implemented in AddAttribute, ChangeValue, Copy, Delete, Find, Group, Insert, Move, Paste, RemoveAttribute, Resize, and Select.
| virtual void PCommand::DetachedFromManager | ( | void | ) | [pure virtual] |
is called short befor the Command is removed from the Manager normally this only happens if the Document is closed ;-)
Implemented in AddAttribute, ChangeValue, Copy, Delete, Find, Group, Insert, Move, Paste, RemoveAttribute, Resize, and Select.
| BMessage * PCommand::Do | ( | PDocument * | doc, | |
| BMessage * | settings | |||
| ) | [virtual] |
Reimplemented in AddAttribute, ChangeValue, Copy, Delete, Find, Group, Insert, Move, Paste, RemoveAttribute, Resize, and Select.
| void PCommand::Init | ( | void | ) |
| PCommandManager* PCommand::Manager | ( | void | ) | [inline] |
| virtual char* PCommand::Name | ( | void | ) | [pure virtual] |
should return the Name of the Command.
This Name ist normally used to find and use this Command
Implemented in AddAttribute, ChangeValue, Copy, Delete, Find, Group, Insert, Move, Paste, RemoveAttribute, Resize, and Select.
| void PCommand::SetManager | ( | PCommandManager * | newManager | ) |
| void PCommand::Undo | ( | PDocument * | doc, | |
| BMessage * | undo | |||
| ) | [virtual] |
Reimplemented in AddAttribute, ChangeValue, Copy, Delete, Find, Group, Insert, Move, Paste, RemoveAttribute, Resize, and Select.
PCommandManager* PCommand::manager [protected] |
1.5.9