1 #ifndef GPMG_GraphStateWindow_H
2 #define GPMG_GraphStateWindow_H
5 #include "GUI_ChildWindow.h"
24 map<tString,SP::GPM_Variable> mEnvironments[3];
26 static const tFlag ENV;
27 static const tFlag VALIDATE;
28 static const tFlag OK;
29 static const tFlag CANCEL;
39 SP::GPMG_Project mProject;
40 SP::GPMG_EnvironmentPanel mEnvironmentPanel;
67 static inline SP::GPMG_GraphStateWindow
New() {
69 GPMG_GraphStateWindow::Delete());
77 GUI_ChildWindow::toDoAfterThisSetting();
95 void setEnvironment(
const tFlag& index,
const map<tString,SP::GPM_Variable>& env);
99 void selectEnvironment(
const tFlag& index);
125 void createComponents();
static const tFlag EDGE_ENVIRONMENT
Definition: GPMG_Project.h:28
DEFINE_SPTR(GPMG_GraphStateWindow)
this class describes a window to display environment
Definition: GPMG_GraphStateWindow.h:17
virtual void componentClicked(GUI_ActionComponent &compo)
method called when a component are clicked on
Definition: GPMG_GraphStateWindow.cpp:153
void setProject(SP::GPMG_Project project)
set the graph
Definition: GPMG_GraphStateWindow.h:84
virtual void loadFromUIClass(const UI_Class &mclass)
how to load the object from a Meta Model class
Definition: GPMG_GraphStateWindow.cpp:117
static const tFlag PORT_ENVIRONMENT
Definition: GPMG_Project.h:29
virtual void saveToUIClass(UI_Class &mclass) const
how to save the object from a mate model class
Definition: GPMG_GraphStateWindow.cpp:112
GPMG_GraphStateWindow()
build a GPMG_GraphStateWindow
Definition: GPMG_GraphStateWindow.cpp:30
virtual void toDoAfterThisSetting()
method called after this setting
Definition: GPMG_GraphStateWindow.h:76
static const tFlag NODE_ENVIRONMENT
Definition: GPMG_Project.h:27
#define tString
Definition: types.h:36
static SP::GPMG_GraphStateWindow New()
create a visualization window
Definition: GPMG_GraphStateWindow.h:67
virtual ~GPMG_GraphStateWindow(void)
destroy a GPMG_GraphStateWindow
Definition: GPMG_GraphStateWindow.cpp:40
#define tFlag
Definition: types.h:14