EditableInWindowConfig Class Reference

Interface for config that can be edited in a graphical window. More...

#include <EditableInWindowConfig.h>

Inheritance diagram for EditableInWindowConfig:

BaseConfig ConfigApplication ConfigCanvas Object::Config ObjectAgent::Config ObjectFixed::Config ObjectTrail::Config ObjectTransferable::Config List of all members.

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.

Detailed Description

Interface for config that can be edited in a graphical window.

Every config that can be edited in a graphical window must be derived from this class.


Constructor & Destructor Documentation

EditableInWindowConfig::EditableInWindowConfig (  )  [inline]

Constructor.

virtual EditableInWindowConfig::~EditableInWindowConfig (  )  [inline, virtual]

Destructor.


Member Function Documentation

void EditableInWindowConfig::SetEditationState ( bool  edited  )  [inline]

Sets new editation state (whether the config was edited or not).

Parameters:
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.

Parameters:
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.


Member Data Documentation

bool EditableInWindowConfig::wasEdited [private]

If this is true it means that the config was edited in the last editation window.


The documentation for this class was generated from the following file:
Generated on Sun Apr 29 11:46:11 2007 for IPP/ICP2007 by  doxygen 1.4.7