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 
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&) = delete; // stop default
54  const CSGActionSupervisor& operator=(const CSGActionSupervisor&) = delete; // stop default
55 
56  // ---------- member data --------------------------------
57 
59 
60 };
61 
62 #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)