CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

CmsShowEDI Class Reference

#include <Fireworks/Core/interface/CmsShowEDI.h>

List of all members.

Public Member Functions

void changeItemColor (Color_t color)
void changeItemOpacity (Int_t opacity)
 ClassDef (CmsShowEDI, 0)
virtual void CloseWindow ()
 CmsShowEDI (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, FWSelectionManager *selMgr=0, FWColorManager *colorMgr=0)
void colorSetChanged ()
void disconnectAll ()
void fillEDIFrame ()
void moveToBack ()
void moveToFront ()
void moveToLayer (Long_t)
void removeItem ()
void runFilter ()
void runSelection ()
void selectAll ()
void show (FWDataCategories)
void toggleItemVisible (Bool_t on=kTRUE)
void updateDisplay ()
void updateFilter ()
void updateLayerControls ()
virtual ~CmsShowEDI ()

Private Member Functions

void clearPBFrame ()
 CmsShowEDI (const CmsShowEDI &)
const CmsShowEDIoperator= (const CmsShowEDI &)

Private Attributes

TGTextButton * m_backButton
FWColorManagerm_colorManager
FWColorSelectm_colorSelectWidget
sigc::connection m_destroyedConn
sigc::connection m_displayChangedConn
TGTextButton * m_filterButton
TGTextView * m_filterError
FWGUIValidatingTextEntrym_filterExpressionEntry
TGTextButton * m_frontButton
TGTextEntry * m_instanceEntry
TGCheckButton * m_isVisibleButton
FWEventItemm_item
TGNumberEntry * m_layerEntry
sigc::connection m_modelChangedConn
TGTextEntry * m_moduleEntry
TGTextEntry * m_nameEntry
TGLabel * m_objectLabel
TGHSlider * m_opacitySlider
TGTextEntry * m_processEntry
TGTextButton * m_removeButton
TGTextButton * m_selectAllButton
TGTextButton * m_selectButton
TGTextView * m_selectError
FWGUIValidatingTextEntrym_selectExpressionEntry
FWSelectionManagerm_selectionManager
TGCompositeFrame * m_settersFrame
TGTab * m_tabs
TGTextEntry * m_typeEntry
FWExpressionValidatorm_validator

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 53 of file CmsShowEDI.h.


Constructor & Destructor Documentation

CmsShowEDI::CmsShowEDI ( const TGWindow *  p = 0,
UInt_t  w = 1,
UInt_t  h = 1,
FWSelectionManager selMgr = 0,
FWColorManager colorMgr = 0 
)

Definition at line 64 of file CmsShowEDI.cc.

References FWDialogBuilder::addCheckbox(), FWDialogBuilder::addColorPicker(), FWDialogBuilder::addHSeparator(), FWDialogBuilder::addHSlider(), FWDialogBuilder::addLabel(), FWDialogBuilder::addNumberEntry(), FWDialogBuilder::addTextButton(), FWDialogBuilder::addTextEntry(), FWDialogBuilder::addTextView(), FWDialogBuilder::addValidatingTextEntry(), FWDialogBuilder::beginTab(), FWDialogBuilder::endTab(), FWDialogBuilder::expand(), fillEDIFrame(), FWDialogBuilder::floatLeft(), FWDialogBuilder::indent(), FWSelectionManager::itemSelectionChanged_, m_backButton, m_colorSelectWidget, m_filterButton, m_filterError, m_filterExpressionEntry, m_frontButton, m_instanceEntry, m_isVisibleButton, m_layerEntry, m_moduleEntry, m_nameEntry, m_objectLabel, m_opacitySlider, m_processEntry, m_removeButton, m_selectAllButton, m_selectButton, m_selectError, m_selectExpressionEntry, m_selectionManager, m_settersFrame, m_tabs, m_typeEntry, m_validator, FWEventItem::maxLayerValue(), FWEventItem::minLayerValue(), FWGUIValidatingTextEntry::setValidator(), FWDialogBuilder::tabs(), FWDialogBuilder::untabs(), and FWDialogBuilder::vSpacer().

                                                                                                                  :
   TGTransientFrame(gClient->GetDefaultRoot(), p, w, h),
   m_item(0),
   m_validator(new FWExpressionValidator),
   m_colorManager(colorMgr),
   m_settersFrame(0)
{
   m_selectionManager = selMgr;
   SetCleanup(kDeepCleanup);

   m_selectionManager->itemSelectionChanged_.connect(boost::bind(&CmsShowEDI::fillEDIFrame,this));

   TGVerticalFrame* vf = new TGVerticalFrame(this);
   AddFrame(vf, new TGLayoutHints(kLHintsExpandX|kLHintsExpandY, 0, 0, 0, 0));
   FWDialogBuilder builder(vf);

   builder.indent(0)
      .addLabel(" ", 14, 2, &m_objectLabel)
      .vSpacer()
      .tabs(&m_tabs)
      .beginTab("Graphics")
      .indent(3)
      .addLabel("Color", 8)
      .addColorPicker(colorMgr, &m_colorSelectWidget).expand(false)
      .addHSeparator()
      .addLabel("Opacity", 8)
      .addHSlider(150, &m_opacitySlider)
      .addHSeparator()
      .addCheckbox("Visible", &m_isVisibleButton)
      .addHSeparator()
      .addLabel("Drawing order", 8)
      .addTextButton("To back", &m_backButton).floatLeft().expand(false)
      .addNumberEntry(0.0, 4, TGNumberFormat::kNESInteger,
                      FWEventItem::minLayerValue(), 
                      FWEventItem::maxLayerValue(), 
                      &m_layerEntry).expand(false).floatLeft()
      .addTextButton("To front", &m_frontButton).expand(false)
      .vSpacer()
      .addHSeparator()
      .endTab()
      .beginTab("Filter")
      .indent(3)
      .addLabel("Expression", 8)
      .addValidatingTextEntry(0, &m_filterExpressionEntry).floatLeft()
      .addTextButton("Filter", &m_filterButton).expand(false)
      .addTextView("", &m_filterError)
      .vSpacer()
      .endTab()
      .beginTab("Select")
      .indent(3)
      .addLabel("Expression", 8)
      .addValidatingTextEntry(0, &m_selectExpressionEntry)
      .addTextButton("Select", &m_selectButton).floatLeft().expand(false)
      .addTextButton("Select all", &m_selectAllButton).expand(false)
      .addTextView("", &m_selectError)
      .vSpacer()
      .endTab()
      .beginTab("Data")
      .indent(3)
      .addLabel("Name:", 8)
      .addTextEntry("None", &m_nameEntry)
      .addLabel("Labels:", 8)
      .addLabel("Type:", 8)
      .addTextEntry("None", &m_typeEntry)
      .addLabel("Module:", 8)
      .addTextEntry("None", &m_moduleEntry)
      .addLabel("Instance:", 8)
      .addTextEntry("None", &m_instanceEntry)
      .addLabel("Process:", 8)
      .addTextEntry("None", &m_processEntry)
      .addHSeparator()
      .addTextButton("Remove collection", &m_removeButton).expand(false)
      .vSpacer()
      .endTab()
      .untabs();

   m_filterError->SetForegroundColor(gVirtualX->GetPixel(kRed));
   m_filterError->SetBackgroundColor(TGFrame::GetDefaultFrameBackground());
   m_filterError->ChangeOptions(0);
   
   m_selectError->SetForegroundColor(gVirtualX->GetPixel(kRed));
   m_selectError->SetBackgroundColor(TGFrame::GetDefaultFrameBackground());
   m_selectError->ChangeOptions(0);

   m_filterExpressionEntry->setValidator(m_validator);
   m_selectExpressionEntry->setValidator(m_validator);

   m_colorSelectWidget->Connect("ColorChosen(Color_t)", "CmsShowEDI", this, "changeItemColor(Color_t)");
   m_opacitySlider->Connect("PositionChanged(Int_t)", "CmsShowEDI", this, "changeItemOpacity(Int_t)");
   m_isVisibleButton->Connect("Toggled(Bool_t)", "CmsShowEDI", this, "toggleItemVisible(Bool_t)");
   m_filterExpressionEntry->Connect("ReturnPressed()", "CmsShowEDI", this, "runFilter()");
   m_filterButton->Connect("Clicked()", "CmsShowEDI", this, "runFilter()");
   m_selectExpressionEntry->Connect("ReturnPressed()", "CmsShowEDI", this, "runSelection()");
   m_selectButton->Connect("Clicked()", "CmsShowEDI", this, "runSelection()");
   m_removeButton->Connect("Clicked()", "CmsShowEDI", this, "removeItem()");
   m_selectAllButton->Connect("Clicked()", "CmsShowEDI", this, "selectAll()");
   m_frontButton->Connect("Clicked()","CmsShowEDI",this,"moveToFront()");
   m_backButton->Connect("Clicked()","CmsShowEDI",this,"moveToBack()");
   m_layerEntry->Connect("ValueSet(Long_t)","CmsShowEDI",this,"moveToLayer(Long_t)");
   

   TGCompositeFrame* cf = m_tabs->GetTabContainer(0);
   m_settersFrame = new TGVerticalFrame(cf);
   m_settersFrame->SetCleanup(kDeepCleanup);
   // m_settersFrame->SetBackgroundColor(0xff00ff);
   cf->AddFrame(m_settersFrame, new TGLayoutHints(kLHintsExpandX| kLHintsExpandY ));

   SetWindowName("Collection Controller");
   MapSubwindows();
   Resize(GetDefaultSize());
   Layout();

   fillEDIFrame();
}
CmsShowEDI::~CmsShowEDI ( ) [virtual]

Definition at line 184 of file CmsShowEDI.cc.

References disconnectAll(), m_backButton, m_colorSelectWidget, m_filterButton, m_filterExpressionEntry, m_frontButton, m_isVisibleButton, m_layerEntry, m_opacitySlider, m_removeButton, m_selectAllButton, m_selectButton, m_selectExpressionEntry, and m_validator.

{
   disconnectAll();
   m_colorSelectWidget->Disconnect("ColorSelected(Pixel_t)", this, "changeItemColor(Pixel_t)");
   m_opacitySlider->Disconnect("PositionChanged(Int_t)", this, "changeItemColor");
   m_isVisibleButton->Disconnect("Toggled(Bool_t)", this, "toggleItemVisible(Bool_t)");
   m_filterExpressionEntry->Disconnect("ReturnPressed()", this, "runFilter()");
   m_selectExpressionEntry->Disconnect("ReturnPressed()", this, "runSelection()");
   m_filterButton->Disconnect("Clicked()", this, "runFilter()");
   m_selectButton->Disconnect("Clicked()", this, "runSelection()");
   m_selectAllButton->Disconnect("Clicked()", this, "selectAll()");
   m_removeButton->Disconnect("Clicked()", this, "removeItem()");
   m_frontButton->Disconnect("Clicked()",this,"moveToFront()");
   m_backButton->Disconnect("Clicked()",this,"moveToBack()");
   m_layerEntry->Disconnect("ValueSet(Long_t)",this,"moveToLayer(Long_t)");
   //  delete m_objectLabel;
   //  delete m_colorSelectWidget;
   //  delete m_isVisibleButton;
   delete m_validator;
}
CmsShowEDI::CmsShowEDI ( const CmsShowEDI ) [private]

Member Function Documentation

void CmsShowEDI::changeItemColor ( Color_t  color)

Set the item color.

Notice that I changed this to use a "Copy and modify approach", rather than a "create with old properties" method which was not propagating transparency.

Definition at line 405 of file CmsShowEDI.cc.

References FWEventItem::defaultDisplayProperties(), m_item, FWDisplayProperties::setColor(), and FWEventItem::setDefaultDisplayProperties().

                                         {
   FWDisplayProperties changeProperties = m_item->defaultDisplayProperties();
   changeProperties.setColor(color);
   m_item->setDefaultDisplayProperties(changeProperties);
}
void CmsShowEDI::changeItemOpacity ( Int_t  opacity)

Changes selected item opacity. Notice that we use opacity rather than transparency because this way the slider is by default 100% rather than 0. This is more a more natural and positive way of looking at things.

Glass is full!

See changeItemColor for additional details.

Definition at line 427 of file CmsShowEDI.cc.

References FWEventItem::defaultDisplayProperties(), m_item, FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setTransparency().

                                           {
   FWDisplayProperties changeProperties = m_item->defaultDisplayProperties();
   changeProperties.setTransparency(100 - opacity);
   m_item->setDefaultDisplayProperties(changeProperties);
}
CmsShowEDI::ClassDef ( CmsShowEDI  ,
 
)
void CmsShowEDI::clearPBFrame ( ) [private]

Definition at line 221 of file CmsShowEDI.cc.

References f, and m_settersFrame.

Referenced by disconnectAll(), and fillEDIFrame().

{
   if (!m_settersFrame->GetList()->IsEmpty())
   {
      // printf("remove FRAME \n");
      TGFrameElement *el = (TGFrameElement*) m_settersFrame->GetList()->First();
      TGFrame* f = el->fFrame;
      f->UnmapWindow();
      m_settersFrame->RemoveFrame(f);
      f->DestroyWindow();
   }
}
virtual void CmsShowEDI::CloseWindow ( ) [inline, virtual]

Definition at line 61 of file CmsShowEDI.h.

{ UnmapWindow(); }
void CmsShowEDI::colorSetChanged ( )
void CmsShowEDI::disconnectAll ( )

Definition at line 359 of file CmsShowEDI.cc.

References clearPBFrame(), m_backButton, m_colorSelectWidget, m_destroyedConn, m_displayChangedConn, m_filterButton, m_filterExpressionEntry, m_frontButton, m_instanceEntry, m_isVisibleButton, m_item, m_layerEntry, m_modelChangedConn, m_moduleEntry, m_nameEntry, m_objectLabel, m_opacitySlider, m_processEntry, m_removeButton, m_selectAllButton, m_selectButton, m_selectExpressionEntry, m_typeEntry, and FWColorSelect::SetColorByIndex().

Referenced by fillEDIFrame(), and ~CmsShowEDI().

                          {
   m_objectLabel->SetText("No Collection Selected");
   clearPBFrame();
   if(0 != m_item) {
      m_displayChangedConn.disconnect();
      m_modelChangedConn.disconnect();
      m_destroyedConn.disconnect();
      m_item = 0;
      m_colorSelectWidget->SetColorByIndex(0,kFALSE);
      m_opacitySlider->SetPosition(100);
      m_isVisibleButton->SetDisabledAndSelected(kTRUE);
      m_filterExpressionEntry->SetText(0);
      m_selectExpressionEntry->SetText(0);
      m_nameEntry->SetText(0);
      m_typeEntry->SetText(0);
      m_moduleEntry->SetText(0);
      m_instanceEntry->SetText(0);
      m_processEntry->SetText(0);
      //  else m_isVisibleButton->SetState(kButtonDown, kFALSE);
      m_colorSelectWidget->SetEnabled(kFALSE);
      m_opacitySlider->SetEnabled(kFALSE);
      
      m_isVisibleButton->SetEnabled(kFALSE);
      m_filterExpressionEntry->SetEnabled(kFALSE);
      m_filterButton->SetEnabled(kFALSE);
      m_selectExpressionEntry->SetEnabled(kFALSE);
      m_selectButton->SetEnabled(kFALSE);
      m_selectAllButton->SetEnabled(kFALSE);
      m_removeButton->SetEnabled(kFALSE);
      m_backButton->SetEnabled(kFALSE);
      m_frontButton->SetEnabled(kFALSE);
      m_layerEntry->SetIntNumber(0);
      m_layerEntry->SetState(kFALSE);
      m_layerEntry->GetNumberEntry()->SetEnabled(kFALSE);
      m_layerEntry->GetButtonUp()->SetEnabled(kFALSE);
      m_layerEntry->GetButtonDown()->SetEnabled(kFALSE);
   }
}
void CmsShowEDI::fillEDIFrame ( )

Definition at line 235 of file CmsShowEDI.cc.

References FWEventItem::changed_, clearPBFrame(), FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), FWEventItem::defaultDisplayPropertiesChanged_, disconnectAll(), FWEventItem::filterExpression(), FWEventItem::getConfig(), FWEventItem::goingToBeDestroyed_, FWDisplayProperties::isVisible(), m_colorSelectWidget, m_destroyedConn, m_displayChangedConn, m_filterButton, m_filterError, m_filterExpressionEntry, m_instanceEntry, m_isVisibleButton, m_item, m_layerEntry, m_modelChangedConn, m_moduleEntry, m_nameEntry, m_objectLabel, m_opacitySlider, m_processEntry, m_removeButton, m_selectAllButton, m_selectButton, m_selectError, m_selectExpressionEntry, m_selectionManager, m_settersFrame, m_typeEntry, m_validator, FWEventItem::modelType(), FWEventItem::moduleLabel(), FWEventItem::name(), AlCaHLTBitMon_ParallelJobs::p, FWProxyBuilderConfiguration::populateFrame(), FWEventItem::processName(), FWEventItem::productInstanceLabel(), alignCSCRings::s, FWSelectionManager::selectedItems(), FWColorSelect::SetColorByIndex(), FWExpressionValidator::setType(), FWDisplayProperties::transparency(), FWEventItem::type(), updateDisplay(), updateFilter(), and updateLayerControls().

Referenced by CmsShowEDI().

                         {
   FWEventItem* iItem =0;
   bool multipleCollections = false;
   if(!m_selectionManager->selectedItems().empty()) {
      if(m_selectionManager->selectedItems().size()==1) {
         iItem=*(m_selectionManager->selectedItems().begin());
      } else {
         multipleCollections=true;
      }
   }
   //m_item can be zero because we had 0 or many collections selected
   if (0 == m_item || iItem != m_item) {
      disconnectAll();
      m_item = iItem;
      if(0 != m_item) {
         const FWDisplayProperties &p = iItem->defaultDisplayProperties();
         m_objectLabel->SetText(iItem->name().c_str());
         m_colorSelectWidget->SetColorByIndex(p.color(),kFALSE);
         m_opacitySlider->SetPosition(100 - p.transparency());
         m_isVisibleButton->SetDisabledAndSelected(p.isVisible());
         m_validator->setType(ROOT::Reflex::Type::ByTypeInfo(*(iItem->modelType()->GetTypeInfo())));
         m_filterExpressionEntry->SetText(iItem->filterExpression().c_str());
         m_filterError->Clear();
         m_selectError->Clear();
         m_nameEntry->SetText(iItem->name().c_str());
         m_typeEntry->SetText(iItem->type()->GetName());
         m_moduleEntry->SetText(iItem->moduleLabel().c_str());
         m_instanceEntry->SetText(iItem->productInstanceLabel().c_str());
         m_processEntry->SetText(iItem->processName().c_str());
         //  else m_isVisibleButton->SetState(kButtonDown, kFALSE);
         m_colorSelectWidget->SetEnabled(kTRUE);
         m_opacitySlider->SetEnabled(kTRUE);
         m_isVisibleButton->SetEnabled(kTRUE);
         m_filterExpressionEntry->SetEnabled(kTRUE);
         m_selectExpressionEntry->SetEnabled(kTRUE);
         m_filterButton->SetEnabled(kTRUE);
         m_selectButton->SetEnabled(kTRUE);
         m_selectAllButton->SetEnabled(kTRUE);
         m_removeButton->SetEnabled(kTRUE);
         updateLayerControls();
         m_layerEntry->SetState(kTRUE);
         m_displayChangedConn = m_item->defaultDisplayPropertiesChanged_.connect(boost::bind(&CmsShowEDI::updateDisplay, this));
         m_modelChangedConn = m_item->changed_.connect(boost::bind(&CmsShowEDI::updateFilter, this));
         //    m_selectionChangedConn = m_selectionManager->selectionChanged_.connect(boost::bind(&CmsShowEDI::updateSelection, this));
         m_destroyedConn = m_item->goingToBeDestroyed_.connect(boost::bind(&CmsShowEDI::disconnectAll, this));
                       
         clearPBFrame();
         m_item->getConfig()->populateFrame(m_settersFrame);
      }
      else if(multipleCollections) {
         std::ostringstream s;
         s<<m_selectionManager->selectedItems().size()<<" Collections Selected";
         m_objectLabel->SetText(s.str().c_str());
      }

      Resize(GetDefaultSize());
      Layout();
   }
}
void CmsShowEDI::moveToBack ( )
void CmsShowEDI::moveToFront ( )
void CmsShowEDI::moveToLayer ( Long_t  )

Definition at line 347 of file CmsShowEDI.cc.

References m_item, m_layerEntry, FWEventItem::moveToLayer(), and updateLayerControls().

{
   m_item->moveToLayer(static_cast<Int_t>(m_layerEntry->GetIntNumber()));
   updateLayerControls(); 
}
const CmsShowEDI& CmsShowEDI::operator= ( const CmsShowEDI ) [private]
void CmsShowEDI::removeItem ( )

Definition at line 296 of file CmsShowEDI.cc.

References FWEventItem::destroy(), m_item, python::rootplot::argparse::message, and FWEventItem::name().

                       {
   Int_t chosen=0;
   std::string message("This action will remove the ");
   message += m_item->name();
   message +=" collection from the display."
              "\nIf you wish to return the collection you would have to use the 'Add Collection' window.";
   new TGMsgBox(gClient->GetDefaultRoot(),
                this,
                "Remove Collection Confirmation",
                message.c_str(),
                kMBIconExclamation,
                kMBCancel | kMBApply,
                &chosen);
   if(kMBApply == chosen) {
      m_item->destroy();
      m_item = 0;
      //make sure the ROOT global editor does not try to use this
      gEve->EditElement(0);
      gEve->Redraw3D();
   }
}
void CmsShowEDI::runFilter ( )

Definition at line 434 of file CmsShowEDI.cc.

References FWExpressionException::column(), alignCSCRings::e, align_tpl::filter, m_filterError, m_filterExpressionEntry, m_item, FWEventItem::setFilterExpression(), and FWExpressionException::what().

                      {
   const std::string filter(m_filterExpressionEntry->GetText());
   if (m_item != 0) {
      try {
         m_filterError->Clear();
         m_item->setFilterExpression(filter);
      } catch( const FWExpressionException& e) {
         m_filterError->AddLine(e.what().c_str());
         m_filterError->Update();
         if(e.column() > -1) {
            m_filterExpressionEntry->SetCursorPosition(e.column());
         }
      }
   }
}
void CmsShowEDI::runSelection ( )

Definition at line 451 of file CmsShowEDI.cc.

References FWExpressionException::column(), alignCSCRings::e, m_item, m_selectError, m_selectExpressionEntry, FWModelExpressionSelector::select(), corrVsCorr::selection, FWEventItem::selectionManager(), and FWExpressionException::what().

                         {
   FWModelExpressionSelector selector;
   const std::string selection(m_selectExpressionEntry->GetText());
   if (m_item != 0)
   {
      try
      {
         m_selectError->Clear();
         //NOTE call clearModelSelectionLeaveItem so that the item does not get deselected
         // just for safety use a copy of the pointer to m_item
         FWEventItem* item = m_item;
         item->selectionManager()-> clearModelSelectionLeaveItem();

         selector.select(item, selection);
      }
      catch( const FWExpressionException& e)
      {
         m_selectError->AddLine(e.what().c_str());
         m_selectError->Update();
         if (e.column() > -1)
         {
            m_selectExpressionEntry->SetCursorPosition(e.column());
         }
      }
   }
}
void CmsShowEDI::selectAll ( )

Definition at line 479 of file CmsShowEDI.cc.

References FWEventItem::changeManager(), i, m_item, FWEventItem::select(), and FWEventItem::size().

{
   FWChangeSentry sentry(*(m_item->changeManager()));
   for (int i = 0; i < static_cast<int>(m_item->size()); i++)
   {
      m_item->select(i);
   }
}
void CmsShowEDI::show ( FWDataCategories  iToView)

Definition at line 488 of file CmsShowEDI.cc.

References m_tabs.

Referenced by FWGUIManager::showEDIFrame().

{
   m_tabs->SetTab(iToView);
}
void CmsShowEDI::toggleItemVisible ( Bool_t  on = kTRUE)

See changeItemColor for additional details.

Definition at line 413 of file CmsShowEDI.cc.

References FWEventItem::defaultDisplayProperties(), m_item, FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setIsVisible().

                                       {
   FWDisplayProperties changeProperties = m_item->defaultDisplayProperties();
   changeProperties.setIsVisible(on);
   m_item->setDefaultDisplayProperties(changeProperties);
}
void CmsShowEDI::updateDisplay ( )
void CmsShowEDI::updateFilter ( )

Definition at line 354 of file CmsShowEDI.cc.

References FWEventItem::filterExpression(), m_filterExpressionEntry, and m_item.

Referenced by fillEDIFrame().

                         {
   m_filterExpressionEntry->SetText(m_item->filterExpression().c_str());
}
void CmsShowEDI::updateLayerControls ( )

Member Data Documentation

TGTextButton* CmsShowEDI::m_backButton [private]

Definition at line 103 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), updateLayerControls(), and ~CmsShowEDI().

Definition at line 127 of file CmsShowEDI.h.

sigc::connection CmsShowEDI::m_destroyedConn [private]

Definition at line 122 of file CmsShowEDI.h.

Referenced by disconnectAll(), and fillEDIFrame().

sigc::connection CmsShowEDI::m_displayChangedConn [private]

Definition at line 120 of file CmsShowEDI.h.

Referenced by disconnectAll(), and fillEDIFrame().

TGTextButton* CmsShowEDI::m_filterButton [private]

Definition at line 110 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().

TGTextView* CmsShowEDI::m_filterError [private]

Definition at line 124 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), fillEDIFrame(), and runFilter().

TGTextButton* CmsShowEDI::m_frontButton [private]

Definition at line 102 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), updateLayerControls(), and ~CmsShowEDI().

TGTextEntry* CmsShowEDI::m_instanceEntry [private]

Definition at line 116 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().

TGCheckButton* CmsShowEDI::m_isVisibleButton [private]

Definition at line 107 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), updateDisplay(), and ~CmsShowEDI().

TGNumberEntry* CmsShowEDI::m_layerEntry [private]
sigc::connection CmsShowEDI::m_modelChangedConn [private]

Definition at line 121 of file CmsShowEDI.h.

Referenced by disconnectAll(), and fillEDIFrame().

TGTextEntry* CmsShowEDI::m_moduleEntry [private]

Definition at line 115 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().

TGTextEntry* CmsShowEDI::m_nameEntry [private]

Definition at line 113 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().

TGLabel* CmsShowEDI::m_objectLabel [private]

Definition at line 100 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().

TGHSlider* CmsShowEDI::m_opacitySlider [private]

Definition at line 106 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), updateDisplay(), and ~CmsShowEDI().

TGTextEntry* CmsShowEDI::m_processEntry [private]

Definition at line 117 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().

TGTextButton* CmsShowEDI::m_removeButton [private]

Definition at line 101 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().

TGTextButton* CmsShowEDI::m_selectAllButton [private]

Definition at line 112 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().

TGTextButton* CmsShowEDI::m_selectButton [private]

Definition at line 111 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().

TGTextView* CmsShowEDI::m_selectError [private]

Definition at line 125 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), fillEDIFrame(), and runSelection().

Definition at line 109 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), runSelection(), and ~CmsShowEDI().

Definition at line 98 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), and fillEDIFrame().

TGCompositeFrame* CmsShowEDI::m_settersFrame [private]

Definition at line 129 of file CmsShowEDI.h.

Referenced by clearPBFrame(), CmsShowEDI(), and fillEDIFrame().

TGTab* CmsShowEDI::m_tabs [private]

Definition at line 99 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), and show().

TGTextEntry* CmsShowEDI::m_typeEntry [private]

Definition at line 114 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().

Definition at line 126 of file CmsShowEDI.h.

Referenced by CmsShowEDI(), fillEDIFrame(), and ~CmsShowEDI().