

Public Member Functions | |
| void | createPartControl (Composite parent) |
| void | refreshContents () |
| void | updateSource () |
| void | setFocus () |
| void | setEnabled (boolean v) |
| void | fillWidgets () |
Static Public Attributes | |
| static String | ID = "cl.utfsm.acs.acg.gui.sourcesview" |
Private Member Functions | |
| void | createViewWidgets (final Composite parent) |
| void | fillSource (String name) |
Private Attributes | |
| SourceManager | _sourceManager |
| SashForm | _sash |
| Composite | _sourcesComp |
| Composite | _compInitial |
| List | _sourcesList |
| Composite | _sourcesButtonsComp |
| Button | _addSourceButton |
| Button | _deleteSourceButton |
| Label | _sourceNameLabel |
| Label | _descriptionLabel |
| Text | _sourceNameText |
| Text | _descriptionText |
| Label | _errorMessageLabel |
| Group | _group |
| void cl::utfsm::acs::acg::gui::SourcesView::createPartControl | ( | Composite | parent | ) | [inline] |
References createViewWidgets(), and refreshContents().
| void cl::utfsm::acs::acg::gui::SourcesView::createViewWidgets | ( | final Composite | parent | ) | [inline, private] |
References _addSourceButton, _compInitial, _deleteSourceButton, _descriptionLabel, _descriptionText, _errorMessageLabel, _group, _sash, _sourceManager, _sourceNameLabel, _sourceNameText, _sourcesButtonsComp, _sourcesComp, _sourcesList, cl::utfsm::acs::acg::core::SourceManager::addSource(), cl::utfsm::acs::acg::core::SourceManager::deleteSource(), fillSource(), cl::utfsm::acs::acg::core::SourceManager::getSource(), refreshContents(), cern::laser::business::data::Source::setSourceId(), and updateSource().
Referenced by createPartControl().
| void cl::utfsm::acs::acg::gui::SourcesView::fillSource | ( | String | name | ) | [inline, private] |
| void cl::utfsm::acs::acg::gui::SourcesView::fillWidgets | ( | ) | [inline] |
Implements cl::utfsm::acs::acg::gui::IMyViewPart.
| void cl::utfsm::acs::acg::gui::SourcesView::refreshContents | ( | ) | [inline] |
Refreshes the contents of the views. This method is intended to be used by external classes when reloading the CDB.
Implements cl::utfsm::acs::acg::gui::IMyViewPart.
References _sourceManager, _sourcesList, cl::utfsm::acs::acg::core::SourceManager::getAllSources(), and cl::utfsm::acs::acg::core::SourceManager::getInstance().
Referenced by createPartControl(), createViewWidgets(), and updateSource().
| void cl::utfsm::acs::acg::gui::SourcesView::setEnabled | ( | boolean | v | ) | [inline] |
Enables or disables the View for user interaction.
| v | If true, the view should be enabled. Else, it should be disabled |
Implements cl::utfsm::acs::acg::gui::IMyViewPart.
References _sourcesButtonsComp, and _sourcesList.
| void cl::utfsm::acs::acg::gui::SourcesView::setFocus | ( | ) | [inline] |
| void cl::utfsm::acs::acg::gui::SourcesView::updateSource | ( | ) | [inline] |
Button cl::utfsm::acs::acg::gui::SourcesView::_addSourceButton [private] |
Referenced by createViewWidgets().
Composite cl::utfsm::acs::acg::gui::SourcesView::_compInitial [private] |
Referenced by createViewWidgets().
Button cl::utfsm::acs::acg::gui::SourcesView::_deleteSourceButton [private] |
Referenced by createViewWidgets().
Label cl::utfsm::acs::acg::gui::SourcesView::_descriptionLabel [private] |
Referenced by createViewWidgets().
Text cl::utfsm::acs::acg::gui::SourcesView::_descriptionText [private] |
Referenced by createViewWidgets(), and fillSource().
Label cl::utfsm::acs::acg::gui::SourcesView::_errorMessageLabel [private] |
Referenced by createViewWidgets().
Group cl::utfsm::acs::acg::gui::SourcesView::_group [private] |
Referenced by createViewWidgets().
SashForm cl::utfsm::acs::acg::gui::SourcesView::_sash [private] |
Referenced by createViewWidgets().
Referenced by createViewWidgets(), fillSource(), refreshContents(), and updateSource().
Label cl::utfsm::acs::acg::gui::SourcesView::_sourceNameLabel [private] |
Referenced by createViewWidgets().
Text cl::utfsm::acs::acg::gui::SourcesView::_sourceNameText [private] |
Referenced by createViewWidgets(), fillSource(), and updateSource().
Composite cl::utfsm::acs::acg::gui::SourcesView::_sourcesButtonsComp [private] |
Referenced by createViewWidgets(), and setEnabled().
Composite cl::utfsm::acs::acg::gui::SourcesView::_sourcesComp [private] |
Referenced by createViewWidgets().
List cl::utfsm::acs::acg::gui::SourcesView::_sourcesList [private] |
Referenced by createViewWidgets(), refreshContents(), setEnabled(), and updateSource().
String cl::utfsm::acs::acg::gui::SourcesView::ID = "cl.utfsm.acs.acg.gui.sourcesview" [static] |
1.6.2