

Public Member Functions | |
| void | createPartControl (Composite parent) |
| void | refreshContents () |
| void | updateName () |
| void | setFocus () |
| void | setEnabled (boolean v) |
| void | fillWidgets () |
Static Public Attributes | |
| static String | ID = "cl.utfsm.acs.acg.gui.categoriesview" |
Private Member Functions | |
| void | createViewWidgets (Composite parent) |
| void | fillCategoryInfo (String string) |
Private Attributes | |
| CategoryManager | _categoryManager |
| AlarmManager | _alarmManager |
| List | _categoriesList |
| Button | _addCategoryButton |
| Button | _deleteCategoryButton |
| Composite | _compInitial |
| Group | _comp |
| Label | _pathLabel |
| Text | _pathText |
| Label | _descriptionLabel |
| Text | _descriptionText |
| Label | _isDefaultLabel |
| Button | _isDefaultCheck |
| Label | _ffLabel |
| Label | _errorMessageLabel |
| List | _ffList |
This class presents to the user all the information regarding to the Categories of the Alarm System configuration. It makes uses of the CategoryManager object to retrieve and set all the information from and to the CDB.
| void cl::utfsm::acs::acg::gui::CategoriesView::createPartControl | ( | Composite | parent | ) | [inline] |
References createViewWidgets(), and refreshContents().
| void cl::utfsm::acs::acg::gui::CategoriesView::createViewWidgets | ( | Composite | parent | ) | [inline, private] |
References _addCategoryButton, _alarmManager, _categoriesList, _categoryManager, _comp, _compInitial, _deleteCategoryButton, _descriptionLabel, _descriptionText, _errorMessageLabel, _ffLabel, _ffList, _isDefaultCheck, _isDefaultLabel, _pathLabel, _pathText, cl::utfsm::acs::acg::core::CategoryManager::addCategory(), cl::utfsm::acs::acg::core::CategoryManager::deleteCategory(), description, fillCategoryInfo(), cl::utfsm::acs::acg::core::AlarmManager::getAllAlarms(), cl::utfsm::acs::acg::core::CategoryManager::getCategoryByPath(), cl::utfsm::acs::acg::core::AlarmManager::getFaultFamily(), cl::utfsm::acs::acg::core::AlarmManager::getInstance(), cl::utfsm::acs::acg::gui::IMyViewPart::refreshContents(), refreshContents(), cl::utfsm::acs::acg::core::CategoryManager::updateCategory(), cl::utfsm::acs::acg::core::CategoryManager::updateDefaultCategory(), and updateName().
Referenced by createPartControl().
| void cl::utfsm::acs::acg::gui::CategoriesView::fillCategoryInfo | ( | String | string | ) | [inline, private] |
References _categoryManager, _compInitial, _descriptionText, _ffList, _isDefaultCheck, _pathText, and cl::utfsm::acs::acg::core::CategoryManager::getCategoryByPath().
Referenced by createViewWidgets(), and fillWidgets().
| void cl::utfsm::acs::acg::gui::CategoriesView::fillWidgets | ( | ) | [inline] |
Implements cl::utfsm::acs::acg::gui::IMyViewPart.
References _categoriesList, and fillCategoryInfo().
| void cl::utfsm::acs::acg::gui::CategoriesView::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 _categoriesList, _categoryManager, _comp, cl::utfsm::acs::acg::core::CategoryManager::getAllCategories(), and cl::utfsm::acs::acg::core::CategoryManager::getInstance().
Referenced by createPartControl(), and createViewWidgets().
| void cl::utfsm::acs::acg::gui::CategoriesView::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 _addCategoryButton, _categoriesList, _deleteCategoryButton, _descriptionText, _ffList, _isDefaultCheck, and _pathText.
| void cl::utfsm::acs::acg::gui::CategoriesView::setFocus | ( | ) | [inline] |
| void cl::utfsm::acs::acg::gui::CategoriesView::updateName | ( | ) | [inline] |
Button cl::utfsm::acs::acg::gui::CategoriesView::_addCategoryButton [private] |
Referenced by createViewWidgets(), and setEnabled().
Referenced by createViewWidgets().
List cl::utfsm::acs::acg::gui::CategoriesView::_categoriesList [private] |
Referenced by createViewWidgets(), fillWidgets(), refreshContents(), setEnabled(), and updateName().
The CategoryManager instance associated to this view. The CategoryManager is in charge of handling the consistency of the information that the user inputs in this screen with the rest of the information that ACG uses.
Referenced by createViewWidgets(), fillCategoryInfo(), refreshContents(), and updateName().
Group cl::utfsm::acs::acg::gui::CategoriesView::_comp [private] |
Referenced by createViewWidgets(), and refreshContents().
Composite cl::utfsm::acs::acg::gui::CategoriesView::_compInitial [private] |
Referenced by createViewWidgets(), and fillCategoryInfo().
Button cl::utfsm::acs::acg::gui::CategoriesView::_deleteCategoryButton [private] |
Referenced by createViewWidgets(), and setEnabled().
Label cl::utfsm::acs::acg::gui::CategoriesView::_descriptionLabel [private] |
Referenced by createViewWidgets().
Text cl::utfsm::acs::acg::gui::CategoriesView::_descriptionText [private] |
Referenced by createViewWidgets(), fillCategoryInfo(), setEnabled(), and updateName().
Label cl::utfsm::acs::acg::gui::CategoriesView::_errorMessageLabel [private] |
Referenced by createViewWidgets(), and updateName().
Label cl::utfsm::acs::acg::gui::CategoriesView::_ffLabel [private] |
Referenced by createViewWidgets().
List cl::utfsm::acs::acg::gui::CategoriesView::_ffList [private] |
Referenced by createViewWidgets(), fillCategoryInfo(), and setEnabled().
Button cl::utfsm::acs::acg::gui::CategoriesView::_isDefaultCheck [private] |
Referenced by createViewWidgets(), fillCategoryInfo(), and setEnabled().
Label cl::utfsm::acs::acg::gui::CategoriesView::_isDefaultLabel [private] |
Referenced by createViewWidgets().
Label cl::utfsm::acs::acg::gui::CategoriesView::_pathLabel [private] |
Referenced by createViewWidgets().
Text cl::utfsm::acs::acg::gui::CategoriesView::_pathText [private] |
Referenced by createViewWidgets(), fillCategoryInfo(), setEnabled(), and updateName().
String cl::utfsm::acs::acg::gui::CategoriesView::ID = "cl.utfsm.acs.acg.gui.categoriesview" [static] |
1.6.2