CMS 3D CMS Logo

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 protected:
49  std::vector<CSGAction*> m_actionList;
50 
51 private:
52  CSGActionSupervisor(const CSGActionSupervisor&) = delete; // stop default
53  const CSGActionSupervisor& operator=(const CSGActionSupervisor&) = delete; // stop default
54 
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)
const std::vector< CSGAction * > & getListOfActions() const
Bool_t activateToolBarEntry(int entry)
virtual void HandleMenu(Int_t id)