cl::utfsm::acs::acg::gui::CategoriesView Class Reference

Inheritance diagram for cl::utfsm::acs::acg::gui::CategoriesView:
Inheritance graph
[legend]
Collaboration diagram for cl::utfsm::acs::acg::gui::CategoriesView:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

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.

Author:
rtobar

Member Function Documentation

void cl::utfsm::acs::acg::gui::CategoriesView::createPartControl ( Composite  parent  )  [inline]
void cl::utfsm::acs::acg::gui::CategoriesView::createViewWidgets ( Composite  parent  )  [inline, private]
void cl::utfsm::acs::acg::gui::CategoriesView::fillCategoryInfo ( String  string  )  [inline, private]
void cl::utfsm::acs::acg::gui::CategoriesView::fillWidgets (  )  [inline]
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.

Parameters:
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]

Member Data Documentation

Referenced by createViewWidgets(), and setEnabled().

Referenced by createViewWidgets().

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().

Referenced by createViewWidgets(), and setEnabled().

Referenced by createViewWidgets().

Referenced by createViewWidgets(), and updateName().

Referenced by createViewWidgets().

Referenced by createViewWidgets().

Referenced by createViewWidgets().

String cl::utfsm::acs::acg::gui::CategoriesView::ID = "cl.utfsm.acs.acg.gui.categoriesview" [static]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2