GUI::EditationWindowCanvas Class Reference

Canvas/scene (simulation) editation window. More...

#include <EditationWindowCanvas.h>

Inheritance diagram for GUI::EditationWindowCanvas:

GUI::EditationWindowBase List of all members.

Public Member Functions

virtual void OnOkButton (wxCommandEvent &event)
 EditationWindowCanvas (wxWindow *parent, ConfigCanvas &editedConfig, const string &windowTitle="Simulation settings")
 Constructor.

Protected Member Functions

virtual void CreateBasicForm ()
 Creates basic form (simulation name etc.).
virtual bool SaveConfig ()
 Saves edited info into config.
string GetSimulationName () const
 Returns simulation name.

Private Types

 ID_SimulationName = 13000
 ID_SimulationNameText
enum  { ID_SimulationName = 13000, ID_SimulationNameText }
 Event ID's. More...

Private Attributes

ConfigCanvasconfig
 Config that will be edited.
wxTextCtrl * simulationName
 Simulation name.

Detailed Description

Canvas/scene (simulation) editation window.


Member Enumeration Documentation

anonymous enum [private]

Event ID's.

Enumerator:
ID_SimulationName 
ID_SimulationNameText 


Constructor & Destructor Documentation

GUI::EditationWindowCanvas::EditationWindowCanvas ( wxWindow *  parent,
ConfigCanvas editedConfig,
const string &  windowTitle = "Simulation settings" 
)

Constructor.

Parameters:
parent Parent window
editedConfig Config that wil be edited
windowTitle Title of the window


Member Function Documentation

void GUI::EditationWindowCanvas::CreateBasicForm (  )  [protected, virtual]

Creates basic form (simulation name etc.).

Implements GUI::EditationWindowBase.

string GUI::EditationWindowCanvas::GetSimulationName (  )  const [inline, protected]

Returns simulation name.

void GUI::EditationWindowCanvas::OnOkButton ( wxCommandEvent &  event  )  [virtual]

Implements GUI::EditationWindowBase.

bool GUI::EditationWindowCanvas::SaveConfig (  )  [protected, virtual]

Saves edited info into config.

Returns:
Returns true if everything was saved ok

Implements GUI::EditationWindowBase.


Member Data Documentation

ConfigCanvas& GUI::EditationWindowCanvas::config [private]

Config that will be edited.

Reimplemented from GUI::EditationWindowBase.

wxTextCtrl* GUI::EditationWindowCanvas::simulationName [private]

Simulation name.


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