#include <Fireworks/Core/interface/FWEventItem.h>
Classes | |
struct | ModelInfo |
Public Member Functions | |
FWModelChangeManager * | changeManager () const |
FWColorManager * | colorManager () const |
const fireworks::Context & | context () const |
const void * | data (const std::type_info &) const |
const FWDisplayProperties & | defaultDisplayProperties () const |
void | destroy () const |
const std::string & | errorMessage () const |
returns error string if there was a problem this event More... | |
const std::string & | filterExpression () const |
FWEventItem (fireworks::Context *iContext, unsigned int iItemId, boost::shared_ptr< FWItemAccessorBase > iAccessor, const FWPhysicsObjectDesc &iDesc, const FWConfiguration *pbConf=0) | |
template<class T > | |
void | get (const T *&oData) const |
FWProxyBuilderConfiguration * | getConfig () const |
const edm::EventBase * | getEvent () const |
const FWGeometry * | getGeom () const |
bool | hasError () const |
returns true if failed to get data for this event More... | |
bool | hasEvent () const |
bool | haveInterestingValue () const |
unsigned int | id () const |
bool | isCollection () const |
bool | isInBack () const |
returns true if item is behind all other items More... | |
bool | isInFront () const |
returns true if item is in front of all other items More... | |
bool | itemIsSelected () const |
int | layer () const |
const void * | modelData (int iIndex) const |
ModelInfo | modelInfo (int iIndex) const |
const std::string & | modelInterestingValueAsString (int iIndex) const |
std::string | modelName (int iIndex) const |
const TClass * | modelType () const |
const std::string & | moduleLabel () const |
void | moveToBack () |
void | moveToFront () |
void | moveToLayer (int layer) |
const std::string & | name () const |
const std::string & | processName () const |
const std::string & | productInstanceLabel () const |
void | proxyConfigChanged () |
const std::string & | purpose () const |
void | select (int iIndex) const |
FWSelectionManager * | selectionManager () const |
void | selectItem () |
void | setDefaultDisplayProperties (const FWDisplayProperties &) |
void | setDisplayProperties (int iIndex, const FWDisplayProperties &) const |
void | setEvent (const edm::EventBase *iEvent) |
void | setFilterExpression (const std::string &) |
void | setLabels (const std::string &iModule, const std::string &iProductInstance, const std::string &iProcess) |
void | setName (const std::string &iName) |
size_t | size () const |
void | toggleSelect (int iIndex) const |
void | toggleSelectItem () |
const TClass * | type () const |
void | unselect (int iIndex) const |
void | unselectItem () |
const FWItemValueGetter & | valueGetter () const |
one value from the model which is normally used for the popup More... | |
virtual | ~FWEventItem () |
Static Public Member Functions | |
static int | maxLayerValue () |
static int | minLayerValue () |
Private Member Functions | |
void | getPrimaryData () const |
void | handleChange () |
void | runFilter () |
void | setData (const Reflex::Object &) const |
Private Attributes | |
boost::shared_ptr < FWItemAccessorBase > | m_accessor |
const fireworks::Context * | m_context |
FWDisplayProperties | m_displayProperties |
std::string | m_errorMessage |
const edm::EventBase * | m_event |
FWModelFilter | m_filter |
unsigned int | m_id |
FWItemValueGetter | m_interestingValueGetter |
bool | m_isSelected |
std::vector< ModelInfo > | m_itemInfos |
int | m_layer |
std::string | m_moduleLabel |
std::string | m_name |
bool | m_printedErrorThisEvent |
std::string | m_processName |
std::string | m_productInstanceLabel |
FWProxyBuilderConfiguration * | m_proxyBuilderConfig |
std::string | m_purpose |
const TClass * | m_type |
Reflex::Type | m_wrapperType |
Description: Stand in for a top level item in an Event
Usage: <usage>
Definition at line 57 of file FWEventItem.h.
FWEventItem::FWEventItem | ( | fireworks::Context * | iContext, |
unsigned int | iItemId, | ||
boost::shared_ptr< FWItemAccessorBase > | iAccessor, | ||
const FWPhysicsObjectDesc & | iDesc, | ||
const FWConfiguration * | pbConf = 0 |
||
) |
Definition at line 53 of file FWEventItem.cc.
References m_accessor, m_filter, m_itemInfos, m_proxyBuilderConfig, modelType(), and FWModelFilter::setClassName().
|
virtual |
Definition at line 100 of file FWEventItem.cc.
References m_proxyBuilderConfig.
|
inline |
Definition at line 131 of file FWEventItem.h.
References m_context, and fireworks::Context::modelChangeManager().
Referenced by FWFromSliceSelector::changeManager(), CmsShowEDI::changeSelectionColor(), CmsShowEDI::deselectAll(), destroy(), FWCaloTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWCaloTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), handleChange(), FWCollectionSummaryWidget::modelSelected(), runFilter(), FWModelExpressionSelector::select(), select(), CmsShowEDI::selectAll(), setDefaultDisplayProperties(), setDisplayProperties(), toggleSelect(), and unselect().
|
inline |
Definition at line 138 of file FWEventItem.h.
References fireworks::Context::colorManager(), and m_context.
Referenced by FWCollectionSummaryWidget::colorClicked(), FWCollectionSummaryWidget::createColorPopup(), and FWCollectionSummaryWidget::itemColorClicked().
|
inline |
Definition at line 127 of file FWEventItem.h.
References m_context.
Referenced by FWCaloDataProxyBuilderBase::build(), FWDetailViewBase::context(), and FWProxyBuilderBase::context().
const void * FWEventItem::data | ( | const std::type_info & | iInfo | ) | const |
Definition at line 393 of file FWEventItem.cc.
References cppFunctionSkipper::exception, edm::EventBase::getByLabel(), patZpeak::handle, m_accessor, m_errorMessage, m_event, m_moduleLabel, m_printedErrorThisEvent, m_processName, m_productInstanceLabel, m_type, name(), alignCSCRings::s, setData(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by get(), FWHandle::getFrom(), and getPrimaryData().
const FWDisplayProperties & FWEventItem::defaultDisplayProperties | ( | ) | const |
Definition at line 451 of file FWEventItem.cc.
References m_displayProperties.
Referenced by FWInteractionList::added(), FWConvTrackHitsDetailView::addHits(), FWTrackHitsDetailView::addHits(), FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), FWPFCandidateWithHitsProxyBuilder::build(), FWBeamSpotProxyBuilder::build(), FWPFClusterRPZProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), CmsShowEDI::changeItemColor(), CmsShowEDI::changeItemOpacity(), CmsShowEDI::changeSelectionColor(), FWCollectionSummaryWidget::colorChangeRequested(), FWCollectionSummaryWidget::colorClicked(), CmsShowEDI::colorSetChanged(), FWCollectionSummaryWidget::createColorPopup(), FWProxyBuilderBase::createCompound(), FWCollectionSummaryWidget::displayChanged(), CmsShowEDI::fillEDIFrame(), fireworks::makeRhoPhiSuperCluster(), FWCollectionSummaryWidget::setBackgroundToWhite(), fireworks::setupAddElement(), FWPFBlockProxyBuilder::setupClusterElement(), FWProxyBuilderBase::setupElement(), FWPFClusterRPZProxyBuilder::sharedBuild(), FWCollectionSummaryWidget::toggleItemVisible(), CmsShowEDI::toggleItemVisible(), and CmsShowEDI::updateDisplay().
void FWEventItem::destroy | ( | ) | const |
Definition at line 608 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), goingToBeDestroyed_, id(), getHLTprescales::index, m_itemInfos, selectionManager(), size(), FWSelectionManager::unselect(), and unselectItem().
Referenced by FWEventItemsManager::clearItems(), and CmsShowEDI::removeItem().
const std::string & FWEventItem::errorMessage | ( | ) | const |
returns error string if there was a problem this event
Definition at line 672 of file FWEventItem.cc.
References getPrimaryData(), and m_errorMessage.
Referenced by Vispa.Main.Application.Application::_loadPlugins(), hasError(), FWCollectionSummaryWidget::itemChanged(), Vispa.Main.Application.Application::openFile(), and ConfigToolBase.ConfigToolBase::typeError().
const std::string & FWEventItem::filterExpression | ( | ) | const |
Definition at line 602 of file FWEventItem.cc.
References FWModelFilter::expression(), and m_filter.
Referenced by CmsShowEDI::fillEDIFrame(), FWCollectionSummaryWidget::itemChanged(), and CmsShowEDI::updateFilter().
|
inline |
Definition at line 85 of file FWEventItem.h.
References data().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), FWPFCandidateWithHitsProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWCSCStripDigiProxyBuilder::build(), FWSiStripDigiProxyBuilder::build(), FWRPCDigiProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), FWSimTrackProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), FWTrackProxyBuilderFF::build(), FWCaloTowerProxyBuilderBase::build(), FWHFTowerProxyBuilderBase::build(), FWPFTauProxyBuilder::buildViewType(), FWCaloTauProxyBuilder::buildViewType(), FWDTDigiProxyBuilder::buildViewType(), FWCaloTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWCaloTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
inline |
Definition at line 166 of file FWEventItem.h.
References m_proxyBuilderConfig.
Referenced by FWGenParticleLegoProxyBuilder::build(), FWTrackProxyBuilderFF::build(), FWVertexProxyBuilder::build(), FWJetProxyBuilder::buildViewType(), CmsShowEDI::fillEDIFrame(), FWGenParticleLegoProxyBuilder::setItem(), FWTrackingParticleProxyBuilder::setItem(), FWTrackProxyBuilderFF::setItem(), FWVertexProxyBuilder::setItem(), FWJetProxyBuilder::setItem(), and FWJetProxyBuilder::setTextPos().
|
inline |
Definition at line 147 of file FWEventItem.h.
References m_event.
Referenced by FWSimTrackProxyBuilder::build(), FWTrackProxyBuilderFF::build(), and FWPFCandidateWithHitsProxyBuilder::initPFRecHitsCollections().
const FWGeometry * FWEventItem::getGeom | ( | ) | const |
Definition at line 681 of file FWEventItem.cc.
References fireworks::Context::getGeom(), and m_context.
Referenced by FWConvTrackHitsDetailView::addModules(), FWTrackHitsDetailView::addModules(), fireworks::addSiStripClusters(), FWPRCaloTowerProxyBuilder::build(), FWCaloClusterProxyBuilder::build(), FWTrackTrackingRecHitProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWSiStripClusterProxyBuilder::build(), FWTracksModulesProxyBuilder::build(), FWSiPixelClusterDetProxyBuilder::build(), FWCSCRecHitProxyBuilder::build(), FWCSCStripDigiProxyBuilder::build(), FWSiStripDigiProxyBuilder::build(), FWRPCDigiProxyBuilder::build(), FWCSCWireDigiProxyBuilder::build(), FWCSCSegmentProxyBuilder::build(), FWSiPixelClusterProxyBuilder::build(), FWSiPixelDigiProxyBuilder::build(), FWTrackingParticleProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWPSimHitProxyBuilder::buildViewType(), FWRPCRecHitProxyBuilder::buildViewType(), FWPhotonProxyBuilder::buildViewType(), FWDTSegmentProxyBuilder::buildViewType(), FWDTDigiProxyBuilder::buildViewType(), FWHFTowerProxyBuilderBase::fillTowerForDetId(), FWHFTowerSliceSelector::findBinFromId(), fireworks::pushNearbyPixelHits(), fireworks::pushPixelHits(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), and FWPFCandidateWithHitsProxyBuilder::scaleProduct().
|
private |
Definition at line 443 of file FWEventItem.cc.
References data(), m_accessor, and m_type.
Referenced by errorMessage(), handleChange(), modelData(), modelInfo(), modelInterestingValueAsString(), FWFileEntry::runFilter(), and size().
|
private |
Definition at line 379 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), getPrimaryData(), preItemChanged_, and runFilter().
Referenced by moveToBack(), moveToFront(), moveToLayer(), proxyConfigChanged(), setEvent(), and setLabels().
bool FWEventItem::hasError | ( | void | ) | const |
returns true if failed to get data for this event
Definition at line 667 of file FWEventItem.cc.
References errorMessage().
Referenced by FWCollectionSummaryWidget::itemChanged().
|
inline |
bool FWEventItem::haveInterestingValue | ( | ) | const |
Definition at line 587 of file FWEventItem.cc.
Referenced by FWInteractionList::added(), and FWInteractionList::itemChanged().
unsigned int FWEventItem::id | ( | void | ) | const |
Unique ID for the item. This number starts at 0 and increments by one for each new item.
Definition at line 494 of file FWEventItem.cc.
References m_id.
Referenced by FWModelChangeManager::changed(), destroy(), FWSelectionManager::itemChanged(), FWSummaryManager::itemDestroyed(), FWGUIManager::newItem(), FWModelChangeManager::newItemSlot(), FWEventItemsManager::removeItem(), runFilter(), FWSelectionManager::select(), select(), setDefaultDisplayProperties(), setDisplayProperties(), toggleSelect(), FWSelectionManager::unselect(), and unselect().
bool FWEventItem::isCollection | ( | ) | const |
Definition at line 555 of file FWEventItem.cc.
References m_accessor.
bool FWEventItem::isInBack | ( | ) | const |
returns true if item is behind all other items
Definition at line 478 of file FWEventItem.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), layer(), and m_context.
Referenced by CmsShowEDI::updateLayerControls().
bool FWEventItem::isInFront | ( | ) | const |
returns true if item is in front of all other items
Definition at line 463 of file FWEventItem.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), layer(), and m_context.
Referenced by CmsShowEDI::updateLayerControls().
bool FWEventItem::itemIsSelected | ( | ) | const |
Definition at line 661 of file FWEventItem.cc.
References m_isSelected.
Referenced by FWCollectionSummaryWidget::displayChanged(), FWCollectionSummaryWidget::infoClicked(), FWCollectionSummaryWidget::labelClicked(), FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::stateClicked().
int FWEventItem::layer | ( | ) | const |
objects with a larger layer number are drawn on top of objects with a lower number
Definition at line 457 of file FWEventItem.cc.
References m_layer.
Referenced by addElements(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), isInBack(), isInFront(), FWProxyBuilderBase::itemChanged(), FWProxyBuilderBase::layer(), moveToBack(), moveToFront(), and CmsShowEDI::updateLayerControls().
|
static |
Definition at line 44 of file FWEventItem.cc.
Referenced by CmsShowEDI::CmsShowEDI(), moveToFront(), and moveToLayer().
|
static |
Definition at line 39 of file FWEventItem.cc.
Referenced by CmsShowEDI::CmsShowEDI(), moveToBack(), and moveToLayer().
const void * FWEventItem::modelData | ( | int | iIndex | ) | const |
Definition at line 567 of file FWEventItem.cc.
References getPrimaryData(), and m_accessor.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWDetailViewBase::build(), FWSimpleProxyBuilder::build(), FWSimpleProxyBuilder::buildViewType(), FWCollectionSummaryTableManager::cellRenderer(), FWTableViewTableManager::cellRenderer(), FWTableViewTableManager::rowHeader(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), FWViewContextMenuHandlerGL::select(), FWModelExpressionSelector::select(), and FWSimpleProxyBuilder::visibilityModelChanges().
FWEventItem::ModelInfo FWEventItem::modelInfo | ( | int | iIndex | ) | const |
Definition at line 535 of file FWEventItem.cc.
References getPrimaryData(), FWDisplayProperties::isVisible(), m_displayProperties, m_itemInfos, FWDisplayProperties::setIsVisible(), and lumiQTWidget::t.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWPRCaloTowerProxyBuilder::build(), FWPCaloHitProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWSimpleProxyBuilder::build(), FWPFEcalClusterRPZProxyBuilder::build(), FWPFHcalClusterRPZProxyBuilder::build(), FWSimpleProxyBuilder::buildViewType(), FWCollectionSummaryTableManager::buttonReleasedInRowHeader(), FWCollectionSummaryTableManager::cellRenderer(), FWTableViewTableManager::cellRenderer(), FWFromSliceSelector::clear(), FWCollectionSummaryWidget::colorChangeRequested(), FWTableViewTableManager::dataChanged(), FWCaloTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWModelIdFromEveSelector::doSelect(), FWCaloTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), FWModelIdFromEveSelector::doUnselect(), FWHFTowerProxyBuilderBase::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), CmsShowModelPopup::fillModelPopup(), FWProxyBuilderBase::increaseComponentTransparency(), FWInteractionList::itemChanged(), FWCollectionSummaryWidget::itemColorClicked(), FWBeamSpotProxyBuilder::localModelChanges(), FWPFCandidatesLegoProxyBuilder::localModelChanges(), FWCandidateLegoProxyBuilder::localModelChanges(), FWPFPatJetLegoProxyBuilder< T >::localModelChanges(), FWPFClusterLegoProxyBuilder::localModelChanges(), FWPFEcalRecHitLegoProxyBuilder::localModelChanges(), FWInteractionList::modelChanges(), FWDigitSetProxyBuilder::modelChanges(), FWTableViewTableManager::rowHeader(), FWModelExpressionSelector::select(), FWCollectionSummaryModelCellRenderer::setData(), FWSecondarySelectableSelector::syncSelection(), FWTrackProxyBuilderFF::visibilityModelChanges(), and FWSimpleProxyBuilder::visibilityModelChanges().
const std::string & FWEventItem::modelInterestingValueAsString | ( | int | iIndex | ) | const |
Definition at line 594 of file FWEventItem.cc.
References getPrimaryData(), FWItemValueGetter::getToolTip(), m_accessor, and m_interestingValueGetter.
Referenced by FWInteractionList::added(), FWDigitSetProxyBuilder::getTooltip(), and FWInteractionList::itemChanged().
std::string FWEventItem::modelName | ( | int | iIndex | ) | const |
Definition at line 574 of file FWEventItem.cc.
References name(), and alignCSCRings::s.
Referenced by FWInteractionList::added(), CmsShowModelPopup::fillModelPopup(), FWInteractionList::itemChanged(), FWCollectionSummaryWidget::itemColorClicked(), and FWCollectionSummaryModelCellRenderer::setData().
const TClass * FWEventItem::modelType | ( | ) | const |
Definition at line 561 of file FWEventItem.cc.
References m_accessor.
Referenced by FWDetailViewManager::detailViewsFor(), CmsShowEDI::fillEDIFrame(), FWCollectionSummaryTableManager::FWCollectionSummaryTableManager(), FWEventItem(), FWSimpleProxyHelper::itemChanged(), FWModelExpressionSelector::select(), FWTableView::selectCollection(), and FWTableViewTableManager::updateEvaluators().
const std::string & FWEventItem::moduleLabel | ( | ) | const |
Definition at line 518 of file FWEventItem.cc.
References m_moduleLabel.
Referenced by CmsShowEDI::fillEDIFrame(), and FWFileEntry::runFilter().
void FWEventItem::moveToBack | ( | ) |
Definition at line 334 of file FWEventItem.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), handleChange(), layer(), m_accessor, m_context, m_itemInfos, m_layer, max(), and minLayerValue().
Referenced by CmsShowEDI::moveToBack().
void FWEventItem::moveToFront | ( | ) |
change layering
Definition at line 311 of file FWEventItem.cc.
References FWEventItemsManager::begin(), FWEventItemsManager::end(), fireworks::Context::eventItemsManager(), handleChange(), layer(), m_accessor, m_context, m_itemInfos, m_layer, maxLayerValue(), and min.
Referenced by CmsShowEDI::moveToFront().
void FWEventItem::moveToLayer | ( | int | layer | ) |
Definition at line 357 of file FWEventItem.cc.
References fireworks::Context::eventItemsManager(), handleChange(), m_accessor, m_context, m_itemInfos, m_layer, max(), maxLayerValue(), min, and minLayerValue().
Referenced by CmsShowEDI::moveToLayer().
const std::string & FWEventItem::name | ( | void | ) | const |
Definition at line 500 of file FWEventItem.cc.
References m_name.
Referenced by FWProxyBuilderBase::build(), FWCollectionSummaryWidget::colorClicked(), FWCollectionSummaryWidget::createColorPopup(), data(), CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWEventItemsManager::find(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWDigitSetProxyBuilder::getTooltip(), FWPFCandidateWithHitsProxyBuilder::initPFRecHitsCollections(), modelName(), FWGUIManager::newItem(), FWViewManagerManager::registerEventItem(), FWViewManagerManager::removeEventItem(), CmsShowEDI::removeItem(), runFilter(), FWTableView::updateItems(), and Vispa.Views.PropertyView.Property::valueChanged().
const std::string & FWEventItem::processName | ( | ) | const |
Definition at line 529 of file FWEventItem.cc.
References m_processName.
Referenced by CmsShowEDI::fillEDIFrame(), and FWFileEntry::runFilter().
const std::string & FWEventItem::productInstanceLabel | ( | ) | const |
Definition at line 523 of file FWEventItem.cc.
References m_productInstanceLabel.
Referenced by CmsShowEDI::fillEDIFrame(), and FWFileEntry::runFilter().
void FWEventItem::proxyConfigChanged | ( | ) |
Definition at line 369 of file FWEventItem.cc.
References fireworks::Context::eventItemsManager(), handleChange(), m_accessor, m_context, and m_itemInfos.
Referenced by FWProxyBuilderConfiguration::assertParam().
const std::string & FWEventItem::purpose | ( | ) | const |
Since the same C++ type can be used for multiple purposes, this string disambiguates them.
Definition at line 512 of file FWEventItem.cc.
References m_purpose.
Referenced by FWProxyBuilderBase::canHandle(), and FWEveViewManager::newItem().
|
private |
Definition at line 208 of file FWEventItem.cc.
References dtNoiseDBValidation_cfg::cerr, FWModelChangeManager::changed(), changeManager(), cppFunctionSkipper::exception, id(), getHLTprescales::index, m_accessor, m_filter, m_itemInfos, name(), FWModelFilter::passesFilter(), and size().
Referenced by handleChange(), and setFilterExpression().
void FWEventItem::select | ( | int | iIndex | ) | const |
Definition at line 251 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, EgammaValidation_Wenu_cff::sel, FWSelectionManager::select(), selectionManager(), and selectItem().
Referenced by Vispa.Views.LineDecayView.LineDecayContainer::createObject(), FWCaloTowerSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), Vispa.Views.LineDecayView.LineDecayContainer::mousePressEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.AbstractView.AbstractView::restoreSelection(), FWModelExpressionSelector::select(), FWModelId::select(), CmsShowEDI::selectAll(), and FWSecondarySelectableSelector::syncSelection().
|
inline |
Definition at line 134 of file FWEventItem.h.
References m_context, and fireworks::Context::selectionManager().
Referenced by CmsShowEDI::changeSelectionColor(), destroy(), FWCollectionSummaryWidget::infoClicked(), FWCollectionSummaryWidget::labelClicked(), FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), CmsShowEDI::runSelection(), select(), selectItem(), FWCollectionSummaryWidget::stateClicked(), toggleSelect(), toggleSelectItem(), unselect(), and unselectItem().
void FWEventItem::selectItem | ( | ) |
Select the item (i.e. container) itself
Definition at line 632 of file FWEventItem.cc.
References defaultDisplayPropertiesChanged_, m_isSelected, selectionManager(), and FWSelectionManager::selectItem().
Referenced by FWCollectionSummaryWidget::infoClicked(), FWCollectionSummaryWidget::labelClicked(), select(), and FWCollectionSummaryWidget::stateClicked().
|
private |
Definition at line 430 of file FWEventItem.cc.
References m_accessor, m_displayProperties, and m_itemInfos.
Referenced by data().
void FWEventItem::setDefaultDisplayProperties | ( | const FWDisplayProperties & | iProp | ) |
This is the place where not only display properties are changed, but which is also responsible to notify the FWModelChangeManager about the change. If you've just added some property, you have a nice GUI for it and still nothing works, this is probably the place where you want to look.
Definition at line 156 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), FWDisplayProperties::color(), defaultDisplayPropertiesChanged_, id(), getHLTprescales::index, FWDisplayProperties::isVisible(), m_displayProperties, m_itemInfos, prp, FWDisplayProperties::setColor(), FWDisplayProperties::setTransparency(), size(), and FWDisplayProperties::transparency().
Referenced by CmsShowEDI::changeItemColor(), CmsShowEDI::changeItemOpacity(), FWCollectionSummaryWidget::colorChangeRequested(), FWCollectionSummaryWidget::toggleItemVisible(), and CmsShowEDI::toggleItemVisible().
void FWEventItem::setDisplayProperties | ( | int | iIndex, |
const FWDisplayProperties & | iProps | ||
) | const |
Definition at line 277 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), defaultDisplayPropertiesChanged_, id(), getHLTprescales::index, FWDisplayProperties::isVisible(), m_accessor, m_displayProperties, m_itemInfos, FWDisplayProperties::setIsVisible(), and size().
Referenced by FWCollectionSummaryTableManager::buttonReleasedInRowHeader(), CmsShowEDI::changeSelectionColor(), FWCollectionSummaryWidget::colorChangeRequested(), and FWModelExpressionSelector::select().
void FWEventItem::setEvent | ( | const edm::EventBase * | iEvent | ) |
Definition at line 121 of file FWEventItem.cc.
References handleChange(), iEvent, m_accessor, m_event, m_itemInfos, and m_printedErrorThisEvent.
Referenced by FWEventItemsManager::newEvent().
void FWEventItem::setFilterExpression | ( | const std::string & | iExpression | ) |
Throws an FWExpresionException if there is a problem with the expression
Definition at line 200 of file FWEventItem.cc.
References filterChanged_, m_filter, runFilter(), and FWModelFilter::setExpression().
Referenced by CmsShowEDI::runFilter().
void FWEventItem::setLabels | ( | const std::string & | iModule, |
const std::string & | iProductInstance, | ||
const std::string & | iProcess | ||
) |
Definition at line 131 of file FWEventItem.cc.
References handleChange(), m_accessor, m_itemInfos, m_moduleLabel, m_processName, and m_productInstanceLabel.
void FWEventItem::setName | ( | const std::string & | iName | ) |
Definition at line 144 of file FWEventItem.cc.
References m_name.
Referenced by Vispa.Gui.PortWidget.PortWidget::__init__(), and Vispa.Views.PropertyView.Property::__init__().
size_t FWEventItem::size | ( | void | ) | const |
Definition at line 548 of file FWEventItem.cc.
References getPrimaryData(), and m_itemInfos.
Referenced by FWCaloRecHitDigitSetProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWSimpleProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), FWProxyBuilderBase::build(), FWSimpleProxyBuilder::buildViewType(), FWCollectionSummaryTableManager::cellRenderer(), FWTableViewTableManager::cellRenderer(), FWFromSliceSelector::clear(), FWCollectionSummaryTableManager::dataChanged(), FWTableViewTableManager::dataChanged(), CmsShowEDI::deselectAll(), destroy(), FWInteractionList::itemChanged(), FWInteractionList::modelChanges(), FWProxyBuilderBase::modelChanges(), FWTableViewTableManager::numberOfRows(), FWCollectionSummaryTableManager::numberOfRows(), FWElectronProxyBuilder::requestCommon(), FWConversionProxyBuilder::requestCommon(), FWJetProxyBuilder::requestCommon(), FWCollectionSummaryTableManager::rowHeader(), FWTableViewTableManager::rowHeader(), runFilter(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), FWModelExpressionSelector::select(), CmsShowEDI::selectAll(), setDefaultDisplayProperties(), setDisplayProperties(), and FWSecondarySelectableSelector::syncSelection().
void FWEventItem::toggleSelect | ( | int | iIndex | ) | const |
Definition at line 265 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, EgammaValidation_Wenu_cff::sel, FWSelectionManager::select(), selectionManager(), and FWSelectionManager::unselect().
Referenced by FWTableView::modelSelected(), FWCollectionSummaryWidget::modelSelected(), and FWModelId::toggleSelect().
void FWEventItem::toggleSelectItem | ( | ) |
Definition at line 650 of file FWEventItem.cc.
References defaultDisplayPropertiesChanged_, m_isSelected, selectionManager(), FWSelectionManager::selectItem(), and FWSelectionManager::unselectItem().
const TClass * FWEventItem::type | ( | ) | const |
Definition at line 506 of file FWEventItem.cc.
References m_type.
Referenced by CmsShowEDI::fillEDIFrame(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and FWFileEntry::runFilter().
void FWEventItem::unselect | ( | int | iIndex | ) | const |
Definition at line 240 of file FWEventItem.cc.
References FWModelChangeManager::changed(), changeManager(), id(), m_itemInfos, EgammaValidation_Wenu_cff::sel, selectionManager(), and FWSelectionManager::unselect().
Referenced by FWFromSliceSelector::clear(), CmsShowEDI::deselectAll(), FWCaloTowerSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), FWSecondarySelectableSelector::syncSelection(), and FWModelId::unselect().
void FWEventItem::unselectItem | ( | ) |
Definition at line 641 of file FWEventItem.cc.
References defaultDisplayPropertiesChanged_, m_isSelected, selectionManager(), and FWSelectionManager::unselectItem().
Referenced by destroy().
|
inline |
one value from the model which is normally used for the popup
Definition at line 119 of file FWEventItem.h.
References m_interestingValueGetter.
Referenced by FWCollectionSummaryTableManager::cellRenderer(), FWCollectionSummaryTableManager::getTitles(), FWCollectionSummaryTableManager::implSort(), FWCollectionSummaryTableManager::numberOfColumns(), and FWViewContextMenuHandlerGL::select().
|
mutable |
connect to this signal if you want to know when models held by the item change
Definition at line 196 of file FWEventItem.h.
Referenced by CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWCollectionSummaryTableManager::FWCollectionSummaryTableManager(), FWEveViewManager::newItem(), and FWModelChangeManager::newItemSlot().
|
mutable |
connect to this signal if you want to know that the default display properties of the item have changed. This is only useful if you are displaying these properties and not just the underlying models.
Definition at line 208 of file FWEventItem.h.
Referenced by CmsShowEDI::fillEDIFrame(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), selectItem(), setDefaultDisplayProperties(), setDisplayProperties(), toggleSelectItem(), and unselectItem().
|
mutable |
connect to this signal if you want to know that the filter being applied to the item was changed.
Definition at line 211 of file FWEventItem.h.
Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and setFilterExpression().
|
mutable |
connect to this signal if you need to know that this item is going to be destroyed.
Definition at line 215 of file FWEventItem.h.
Referenced by destroy(), CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWEveViewManager::newItem(), FWTableViewManager::newItem(), FWSummaryManager::newItem(), and FWViewManagerManager::registerEventItem().
|
mutable |
connect to this signal if you want to know when the data underlying the item changes
Definition at line 199 of file FWEventItem.h.
Referenced by FWCollectionSummaryTableManager::FWCollectionSummaryTableManager(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWEveViewManager::newItem(), FWSummaryManager::newItem(), and FWModelChangeManager::newItemSlot().
|
private |
Definition at line 231 of file FWEventItem.h.
Referenced by data(), FWEventItem(), getPrimaryData(), isCollection(), modelData(), modelInterestingValueAsString(), modelType(), moveToBack(), moveToFront(), moveToLayer(), proxyConfigChanged(), runFilter(), setData(), setDisplayProperties(), setEvent(), and setLabels().
|
private |
Definition at line 226 of file FWEventItem.h.
Referenced by changeManager(), colorManager(), context(), getGeom(), isInBack(), isInFront(), moveToBack(), moveToFront(), moveToLayer(), proxyConfigChanged(), and selectionManager().
|
private |
Definition at line 232 of file FWEventItem.h.
Referenced by defaultDisplayProperties(), modelInfo(), setData(), setDefaultDisplayProperties(), and setDisplayProperties().
|
mutableprivate |
Definition at line 246 of file FWEventItem.h.
Referenced by data(), and errorMessage().
|
private |
Definition at line 240 of file FWEventItem.h.
Referenced by data(), getEvent(), hasEvent(), FWFileEntry::runFilter(), and setEvent().
|
private |
Definition at line 244 of file FWEventItem.h.
Referenced by filterExpression(), FWEventItem(), runFilter(), and setFilterExpression().
|
private |
Definition at line 227 of file FWEventItem.h.
Referenced by id().
|
private |
Definition at line 242 of file FWEventItem.h.
Referenced by modelInterestingValueAsString(), and valueGetter().
|
private |
Definition at line 248 of file FWEventItem.h.
Referenced by itemIsSelected(), selectItem(), toggleSelectItem(), and unselectItem().
|
mutableprivate |
Definition at line 234 of file FWEventItem.h.
Referenced by destroy(), FWEventItem(), modelInfo(), moveToBack(), moveToFront(), moveToLayer(), proxyConfigChanged(), runFilter(), select(), setData(), setDefaultDisplayProperties(), setDisplayProperties(), setEvent(), setLabels(), size(), toggleSelect(), and unselect().
|
private |
Definition at line 233 of file FWEventItem.h.
Referenced by layer(), moveToBack(), moveToFront(), and moveToLayer().
|
private |
Definition at line 237 of file FWEventItem.h.
Referenced by data(), moduleLabel(), and setLabels().
|
private |
Definition at line 228 of file FWEventItem.h.
|
mutableprivate |
Definition at line 245 of file FWEventItem.h.
Referenced by data(), and setEvent().
|
private |
Definition at line 239 of file FWEventItem.h.
Referenced by data(), processName(), and setLabels().
|
private |
Definition at line 238 of file FWEventItem.h.
Referenced by data(), productInstanceLabel(), and setLabels().
|
private |
Definition at line 251 of file FWEventItem.h.
Referenced by FWEventItem(), getConfig(), and ~FWEventItem().
|
private |
Definition at line 230 of file FWEventItem.h.
Referenced by purpose().
|
private |
Definition at line 229 of file FWEventItem.h.
Referenced by data(), getPrimaryData(), and type().
|
private |
Definition at line 241 of file FWEventItem.h.
|
mutable |
connect to this signal if you want to know immediately when the data underlying the item changes only intended to be used by the FWSelectionManager
Definition at line 204 of file FWEventItem.h.
Referenced by handleChange(), and FWSelectionManager::select().