CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/Fireworks/Core/src/FWStringParameterSetter.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWStringParameterSetter_h
00002 #define Fireworks_Core_FWStringParameterSetter_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWStringParameterSetter
00007 // $Id: FWStringParameterSetter.h,v 1.3 2011/02/11 19:56:36 amraktad Exp $
00008 //
00009 
00010 // system include files
00011 #include <Rtypes.h>
00012 
00013 // user include files
00014 #include "Fireworks/Core/interface/FWParameterSetterBase.h"
00015 #include "Fireworks/Core/interface/FWStringParameter.h"
00016 
00017 // forward declarations
00018 class TGTextEntry;
00019 
00020 class FWStringParameterSetter : public FWParameterSetterBase
00021 {
00022 
00023 public:
00024    FWStringParameterSetter();
00025    virtual ~FWStringParameterSetter();
00026 
00027    // ---------- const member functions ---------------------
00028 
00029    // ---------- static member functions --------------------
00030 
00031    // ---------- member functions ---------------------------
00032    virtual void attach(FWParameterBase*) ;
00033    virtual TGFrame* build(TGFrame* iParent, bool labelBack = true) ;
00034    void doUpdate();
00035 
00036 private:
00037    FWStringParameterSetter(const FWStringParameterSetter&);    // stop default
00038 
00039    const FWStringParameterSetter& operator=(const FWStringParameterSetter&);    // stop default
00040 
00041    // ---------- member data --------------------------------
00042    FWStringParameter* m_param;
00043    TGTextEntry* m_widget;
00044 };
00045 
00046 
00047 #endif