C++ main module for gpm Package  1.0
GPMG_MovieGraphPanel.h
Go to the documentation of this file.
1 #ifndef GPMG_MovieGraphPanel_H
2 #define GPMG_MovieGraphPanel_H
3 
4 #include "GPMG_GraphPanel.h"
5 
7 
8 
15 class GPMG_MovieGraphPanel : public GPMG_GraphPanel { // class
16  SP_OBJECT(GPMG_MovieGraphPanel);
17 
18  // ATTRIBUTES
19 
20 private:
21  static const tFlag SHOW_NODES;
22  static const tFlag SHOW_PORTS;
23  static const tFlag SHOW_EDGES;
24  static const tFlag DELAY;
25  // ASSOCIATIONS
26 
27 
28  // METHODS
29 
30 
31 protected:
32  // CONSTRUCTORS
36 
37 
38 
39 
40  // DESTRUCTORS
44  virtual ~GPMG_MovieGraphPanel(void);
45 
46 
47 
48 public:
49  // NEW
52  static inline SP::GPMG_MovieGraphPanel New() {
53  SP::GPMG_MovieGraphPanel obj(new GPMG_MovieGraphPanel(),
54  GPMG_MovieGraphPanel::Delete());
55  obj->setThis(obj);
56  return obj;
57  };
60  virtual void toDoAfterThisSetting() {
62 
64  };
65 
68  virtual SP::GPMG_DrawPanel NewGraphDrawPanel() const {
70  }
71  // SET
72 
73 
74 
75 public:
76 
77 
78 
79  // GET
80 
81 
82  // OTHERS
83 
84  // SPECIALIZED Methods
85 public:
88  virtual void updateValues();
89 
92  virtual void componentClicked(GUI_ActionComponent& compo);
93 
94 
97  virtual void loadFromUIClass(const UI_Class& mclass);
100  virtual void saveToUIClass(UI_Class& mclass) const;
101 
104  virtual void initComponents();
105 
106 };
107 #endif
virtual void initComponents()
init the componnets
Definition: GPMG_MovieGraphPanel.cpp:25
virtual ~GPMG_MovieGraphPanel(void)
destroy a GPMG_MovieGraphPanel
Definition: GPMG_MovieGraphPanel.cpp:21
virtual void toDoAfterThisSetting()
method called after this setting
Definition: GPMG_MovieGraphPanel.h:60
this class describes the root panel of the graph window
Definition: GPMG_GraphPanel.h:17
virtual void saveToUIClass(UI_Class &mclass) const
how to save the object from a mate model class
Definition: GPMG_MovieGraphPanel.cpp:80
GPMG_MovieGraphPanel()
build a GPMG_MovieGraphPanel
Definition: GPMG_MovieGraphPanel.cpp:17
virtual void toDoAfterThisSetting()
Definition: GPMG_GraphPanel.h:60
virtual SP::GPMG_DrawPanel NewGraphDrawPanel() const
create the graph draw panel
Definition: GPMG_MovieGraphPanel.h:68
this class describes the root panel of the rule graph window
Definition: GPMG_MovieGraphPanel.h:15
virtual void updateValues()
method called for updating values of the panel
Definition: GPMG_MovieGraphPanel.cpp:46
virtual void componentClicked(GUI_ActionComponent &compo)
method called when a panel's component is clicked on
Definition: GPMG_MovieGraphPanel.cpp:54
DEFINE_SPTR(GPMG_MovieGraphPanel)
static SP::GPMG_MovieGraphPanel New()
create a root panel
Definition: GPMG_MovieGraphPanel.h:52
virtual void loadFromUIClass(const UI_Class &mclass)
how to load the object from a Meta Model class
Definition: GPMG_MovieGraphPanel.cpp:70
static SP::GPMG_MovieGraphDrawPanel New()
create a 2D plotter panel
Definition: GPMG_MovieGraphDrawPanel.h:72
#define tFlag
Definition: types.h:14