1 #ifndef GPMG_EnvironmentPanel_H
2 #define GPMG_EnvironmentPanel_H
5 #include "GUI_GroupBoxPanel.h"
26 static const tFlag ADD;
27 static const tFlag REMOVE;
28 static const tFlag VARIABLES;
29 static const tFlag VARIABLE;
35 SP::GPMG_VariablePanel mVariablePanel;
36 map<tString,SP::GPM_Variable> *mEnvironment;
37 SP::GUI_Label mVariablesLabel;
64 static inline SP::GPMG_EnvironmentPanel
New() {
66 GPMG_EnvironmentPanel::Delete());
74 GUI_GroupBoxPanel::toDoAfterThisSetting();
89 mVariablesLabel->setLabel(variablesLabel);
115 void createComponents();
virtual void toDoAfterThisSetting()
method called after this setting
Definition: GPMG_EnvironmentPanel.h:73
virtual ~GPMG_EnvironmentPanel(void)
destroy a GPMG_EnvironmentPanel
Definition: GPMG_EnvironmentPanel.cpp:34
void setLabels(const tString &panelLabel, const tString &variablesLabel)
set the label
Definition: GPMG_EnvironmentPanel.h:87
DEFINE_SPTR(GPMG_EnvironmentPanel)
virtual void componentClicked(GUI_ActionComponent &compo)
method called when a component are clicked on
Definition: GPMG_EnvironmentPanel.cpp:143
GPMG_EnvironmentPanel()
build a GPMG_EnvironmentPanel
Definition: GPMG_EnvironmentPanel.cpp:28
void setEnvironment(map< tString, SP::GPM_Variable > &env)
set the environment for global constants
Definition: GPMG_EnvironmentPanel.cpp:104
#define tString
Definition: types.h:36
static SP::GPMG_EnvironmentPanel New()
create a visualization window
Definition: GPMG_EnvironmentPanel.h:64
virtual void loadFromUIClass(const UI_Class &mclass)
how to load the object from a Meta Model class
Definition: GPMG_EnvironmentPanel.cpp:99
this class describes a panel to display variable of an environment
Definition: GPMG_EnvironmentPanel.h:17
virtual void saveToUIClass(UI_Class &mclass) const
how to save the object from a mate model class
Definition: GPMG_EnvironmentPanel.cpp:94
#define tFlag
Definition: types.h:14