

Public Member Functions | |
| abstract void | removeAllAlarms () |
| abstract void | initNodeManager (Collection activeAlarms) |
| abstract void | initNodeManager (Collection activeAlarms, CommentedAlarmMap list) |
| AlarmBean | getAlarm (String alarmId) |
| Node | getRootNode () |
| void | makeAlarmsNotNew () |
| void | fireFontChanged () |
| void | programmagbleInitManager () |
| ExplorerManager | getExplorerManager () |
| ACChildrenMap | getMap () |
Protected Member Functions | |
| AlarmNodeManager (String listName, Collection list) | |
Protected Attributes | |
| String | listName = null |
| Collection | initList = null |
| Node | root = null |
| ExplorerManager | explorerManager = null |
Static Protected Attributes | |
| static Logger | logger |
This is manager for all alarm explorers This manager is created by AlarmContainer.getAlarmManager(Constants.<which_list>);
| cern::laser::guiplatform::alarms::AlarmNodeManager::AlarmNodeManager | ( | String | listName, | |
| Collection | list | |||
| ) | [inline, protected] |
Creates a new instance of AlarmNodeManager
| list | this list should be used to initiazlie node manager | |
| listName | this should be one of: Constants.ACTIVE_LISTENER_KEY, Constants.INHIBIT_LISTENER_KEY, |
References cern::laser::guiplatform::alarms::AlarmListener::addAlarms(), getExplorerManager(), initList, logger, and root.
| void cern::laser::guiplatform::alarms::AlarmNodeManager::fireFontChanged | ( | ) | [inline] |
| AlarmBean cern::laser::guiplatform::alarms::AlarmNodeManager::getAlarm | ( | String | alarmId | ) | [inline] |
References cern::laser::guiplatform::alarms::AlarmBeanNode::getBean(), getMap(), and cern::laser::guiplatform::explorer::ACChildrenMap::getNode().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::addAlarmToActiveList(), cern::laser::guiplatform::alarms::AlarmContainer::clearAutoHighlightedList(), cern::laser::guiplatform::alarms::AlarmContainer::clearInhibitList(), cern::laser::guiplatform::alarms::AlarmContainer::clearMaskList(), cern::laser::guiplatform::windows::search::SearchWindow::jButton2ActionPerformed(), cern::laser::guiplatform::alarms::AlarmContainer::removeNewOrTerminatedAlarms(), cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmOnActiveList(), and cern::laser::guiplatform::alarms::AlarmContainer::updateAlarmOnInstantList().
| ExplorerManager cern::laser::guiplatform::alarms::AlarmNodeManager::getExplorerManager | ( | ) | [inline] |
References explorerManager.
Referenced by cern::laser::guiplatform::explorer::ACExplorer::ACExplorer(), and AlarmNodeManager().
| ACChildrenMap cern::laser::guiplatform::alarms::AlarmNodeManager::getMap | ( | ) | [inline] |
References root.
Referenced by cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::addAlarm(), cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::addAlarms(), fireFontChanged(), getAlarm(), cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::initChildrenMap(), cern::laser::guiplatform::windows::search::SearchWindow::jButton2ActionPerformed(), makeAlarmsNotNew(), cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::removeAlarm(), and cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::removeAllAlarms().
| Node cern::laser::guiplatform::alarms::AlarmNodeManager::getRootNode | ( | ) | [inline] |
References root.
Referenced by cern::laser::guiplatform::explorer::ACExplorer::ACExplorer().
| abstract void cern::laser::guiplatform::alarms::AlarmNodeManager::initNodeManager | ( | Collection | activeAlarms, | |
| CommentedAlarmMap | list | |||
| ) | [pure virtual] |
This method initializes node manager depending on old inhibit, masked, highlighted and klaxon or highlighted list. Method can be used to initialize Inhibit, Mask, Highlighted and klaxon node managers
| activeAlarms | Collection with active Alarm object (returned by AlarmSelectionHandler.select(selection, alarmSelectionListener)) | |
| list | one of the InhibitList, MaskedList, HighlightedList (returned by Configuration.getInhibited() or Configuration.getMasked(), etc..... |
Implemented in cern::laser::guiplatform::alarms::AlarmNodeManagerImpl.
| abstract void cern::laser::guiplatform::alarms::AlarmNodeManager::initNodeManager | ( | Collection | activeAlarms | ) | [pure virtual] |
This method initializes node manager This method can be used to initialize actvie list node manager
| activeAlarms | Collection with Alarm objects, |
Implemented in cern::laser::guiplatform::alarms::AlarmNodeManagerImpl.
| void cern::laser::guiplatform::alarms::AlarmNodeManager::makeAlarmsNotNew | ( | ) | [inline] |
References getMap(), cern::laser::guiplatform::explorer::ACChildrenMap::getNode(), cern::laser::guiplatform::alarms::AlarmBean::isNew, cern::laser::guiplatform::explorer::ACChildrenMap::keySet(), and cern::laser::guiplatform::alarms::AlarmBean::setIsNew().
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::makeAlarmNotNew().
| void cern::laser::guiplatform::alarms::AlarmNodeManager::programmagbleInitManager | ( | ) | [inline] |
References listName, and root.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::initContainer().
| abstract void cern::laser::guiplatform::alarms::AlarmNodeManager::removeAllAlarms | ( | ) | [pure virtual] |
This method removes all alarms from this nodeNamager
Implemented in cern::laser::guiplatform::alarms::AlarmNodeManagerImpl.
Referenced by cern::laser::guiplatform::alarms::AlarmContainer::clearContainer(), cern::laser::guiplatform::alarms::AlarmContainer::clearNodeManagers(), and cern::laser::guiplatform::alarms::AlarmContainer::clearSearchList().
ExplorerManager cern::laser::guiplatform::alarms::AlarmNodeManager::explorerManager = null [protected] |
Referenced by getExplorerManager().
Collection cern::laser::guiplatform::alarms::AlarmNodeManager::initList = null [protected] |
list, which is used to initialize children manager
Referenced by AlarmNodeManager(), and cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::initChildrenMap().
String cern::laser::guiplatform::alarms::AlarmNodeManager::listName = null [protected] |
this indicates which list this nodeManager is interested in "INHIBIT_LIST" for example
Referenced by cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::customizeBean(), and programmagbleInitManager().
Logger cern::laser::guiplatform::alarms::AlarmNodeManager::logger [static, protected] |
LogFactory.getLogger(AlarmNodeManager.class.getName())
logger
Reimplemented in cern::laser::guiplatform::alarms::AlarmNodeManagerImpl.
Referenced by AlarmNodeManager().
Node cern::laser::guiplatform::alarms::AlarmNodeManager::root = null [protected] |
root node used with Explorer.setRootNode, in order to be able to init children manager programmatically, without creating and displaying window
Referenced by AlarmNodeManager(), getMap(), getRootNode(), cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::initChildrenMap(), and programmagbleInitManager().
1.6.2