#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 &) | |
void | newIndexSelected (int) |
const FWGUIEventDataAdder & | operator= (const FWGUIEventDataAdder &) |
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 352 of file FWGUIEventDataAdder.cc.
References createWindow(), m_metadataManager, FWJobMetadataManager::metadataChanged_, and metadataUpdatedSlot().
|
virtual |
Definition at line 371 of file FWGUIEventDataAdder.cc.
|
private |
void FWGUIEventDataAdder::addNewItem | ( | ) |
Definition at line 400 of file FWGUIEventDataAdder.cc.
References FWEventItemsManager::add(), FWEventItemsManager::begin(), FWDisplayProperties::defaultProperties, 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, lumiQueryAPI::msg, and mergeVDriftHistosByStation::name.
Referenced by addNewItemAndClose().
void FWGUIEventDataAdder::addNewItemAndClose | ( | ) |
Definition at line 455 of file FWGUIEventDataAdder.cc.
References addNewItem(), and windowIsClosing().
|
private |
Definition at line 496 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 560 of file FWGUIEventDataAdder.cc.
References m_tableManager, DataAdderTableManager::reset(), and FWTableManagerBase::sort().
Referenced by FWGUIEventDataAdder().
|
private |
Definition at line 573 of file FWGUIEventDataAdder.cc.
References getHLTprescales::index, m_apply, m_applyAndClose, m_doNotUseProcessName, m_metadataManager, m_moduleLabel, m_name, m_processName, m_productInstanceLabel, m_purpose, m_type, FWJobMetadataManager::processNamesInJob(), and FWJobMetadataManager::usableData().
Referenced by createWindow().
|
private |
void FWGUIEventDataAdder::resetNameEntry | ( | ) |
Definition at line 567 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 634 of file FWGUIEventDataAdder.cc.
References m_tableManager, and DataAdderTableManager::setSelection().
void FWGUIEventDataAdder::show | ( | void | ) |
Definition at line 462 of file FWGUIEventDataAdder.cc.
References createWindow(), and m_frame.
Referenced by FWGUIManager::addData(), Vispa.Main.AboutDialog.AboutDialog::onScreen(), Vispa.Gui.BoxContentDialog.BoxContentDialog::onScreen(), and Vispa.Gui.FindDialog.FindDialog::onScreen().
void FWGUIEventDataAdder::updateFilterString | ( | const char * | str | ) |
Definition at line 489 of file FWGUIEventDataAdder.cc.
References FWTableManagerBase::dataChanged(), m_tableManager, and DataAdderTableManager::sortWithFilter().
void FWGUIEventDataAdder::windowIsClosing | ( | ) |
Definition at line 472 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 83 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), newIndexSelected(), resetNameEntry(), and windowIsClosing().
|
private |
Definition at line 84 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), newIndexSelected(), and windowIsClosing().
|
private |
Definition at line 82 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), createWindow(), and newIndexSelected().
|
private |
Definition at line 94 of file FWGUIEventDataAdder.h.
|
private |
Definition at line 80 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), createWindow(), show(), and windowIsClosing().
|
private |
Definition at line 76 of file FWGUIEventDataAdder.h.
Referenced by addNewItem().
|
private |
Definition at line 77 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), FWGUIEventDataAdder(), and newIndexSelected().
|
private |
Definition at line 90 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), resetNameEntry(), and windowIsClosing().
|
private |
Definition at line 81 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), createWindow(), newIndexSelected(), resetNameEntry(), and windowIsClosing().
|
private |
Definition at line 79 of file FWGUIEventDataAdder.h.
Referenced by createWindow().
|
private |
Definition at line 92 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), and windowIsClosing().
|
private |
Definition at line 91 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), and windowIsClosing().
|
private |
Definition at line 87 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), and windowIsClosing().
|
private |
Definition at line 85 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), and windowIsClosing().
|
private |
Definition at line 96 of file FWGUIEventDataAdder.h.
Referenced by createWindow(), metadataUpdatedSlot(), rowClicked(), and updateFilterString().
|
private |
Definition at line 97 of file FWGUIEventDataAdder.h.
Referenced by createWindow().
|
private |
Definition at line 89 of file FWGUIEventDataAdder.h.
Referenced by addNewItem(), newIndexSelected(), and windowIsClosing().