CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSGActionSupervisor.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_CSGActionSupervisor_h
2 #define Fireworks_Core_CSGActionSupervisor_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : CSGActionSupervisor
7 //
16 //
17 // Original Author:
18 // Created: Aug 2009
19 
20 #include <vector>
21 #include "Rtypes.h"
22 
23 class CSGAction;
24 class TGPopupMenu;
25 struct Event_t;
26 
28 
29 public:
31  virtual ~CSGActionSupervisor();
32 
33  const std::vector<CSGAction*>& getListOfActions() const;
35 
36  virtual void defaultAction();
37 
39 
40  virtual void enableActions(bool enable = true);
41 
42  Bool_t activateMenuEntry(int entry);
43  Bool_t activateToolBarEntry(int entry);
44  void resizeMenu(TGPopupMenu *menu);
45  virtual void HandleMenu(Int_t id);
46 
47  Long_t getToolTipDelay() const;
48 
49 protected:
50  std::vector<CSGAction*> m_actionList;
51 
52 private:
53  CSGActionSupervisor(const CSGActionSupervisor&); // stop default
54  const CSGActionSupervisor& operator=(const CSGActionSupervisor&); // stop default
55 
56  // ---------- member data --------------------------------
57 
59 
60 };
61 
62 #endif
const CSGActionSupervisor & operator=(const CSGActionSupervisor &)
virtual void enableActions(bool enable=true)
Bool_t activateMenuEntry(int entry)
void resizeMenu(TGPopupMenu *menu)
void addToActionMap(CSGAction *action)
std::vector< CSGAction * > m_actionList
Long_t getToolTipDelay() const
virtual void defaultAction()
CSGAction * getAction(const std::string &name)
string action
Definition: mps_fire.py:28
const std::vector< CSGAction * > & getListOfActions() const
list entry
Definition: mps_splice.py:62
Bool_t activateToolBarEntry(int entry)
virtual void HandleMenu(Int_t id)