#include <EditableInWindowConfig.h>
Inheritance diagram for EditableInWindowConfig:

Public Member Functions | |
| EditableInWindowConfig () | |
| Constructor. | |
| virtual | ~EditableInWindowConfig () |
| Destructor. | |
| virtual void | ShowEditationWindow (wxWindow *parent, bool waitUntilClosed=true)=0 |
| Shows editation window where the user can edit the config. | |
| bool | WasEdited () const |
| Returns true if the selected config was edited in the last editation window. | |
| void | SetEditationState (bool edited) |
| Sets new editation state (whether the config was edited or not). | |
Private Attributes | |
| bool | wasEdited |
| If this is true it means that the config was edited in the last editation window. | |
Every config that can be edited in a graphical window must be derived from this class.
| EditableInWindowConfig::EditableInWindowConfig | ( | ) | [inline] |
Constructor.
| virtual EditableInWindowConfig::~EditableInWindowConfig | ( | ) | [inline, virtual] |
Destructor.
| void EditableInWindowConfig::SetEditationState | ( | bool | edited | ) | [inline] |
Sets new editation state (whether the config was edited or not).
| edited | Was the config edited in the last editation? |
| virtual void EditableInWindowConfig::ShowEditationWindow | ( | wxWindow * | parent, | |
| bool | waitUntilClosed = true | |||
| ) | [pure virtual] |
Shows editation window where the user can edit the config.
| parent | Parent window | |
| waitUntilClosed | If true, application will be stopped until the window is closed |
Implemented in ConfigApplication, ConfigCanvas, ObjectAgent::Config, ObjectFixed::Config, ObjectTrail::Config, and ObjectTransferable::Config.
| bool EditableInWindowConfig::WasEdited | ( | ) | const [inline] |
Returns true if the selected config was edited in the last editation window.
bool EditableInWindowConfig::wasEdited [private] |
If this is true it means that the config was edited in the last editation window.
1.4.7