cern::laser::guiplatform::alarms::AlarmNodeManager Class Reference

Inheritance diagram for cern::laser::guiplatform::alarms::AlarmNodeManager:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::alarms::AlarmNodeManager:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

This is manager for all alarm explorers This manager is created by AlarmContainer.getAlarmManager(Constants.<which_list>);

Author:
pawlowsk

Constructor & Destructor Documentation

cern::laser::guiplatform::alarms::AlarmNodeManager::AlarmNodeManager ( String  listName,
Collection  list 
) [inline, protected]

Creates a new instance of AlarmNodeManager

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


Member Function Documentation

void cern::laser::guiplatform::alarms::AlarmNodeManager::fireFontChanged (  )  [inline]
AlarmBean cern::laser::guiplatform::alarms::AlarmNodeManager::getAlarm ( String  alarmId  )  [inline]
ExplorerManager cern::laser::guiplatform::alarms::AlarmNodeManager::getExplorerManager (  )  [inline]
ACChildrenMap cern::laser::guiplatform::alarms::AlarmNodeManager::getMap (  )  [inline]
Node cern::laser::guiplatform::alarms::AlarmNodeManager::getRootNode (  )  [inline]
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

Parameters:
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.....
Deprecated:

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

Parameters:
activeAlarms Collection with Alarm objects,

Implemented in cern::laser::guiplatform::alarms::AlarmNodeManagerImpl.

void cern::laser::guiplatform::alarms::AlarmNodeManager::makeAlarmsNotNew (  )  [inline]
void cern::laser::guiplatform::alarms::AlarmNodeManager::programmagbleInitManager (  )  [inline]
abstract void cern::laser::guiplatform::alarms::AlarmNodeManager::removeAllAlarms (  )  [pure virtual]

Member Data Documentation

Referenced by getExplorerManager().

list, which is used to initialize children manager

Referenced by AlarmNodeManager(), and cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::initChildrenMap().

this indicates which list this nodeManager is interested in "INHIBIT_LIST" for example

Referenced by cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::customizeBean(), and programmagbleInitManager().

Initial value:
    LogFactory.getLogger(AlarmNodeManager.class.getName())

logger

Reimplemented in cern::laser::guiplatform::alarms::AlarmNodeManagerImpl.

Referenced by AlarmNodeManager().

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


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

Generated by  doxygen 1.6.2