#include <Fireworks/Core/interface/FWGUIEventDataAdder.h>
Public Member Functions | |
void | addNewItem () |
void | addNewItemAndClose () |
FWGUIEventDataAdder (UInt_t w, UInt_t, FWEventItemsManager *, TGFrame *, FWJobMetadataManager *) | |
void | metadataUpdatedSlot (void) |
void | resetNameEntry () |
void | rowClicked (Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t, Int_t) |
void | show () |
void | updateFilterString (const char *str) |
void | windowIsClosing () |
virtual | ~FWGUIEventDataAdder () |
Private Member Functions | |
void | createWindow () |
FWGUIEventDataAdder (const FWGUIEventDataAdder &)=delete | |
void | newIndexSelected (int) |
const FWGUIEventDataAdder & | operator= (const FWGUIEventDataAdder &)=delete |
Private Attributes | |
TGTextButton * | m_apply |
TGTextButton * | m_applyAndClose |
TGCheckButton * | m_doNotUseProcessName |
std::string | m_expr |
TGTransientFrame * | m_frame |
FWEventItemsManager * | m_manager |
FWJobMetadataManager * | m_metadataManager |
std::string | m_moduleLabel |
TGTextEntry * | m_name |
TGFrame * | m_parentFrame |
std::string | m_processName |
std::string | m_productInstanceLabel |
std::string | m_purpose |
TGTextEntry * | m_search |
DataAdderTableManager * | m_tableManager |
FWTableWidget * | m_tableWidget |
std::string | m_type |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 41 of file FWGUIEventDataAdder.h.
FWGUIEventDataAdder::FWGUIEventDataAdder | ( | UInt_t | w, |
UInt_t | iHeight, | ||
FWEventItemsManager * | iManager, | ||
TGFrame * | iParent, | ||
FWJobMetadataManager * | iMetadataManager | ||
) |
Definition at line 318 of file FWGUIEventDataAdder.cc.
References createWindow(), m_metadataManager, FWJobMetadataManager::metadataChanged_, and metadataUpdatedSlot().
|
virtual |
Definition at line 333 of file FWGUIEventDataAdder.cc.
|
privatedelete |
void FWGUIEventDataAdder::addNewItem | ( | ) |
Definition at line 360 of file FWGUIEventDataAdder.cc.
References FWEventItemsManager::add(), FWEventItemsManager::begin(), FWDisplayProperties::defaultProperties, submitPVResolutionJobs::desc, FWEventItemsManager::end(), FWEventItemsManager::find(), fwLog, fwlog::kWarning, m_doNotUseProcessName, m_frame, m_manager, m_moduleLabel, m_name, m_processName, m_productInstanceLabel, m_purpose, m_type, HerwigMaxPtPartonFilter_cfi::moduleLabel, mps_check::msg, Skims_PA_cff::name, SimL1EmulatorRepack_CalouGT_cff::processName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addNewItemAndClose().
void FWGUIEventDataAdder::addNewItemAndClose | ( | ) |
Definition at line 411 of file FWGUIEventDataAdder.cc.
References addNewItem(), and windowIsClosing().
|
private |
Definition at line 444 of file FWGUIEventDataAdder.cc.
References FWDialogBuilder::addCheckbox(), FWDialogBuilder::addLabel(), FWDialogBuilder::addTable(), FWDialogBuilder::addTextButton(), FWDialogBuilder::addTextEntry(), FWTableWidget::disableGrowInWidth(), FWDialogBuilder::expand(), FWDialogBuilder::floatLeft(), FWDialogBuilder::frameSpaceDown(), FWDialogBuilder::frameSpaceUpDown(), FWDialogBuilder::hSpacer(), FWDialogBuilder::indent(), DataAdderTableManager::indexSelected_, m_apply, m_applyAndClose, m_doNotUseProcessName, m_frame, m_metadataManager, m_name, m_parentFrame, m_search, m_tableManager, m_tableWidget, newIndexSelected(), FWTableWidget::SetBackgroundColor(), FWTableWidget::SetHeaderBackgroundColor(), FWTableWidget::SetLineSeparatorColor(), FWDialogBuilder::spaceDown(), FWDialogBuilder::spaceRight(), and FWDialogBuilder::spaceUp().
Referenced by FWGUIEventDataAdder(), and show().
void FWGUIEventDataAdder::metadataUpdatedSlot | ( | void | ) |
Slot for the metadataChanged signal of the FWJobMetadataManager. Whenever metadata changes, for whatever reason (e.g. a new file), we need to update the table.
Definition at line 526 of file FWGUIEventDataAdder.cc.
References m_tableManager, DataAdderTableManager::reset(), and FWTableManagerBase::sort().
Referenced by FWGUIEventDataAdder().
|
private |
Definition at line 535 of file FWGUIEventDataAdder.cc.
References m_apply, m_applyAndClose, m_doNotUseProcessName, m_metadataManager, m_moduleLabel, m_name, m_processName, m_productInstanceLabel, m_purpose, m_type, TrackingMonitor_cfi::metadata, SimL1EmulatorRepack_CalouGT_cff::processName, FWJobMetadataManager::processNamesInJob(), AlCaHLTBitMon_QueryRunRegistry::string, and FWJobMetadataManager::usableData().
Referenced by createWindow().
|
privatedelete |
void FWGUIEventDataAdder::resetNameEntry | ( | ) |
Definition at line 531 of file FWGUIEventDataAdder.cc.
References m_apply, m_moduleLabel, and m_name.
void FWGUIEventDataAdder::rowClicked | ( | Int_t | iRow, |
Int_t | iButton, | ||
Int_t | iKeyMod, | ||
Int_t | , | ||
Int_t | |||
) |
Definition at line 591 of file FWGUIEventDataAdder.cc.
References m_tableManager, and DataAdderTableManager::setSelection().
void FWGUIEventDataAdder::show | ( | ) |
Definition at line 416 of file FWGUIEventDataAdder.cc.
References createWindow(), and m_frame.
Referenced by FWGUIManager::addData().
void FWGUIEventDataAdder::updateFilterString | ( | const char * | str | ) |
Definition at line 439 of file FWGUIEventDataAdder.cc.
References FWTableManagerBase::dataChanged(), m_tableManager, DataAdderTableManager::sortWithFilter(), and str.
void FWGUIEventDataAdder::windowIsClosing | ( | ) |
Definition at line 424 of file FWGUIEventDataAdder.cc.
References m_apply, m_applyAndClose, m_frame, m_moduleLabel, m_name, m_processName, m_productInstanceLabel, m_purpose, m_search, and m_type.
Referenced by addNewItemAndClose().
|
private |
Definition at line 80 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), newIndexSelected(), resetNameEntry(), and windowIsClosing().
|
private |
Definition at line 81 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), newIndexSelected(), and windowIsClosing().
|
private |
Definition at line 79 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), createWindow(), and newIndexSelected().
|
private |
Definition at line 91 of file FWGUIEventDataAdder.h.
|
private |
Definition at line 77 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), createWindow(), show(), and windowIsClosing().
|
private |
Definition at line 73 of file FWGUIEventDataAdder.h.
Referenced by addNewItem().
|
private |
Definition at line 74 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), FWGUIEventDataAdder(), and newIndexSelected().
|
private |
Definition at line 87 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), resetNameEntry(), and windowIsClosing().
|
private |
Definition at line 78 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), createWindow(), newIndexSelected(), resetNameEntry(), and windowIsClosing().
|
private |
Definition at line 76 of file FWGUIEventDataAdder.h.
Referenced by createWindow().
|
private |
Definition at line 89 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), and windowIsClosing().
|
private |
Definition at line 88 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), and windowIsClosing().
|
private |
Definition at line 84 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), and windowIsClosing().
|
private |
Definition at line 82 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), and windowIsClosing().
|
private |
Definition at line 93 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), metadataUpdatedSlot(), rowClicked(), and updateFilterString().
|
private |
Definition at line 94 of file FWGUIEventDataAdder.h.
Referenced by createWindow().
|
private |
Definition at line 86 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), and windowIsClosing().