C++ main module for gpm Package  1.0
GPMG_RuleGraphMenuPanel.h
Go to the documentation of this file.
1 #ifndef GPMG_RuleGraphMenuPanel_H
2 #define GPMG_RuleGraphMenuPanel_H
3 
4 
5 #include "GPMG_GraphMenuPanel.h"
6 #include "GUI_ToolBar.h"
7 
8 
9 
17 
18  SP_OBJECT(GPMG_RuleGraphMenuPanel);
19 
20  // ATTRIBUTES
21 private:
22 
23  // ASSOCIATIONS
24 private:
25 
26 
27 protected:
28  // METHODS
29 
30  // CONSTRUCTORS
31 
34 
35 
36 
37 
38  // DESTRUCTORS
39 
40 
43  virtual ~GPMG_RuleGraphMenuPanel(void);
44 
45 
46 
47 public:
48 
49  // CONSTRUCTOR
50  inline static SP::GPMG_RuleGraphMenuPanel New() {
51  SP::GPMG_RuleGraphMenuPanel p(new GPMG_RuleGraphMenuPanel(),
52  GPMG_RuleGraphMenuPanel::Delete());
53  p->setThis(p);
54 
55  return p;
56  };
57 
58  // SET methods
59 
60 
61  // GET methods
62 
63  // OTHERS
64 
67  virtual void createMenus(GUI_ToolBar* bar);
68 
69 
70 private:
71  void modifyEditMenu(GUI_ToolBar* bar);
72 
73 };
74 
75 #endif
DEFINE_SPTR(GPMG_RuleGraphMenuPanel)
virtual void createMenus(GUI_ToolBar *bar)
create the menus & put tools in tool bar
Definition: GPMG_RuleGraphMenuPanel.cpp:11
This class is the menu panel for graph draw window.
Definition: GPMG_GraphMenuPanel.h:16
This class is the menu panel for drainging graphs of rules.
Definition: GPMG_RuleGraphMenuPanel.h:16
static SP::GPMG_RuleGraphMenuPanel New()
Definition: GPMG_RuleGraphMenuPanel.h:50
GPMG_RuleGraphMenuPanel()
create an menu panel
Definition: GPMG_RuleGraphMenuPanel.cpp:4
virtual ~GPMG_RuleGraphMenuPanel(void)
destroy an menu panel.
Definition: GPMG_RuleGraphMenuPanel.cpp:8