Alarms View component provides a common view for displaying the alarms from EM(s). Alarms component is be implemented as a Poseidon service, which is shared by all the plug-ins running under one Poseidon framework. In integrated mode, this view displays alarms from all the EMs running in the integrated mode.
Alarms view consists of alarms title bar, alarms table and alarms details view. The alarms title bar provides a means for invoking common alarm related operations like filtering the alarms, viewing alarms history, saving and printing the alarms. The alarms table displays the alarms from the all EMs in a tabular form, whereas, the details view displays the additional information on the currently selected alarm in the alarms table.
A part of a functionality related to alarms, which is very specific to the EM using the alarms service, is implemented in the EM. The EM specific functionality includes handling of EM specific alarms data, alarms operations and alarm details to be displayed. This way Alarms View service can be made common and can be used by all the EMs built upon Poseidon platform. Try to keep this service and EM specific alarm things separate.
PAlarmService defines the service interface for accessing the alarms view component.
PAlarmGuiListener provides an interface to the EM specific alarm controllers to be notified of the events invoked from the common alarms view. EM specific alarm controllers should implement this interface and register themselves as listeners to the common alarms services i.e. PAlarmController.
PAlarmChangeListener provides an interface for the component to be notified changes of alarms. The component can register itselves as listener to the EM specific alarms controller implementation to be notified of the new alarms received, cleared or removed.
PAlarmFileWriter defines the interface for writing alarms to file. This interface should be implemented if saving the alarms is customized.
PAlarmPrinter defines the interface for printing alarms. This interface should be implemented if printing the alarms is customized.
Alarm details view is only customized part in alarms view. That is because alarms view is common component. You must extend alarm details view if you want to custimize it. To get more information see PAlarmDetailsView documentation.
Also alarm printing and saving can be modified if wanted. Customized printer or file writer should implement PAlarmPrinter or PAlarmFileWriter interfaces.