CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Fireworks/FWInterface/src/FWPathsPopup.h

Go to the documentation of this file.
00001 #ifndef Fireworks_FWInterface_FWPathsPopup_h
00002 #define Fireworks_FWInterface_FWPathsPopup_h
00003 
00004 #include "TGFrame.h"
00005 #include <string>
00006 
00007 namespace edm 
00008 {
00009    class ScheduleInfo;
00010    class ModuleDescription;
00011    class Event;
00012    class EventSetup;
00013 }
00014 
00015 class FWFFLooper;
00016 class FWGUIManager;
00017 
00018 class TGLabel;
00019 class TGTextEdit;
00020 class TGTextButton;
00021 class TString;
00022 class FWPSetTableManager;
00023 class FWTableWidget;
00024 class TGTextEntry;
00025 
00026 class FWPathsPopup : public TGMainFrame
00027 {
00028 public:
00029    FWPathsPopup(FWFFLooper *, FWGUIManager *);
00030 
00031    void postProcessEvent(edm::Event const&, edm::EventSetup const&);
00032    void postModule(edm::ModuleDescription const&);
00033    void preModule(edm::ModuleDescription const &);
00034    void scheduleReloadEvent();
00035    bool &hasChanges() { return m_hasChanges; }
00036    void setup(const edm::ScheduleInfo *info);
00037    void applyEditor();
00038    void cellClicked(Int_t iRow, Int_t iColumn, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY);
00039    void updateFilterString(const char *str);
00040    void windowIsClosing();
00041 
00042    virtual Bool_t HandleKey(Event_t* event);
00043 
00044 private:
00045    const edm::ScheduleInfo  *m_info;
00046 
00047 #ifndef __CINT__
00048    FWFFLooper               *m_looper;
00049 #endif
00050    bool                     m_hasChanges;
00051 
00052    TGLabel                  *m_moduleLabel;   
00053    TGLabel                   *m_moduleName;
00054    
00055    TGTextButton             *m_apply;
00056    FWPSetTableManager       *m_psTable;
00057    FWTableWidget            *m_tableWidget;
00058    TGTextEntry              *m_search;
00059    FWGUIManager             *m_guiManager;
00060 
00061    ClassDef(FWPathsPopup, 0);
00062 };
00063 
00064 #endif