CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
30  virtual ~CSGActionSupervisor();
31 
32  const std::vector<CSGAction*>& getListOfActions() const;
34 
35  virtual void defaultAction();
36 
38 
39  virtual void enableActions(bool enable = true);
40 
41  Bool_t activateMenuEntry(int entry);
42  Bool_t activateToolBarEntry(int entry);
43  void resizeMenu(TGPopupMenu* menu);
44  virtual void HandleMenu(Int_t id);
45 
46  Long_t getToolTipDelay() const;
47 
48  CSGActionSupervisor(const CSGActionSupervisor&) = delete; // stop default
49  const CSGActionSupervisor& operator=(const CSGActionSupervisor&) = delete; // stop default
50 
51 protected:
52  std::vector<CSGAction*> m_actionList;
53 
54 private:
55  // ---------- member data --------------------------------
56 
58 };
59 
60 #endif
const CSGActionSupervisor & operator=(const CSGActionSupervisor &)=delete
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:183
const std::vector< CSGAction * > & getListOfActions() const
list entry
Definition: mps_splice.py:68
Bool_t activateToolBarEntry(int entry)
virtual void HandleMenu(Int_t id)