TGeoTabManager Class Reference

#include <TGeoTabManager.h>

Inheritance diagram for TGeoTabManager:

TObject TObject List of all members.

Public Member Functions

 TGeoTabManager (TGedEditor *ged)
virtual ~TGeoTabManager ()
TVirtualPad * GetPad () const
TGTab * GetTab () const
Int_t GetTabIndex () const
void SetVolTabEnabled (Bool_t flag=kTRUE)
void SetModel (TObject *model)
void SetTab ()
void GetShapeEditor (TGeoShape *shape)
void GetVolumeEditor (TGeoVolume *vol)
void GetMatrixEditor (TGeoMatrix *matrix)
void GetMediumEditor (TGeoMedium *medium)
void GetMaterialEditor (TGeoMaterial *material)
TGCompositeFrame * GetVolumeTab () const
TGeoVolume * GetVolume () const
 TGeoTabManager (TGedEditor *ged)
virtual ~TGeoTabManager ()
TVirtualPad * GetPad () const
TGTab * GetTab () const
Int_t GetTabIndex () const
void SetVolTabEnabled (Bool_t flag=kTRUE)
void SetModel (TObject *model)
void SetTab ()
void GetShapeEditor (TGeoShape *shape)
void GetVolumeEditor (TGeoVolume *vol)
void GetMatrixEditor (TGeoMatrix *matrix)
void GetMediumEditor (TGeoMedium *medium)
void GetMaterialEditor (TGeoMaterial *material)
TGCompositeFrame * GetVolumeTab () const
TGeoVolume * GetVolume () const

Static Public Member Functions

static TGeoTabManager * GetMakeTabManager (TGedEditor *ged)
static void Cleanup (TGCompositeFrame *frame)
static void MoveFrame (TGCompositeFrame *fr, TGCompositeFrame *p)
static TGeoTabManager * GetMakeTabManager (TGedEditor *ged)
static void Cleanup (TGCompositeFrame *frame)
static void MoveFrame (TGCompositeFrame *fr, TGCompositeFrame *p)

Private Member Functions

void GetEditors (TClass *cl)
void GetEditors (TClass *cl)

Private Attributes

TGedEditor * fGedEditor
TVirtualPad * fPad
TGTab * fTab
TGeoVolume * fVolume
TGeoTransientPanel * fShapePanel
TGeoTransientPanel * fMediumPanel
TGeoTransientPanel * fMaterialPanel
TGeoTransientPanel * fMatrixPanel
TGCompositeFrame * fVolumeTab
TGedEditor * fGedEditor
TVirtualPad * fPad
TGTab * fTab
TGeoVolume * fVolume
TGeoTransientPanel * fShapePanel
TGeoTransientPanel * fMediumPanel
TGeoTransientPanel * fMaterialPanel
TGeoTransientPanel * fMatrixPanel
TGCompositeFrame * fVolumeTab

Static Private Attributes

static TMap fgEditorToMgrMap

Friends

class TGeoManagerEditor

Detailed Description

Definition at line 54 of file TGeoTabManager.h.


Constructor & Destructor Documentation

TGeoTabManager::TGeoTabManager ( TGedEditor *  ged  ) 

Referenced by GetMakeTabManager().

TGeoTabManager::~TGeoTabManager (  )  [virtual]

Definition at line 69 of file TGeoTabManager.cxx.

References fGedEditor, fgEditorToMgrMap, fMaterialPanel, fMatrixPanel, fMediumPanel, fShapePanel, and TMap::Remove().

TGeoTabManager::TGeoTabManager ( TGedEditor *  ged  ) 

virtual TGeoTabManager::~TGeoTabManager (  )  [virtual]


Member Function Documentation

void TGeoTabManager::GetEditors ( TClass *  cl  )  [private]

Definition at line 162 of file TGeoTabManager.cxx.

References TGCompositeFrame::AddFrame(), xmlio::Class, fGedEditor, TString::Format(), fVolumeTab, TClass::GetClass(), TGObject::GetClient(), TGCompositeFrame::GetList(), TGClient::GetRoot(), TClass::InheritsFrom(), kLHintsExpandX, kLHintsTop, TGCompositeFrame::MapSubwindows(), TClass::New(), TGedEditor::SetFrameCreator(), TGedFrame::SetModelClass(), and TGClient::SetRoot().

Referenced by GetVolumeEditor().

TGeoTabManager * TGeoTabManager::GetMakeTabManager ( TGedEditor *  ged  )  [static]

Definition at line 186 of file TGeoTabManager.cxx.

References fgEditorToMgrMap, TMap::FindObject(), NULL, TGeoTabManager(), and TPair::Value().

Referenced by ClassImp(), G__G__GeomBuilder_233_0_3(), G__setup_memfuncTGeoTabManager(), and TGeoManagerEditor::SetModel().

void TGeoTabManager::Cleanup ( TGCompositeFrame *  frame  )  [static]

Definition at line 80 of file TGeoTabManager.cxx.

References xmlio::Class, TGCompositeFrame::Cleanup(), TGFrameElement::fFrame, TGCompositeFrame::GetList(), i, and list.

Referenced by G__G__GeomBuilder_233_0_4(), G__setup_memfuncTGeoTabManager(), TGeoBBoxEditor::~TGeoBBoxEditor(), TGeoCombiTransEditor::~TGeoCombiTransEditor(), TGeoConeEditor::~TGeoConeEditor(), TGeoConeSegEditor::~TGeoConeSegEditor(), TGeoCtubEditor::~TGeoCtubEditor(), TGeoEltuEditor::~TGeoEltuEditor(), TGeoGtraEditor::~TGeoGtraEditor(), TGeoHypeEditor::~TGeoHypeEditor(), TGeoManagerEditor::~TGeoManagerEditor(), TGeoMaterialEditor::~TGeoMaterialEditor(), TGeoMediumEditor::~TGeoMediumEditor(), TGeoNodeEditor::~TGeoNodeEditor(), TGeoParaEditor::~TGeoParaEditor(), TGeoPconEditor::~TGeoPconEditor(), TGeoPgonEditor::~TGeoPgonEditor(), TGeoRotationEditor::~TGeoRotationEditor(), TGeoSphereEditor::~TGeoSphereEditor(), TGeoTorusEditor::~TGeoTorusEditor(), TGeoTranslationEditor::~TGeoTranslationEditor(), TGeoTrapEditor::~TGeoTrapEditor(), TGeoTrd1Editor::~TGeoTrd1Editor(), TGeoTrd2Editor::~TGeoTrd2Editor(), TGeoTubeEditor::~TGeoTubeEditor(), TGeoTubeSegEditor::~TGeoTubeSegEditor(), and TGeoVolumeEditor::~TGeoVolumeEditor().

TVirtualPad* TGeoTabManager::GetPad (  )  const [inline]

Definition at line 76 of file TGeoTabManager.h.

References fPad.

Referenced by TGeoManagerEditor::DoEditShape().

TGTab* TGeoTabManager::GetTab (  )  const [inline]

Definition at line 77 of file TGeoTabManager.h.

References fTab.

Int_t TGeoTabManager::GetTabIndex (  )  const

Definition at line 201 of file TGeoTabManager.cxx.

References TString::Data(), fTab, TGTab::GetNumberOfTabs(), TGTabElement::GetString(), TGTab::GetTabTab(), and i.

Referenced by SetTab(), and SetVolTabEnabled().

void TGeoTabManager::MoveFrame ( TGCompositeFrame *  fr,
TGCompositeFrame *  p 
) [static]

Definition at line 216 of file TGeoTabManager.cxx.

References TGFrameElement::fFrame, list, and p.

Referenced by ClassImp(), G__G__GeomBuilder_233_0_8(), G__setup_memfuncTGeoTabManager(), TGeoConeSegEditor::TGeoConeSegEditor(), TGeoCtubEditor::TGeoCtubEditor(), TGeoGtraEditor::TGeoGtraEditor(), TGeoPgonEditor::TGeoPgonEditor(), and TGeoTubeSegEditor::TGeoTubeSegEditor().

void TGeoTabManager::SetVolTabEnabled ( Bool_t  flag = kTRUE  ) 

Definition at line 232 of file TGeoTabManager.cxx.

References fTab, GetTabIndex(), and TGTab::SetEnabled().

Referenced by TGeoNodeEditor::DoEditMother(), TGeoManagerEditor::DoEditVolume(), TGeoNodeEditor::DoEditVolume(), and TGeoManagerEditor::SelectedSlot().

void TGeoTabManager::SetModel ( TObject *  model  ) 

Definition at line 239 of file TGeoTabManager.cxx.

References xmlio::Class, TGFrameElement::fFrame, fVolume, fVolumeTab, TGCompositeFrame::GetList(), and model.

Referenced by GetVolumeEditor().

void TGeoTabManager::SetTab (  ) 

Definition at line 254 of file TGeoTabManager.cxx.

References fTab, GetTabIndex(), and TGTab::SetTab().

Referenced by TGeoNodeEditor::DoEditMother(), TGeoManagerEditor::DoEditVolume(), TGeoNodeEditor::DoEditVolume(), and TGeoManagerEditor::SelectedSlot().

void TGeoTabManager::GetShapeEditor ( TGeoShape *  shape  ) 

Definition at line 98 of file TGeoTabManager.cxx.

References fGedEditor, fShapePanel, TGeoTransientPanel::SetModel(), and TGeoTransientPanel::Show().

Referenced by TGeoVolumeEditor::DoEditShape(), and TGeoManagerEditor::DoEditShape().

void TGeoTabManager::GetVolumeEditor ( TGeoVolume *  vol  ) 

Definition at line 110 of file TGeoTabManager.cxx.

References xmlio::Class, fVolumeTab, GetEditors(), TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), and SetModel().

Referenced by TGeoNodeEditor::DoEditMother(), TGeoManagerEditor::DoEditVolume(), TGeoNodeEditor::DoEditVolume(), and TGeoManagerEditor::SelectedSlot().

void TGeoTabManager::GetMatrixEditor ( TGeoMatrix *  matrix  ) 

Definition at line 122 of file TGeoTabManager.cxx.

References fGedEditor, fMatrixPanel, TGeoTransientPanel::SetModel(), and TGeoTransientPanel::Show().

Referenced by TGeoVolumeEditor::DoEditMatrix(), TGeoNodeEditor::DoEditMatrix(), and TGeoManagerEditor::DoEditMatrix().

void TGeoTabManager::GetMediumEditor ( TGeoMedium *  medium  ) 

Definition at line 134 of file TGeoTabManager.cxx.

References fGedEditor, fMediumPanel, TGWindow::RaiseWindow(), TGeoTransientPanel::SetModel(), and TGeoTransientPanel::Show().

Referenced by TGeoManagerEditor::DoEditMedium(), and TGeoVolumeEditor::DoEditMedium().

void TGeoTabManager::GetMaterialEditor ( TGeoMaterial *  material  ) 

Definition at line 147 of file TGeoTabManager.cxx.

References fGedEditor, fMaterialPanel, material, name, TGWindow::RaiseWindow(), TGeoTransientPanel::SetModel(), and TGeoTransientPanel::Show().

Referenced by TGeoMixtureEditor::DoAddElem(), TGeoMediumEditor::DoEditMaterial(), and TGeoManagerEditor::DoEditMaterial().

TGCompositeFrame* TGeoTabManager::GetVolumeTab (  )  const [inline]

Definition at line 90 of file TGeoTabManager.h.

References fVolumeTab.

Referenced by TGeoVolumeEditor::SetModel(), and TGeoManagerEditor::~TGeoManagerEditor().

TGeoVolume* TGeoTabManager::GetVolume (  )  const [inline]

Definition at line 91 of file TGeoTabManager.h.

References fVolume.

void TGeoTabManager::GetEditors ( TClass *  cl  )  [private]

static TGeoTabManager* TGeoTabManager::GetMakeTabManager ( TGedEditor *  ged  )  [static]

static void TGeoTabManager::Cleanup ( TGCompositeFrame *  frame  )  [static]

TVirtualPad* TGeoTabManager::GetPad (  )  const [inline]

Definition at line 76 of file TGeoTabManager.h.

References fPad.

TGTab* TGeoTabManager::GetTab (  )  const [inline]

Definition at line 77 of file TGeoTabManager.h.

References fTab.

Int_t TGeoTabManager::GetTabIndex (  )  const

static void TGeoTabManager::MoveFrame ( TGCompositeFrame *  fr,
TGCompositeFrame *  p 
) [static]

void TGeoTabManager::SetVolTabEnabled ( Bool_t  flag = kTRUE  ) 

void TGeoTabManager::SetModel ( TObject *  model  ) 

void TGeoTabManager::SetTab (  ) 

void TGeoTabManager::GetShapeEditor ( TGeoShape *  shape  ) 

void TGeoTabManager::GetVolumeEditor ( TGeoVolume *  vol  ) 

void TGeoTabManager::GetMatrixEditor ( TGeoMatrix *  matrix  ) 

void TGeoTabManager::GetMediumEditor ( TGeoMedium *  medium  ) 

void TGeoTabManager::GetMaterialEditor ( TGeoMaterial *  material  ) 

TGCompositeFrame* TGeoTabManager::GetVolumeTab (  )  const [inline]

Definition at line 90 of file TGeoTabManager.h.

References fVolumeTab.

TGeoVolume* TGeoTabManager::GetVolume (  )  const [inline]

Definition at line 91 of file TGeoTabManager.h.

References fVolume.


Friends And Related Function Documentation

TGeoManagerEditor [friend]

Definition at line 55 of file TGeoTabManager.h.


Member Data Documentation

TGedEditor* TGeoTabManager::fGedEditor [private]

Definition at line 57 of file TGeoTabManager.h.

Referenced by GetEditors(), GetMaterialEditor(), GetMatrixEditor(), GetMediumEditor(), GetShapeEditor(), and ~TGeoTabManager().

TVirtualPad* TGeoTabManager::fPad [private]

Definition at line 58 of file TGeoTabManager.h.

Referenced by GetPad().

TGTab* TGeoTabManager::fTab [private]

Definition at line 59 of file TGeoTabManager.h.

Referenced by GetTab(), GetTabIndex(), SetTab(), and SetVolTabEnabled().

TGeoVolume* TGeoTabManager::fVolume [private]

Definition at line 60 of file TGeoTabManager.h.

Referenced by GetVolume(), and SetModel().

TGeoTransientPanel* TGeoTabManager::fShapePanel [private]

Definition at line 61 of file TGeoTabManager.h.

Referenced by GetShapeEditor(), and ~TGeoTabManager().

TGeoTransientPanel* TGeoTabManager::fMediumPanel [private]

Definition at line 62 of file TGeoTabManager.h.

Referenced by GetMediumEditor(), and ~TGeoTabManager().

TGeoTransientPanel* TGeoTabManager::fMaterialPanel [private]

Definition at line 63 of file TGeoTabManager.h.

Referenced by GetMaterialEditor(), and ~TGeoTabManager().

TGeoTransientPanel* TGeoTabManager::fMatrixPanel [private]

Definition at line 64 of file TGeoTabManager.h.

Referenced by GetMatrixEditor(), and ~TGeoTabManager().

TGCompositeFrame* TGeoTabManager::fVolumeTab [private]

Definition at line 65 of file TGeoTabManager.h.

Referenced by GetEditors(), GetVolumeEditor(), GetVolumeTab(), SetModel(), and TGeoManagerEditor::SetModel().

static TMap TGeoTabManager::fgEditorToMgrMap [static, private]

Definition at line 67 of file TGeoTabManager.h.

Referenced by GetMakeTabManager(), and ~TGeoTabManager().

TGedEditor* TGeoTabManager::fGedEditor [private]

Definition at line 57 of file TGeoTabManager.h.

TVirtualPad* TGeoTabManager::fPad [private]

Definition at line 58 of file TGeoTabManager.h.

TGTab* TGeoTabManager::fTab [private]

Definition at line 59 of file TGeoTabManager.h.

TGeoVolume* TGeoTabManager::fVolume [private]

Definition at line 60 of file TGeoTabManager.h.

TGeoTransientPanel* TGeoTabManager::fShapePanel [private]

Definition at line 61 of file TGeoTabManager.h.

TGeoTransientPanel* TGeoTabManager::fMediumPanel [private]

Definition at line 62 of file TGeoTabManager.h.

TGeoTransientPanel* TGeoTabManager::fMaterialPanel [private]

Definition at line 63 of file TGeoTabManager.h.

TGeoTransientPanel* TGeoTabManager::fMatrixPanel [private]

Definition at line 64 of file TGeoTabManager.h.

TGCompositeFrame* TGeoTabManager::fVolumeTab [private]

Definition at line 65 of file TGeoTabManager.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:07 2011 for ROOT_528-00b_version by  doxygen 1.5.1