C++ main module for gpm Package  1.0
GPMG_ShowGraphPanel.h
Go to the documentation of this file.
1 #ifndef GPMG_ShowGraphPanel_H
2 #define GPMG_ShowGraphPanel_H
3 
4 #include "GPMG_GraphPanel.h"
5 
7 
8 
15 class GPMG_ShowGraphPanel : public GPMG_GraphPanel { // class
16  SP_OBJECT(GPMG_ShowGraphPanel);
17 
18  // ATTRIBUTES
19 
20 private:
21 
22 
23  // ASSOCIATIONS
24 
25 
26  // METHODS
27 
28 
29 protected:
30  // CONSTRUCTORS
34 
35 
36 
37 
38  // DESTRUCTORS
42  virtual ~GPMG_ShowGraphPanel(void);
43 
44 
45 
46 public:
47  // NEW
50  static inline SP::GPMG_ShowGraphPanel New() {
51  SP::GPMG_ShowGraphPanel obj(new GPMG_ShowGraphPanel(),
52  GPMG_ShowGraphPanel::Delete());
53  obj->setThis(obj);
54  return obj;
55  };
56 
59  virtual void toDoAfterThisSetting() {
61  initComponents(true,true);
62  };
63 
64 
67  virtual SP::GPMG_DrawPanel NewGraphDrawPanel() const {
69  }
70  // SET
71 
72 
75  void showGraph(GPM_ModelGraph& graph,const tBoolean& isForce);
76 
77 public:
78 
79 
80 
81  // GET
82 
83 
84 
85  // OTHERS
86 
87  // SPECIALIZED Methods
88 public:
91  virtual void updateValues();
92 
95  virtual void componentClicked(GUI_ActionComponent& compo);
96 
97 
100  virtual void loadFromUIClass(const UI_Class& mclass);
103  virtual void saveToUIClass(UI_Class& mclass) const;
104 
105 
106 };
107 #endif
void showGraph(GPM_ModelGraph &graph, const tBoolean &isForce)
show the rule
Definition: GPMG_ShowGraphPanel.cpp:22
virtual void toDoAfterThisSetting()
method called after this setting
Definition: GPMG_ShowGraphPanel.h:59
static SP::GPMG_ShowGraphPanel New()
create a root panel
Definition: GPMG_ShowGraphPanel.h:50
This class describes a model graph.
Definition: GPM_ModelGraph.h:21
virtual ~GPMG_ShowGraphPanel(void)
destroy a GPMG_ShowGraphPanel
Definition: GPMG_ShowGraphPanel.cpp:11
virtual void saveToUIClass(UI_Class &mclass) const
how to save the object from a mate model class
Definition: GPMG_ShowGraphPanel.cpp:41
#define tBoolean
Definition: types.h:35
GPMG_ShowGraphPanel()
build a GPMG_ShowGraphPanel
Definition: GPMG_ShowGraphPanel.cpp:7
virtual void componentClicked(GUI_ActionComponent &compo)
method called when a panel's component is clicked on
Definition: GPMG_ShowGraphPanel.cpp:30
virtual void initComponents(const tBoolean &isReadOnlyShown, const tBoolean &isGraphElementShownEnabled)
init the components
Definition: GPMG_GraphPanel.cpp:44
this class describes the root panel of the graph window
Definition: GPMG_GraphPanel.h:17
virtual void toDoAfterThisSetting()
Definition: GPMG_GraphPanel.h:60
this class describes the root panel of the rule graph window
Definition: GPMG_ShowGraphPanel.h:15
virtual SP::GPMG_DrawPanel NewGraphDrawPanel() const
create the graph draw panel
Definition: GPMG_ShowGraphPanel.h:67
virtual void updateValues()
method called for updating values of the panel
Definition: GPMG_ShowGraphPanel.cpp:15
DEFINE_SPTR(GPMG_ShowGraphPanel)
static SP::GPMG_ShowGraphDrawPanel New()
create a 2D plotter panel
Definition: GPMG_ShowGraphDrawPanel.h:54
virtual void loadFromUIClass(const UI_Class &mclass)
how to load the object from a Meta Model class
Definition: GPMG_ShowGraphPanel.cpp:36