fbbceb8da08d5b978b9e61ec9968178a5b7982fb
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveConfigManager.h
1 // $Id$
2 // Author: Matevz Tadel 2009
3
4 /**************************************************************************
5  * Copyright(c) 1998-2009, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveConfigManager_H
11 #define AliEveConfigManager_H
12
13 #include "TObject.h"
14 #include "AliStorageAdministratorPanelListEvents.h"
15
16 class TGPopupMenu;
17
18 //______________________________________________________________________________
19 // Short description of AliEveConfigManager
20 //
21
22 class AliEveConfigManager : public TObject
23 {
24 public:
25     static AliEveConfigManager* InitializeMaster();
26     static AliEveConfigManager* GetMaster();
27     
28     virtual ~AliEveConfigManager() {}
29     
30     void AliEvePopupHandler(Int_t id);
31     void SetEventInEventManager();
32     void StorageManagerChangedState(int state);
33     
34     void ConnectEventManagerSignals();
35     
36 protected:
37     static AliEveConfigManager* fgMaster;  // Main instance.
38     
39     TGPopupMenu      *fAnalysisPopup; // AliEve menu with analysis tools.
40     TGPopupMenu      *fAliEvePopup; // AliEve menu.
41     TGPopupMenu      *fAliEveGeometries; // AliEve submenu - geometries.
42     TGPopupMenu      *fAliEvePictures; // AliEve submenu - saving pictures.
43     TGPopupMenu      *fAliEvePicturesHR; // AliEve submenu - saving pictures in high resolution.
44     TGPopupMenu      *fAliEveDataSelection; // AliEve submenu - Saving/Opening DataSelection macros.
45     TGPopupMenu      *fAliEveVizDBs; // AliEve submenu - Saving/Opening VizDB macros.
46     
47     Bool_t           fLoadCheck; //for Data Selection Save/Load
48     
49     // Storage Manager:
50     TGPopupMenu *fStoragePopup;
51     
52 private:
53     AliEveConfigManager();
54     
55     AliStorageAdministratorPanelListEvents *fListEventsWindow;
56
57     
58     AliEveConfigManager(const AliEveConfigManager&);            // Not implemented
59     AliEveConfigManager& operator=(const AliEveConfigManager&); // Not implemented
60     
61     ClassDef(AliEveConfigManager, 0); // Short description.
62 };
63
64 #endif