Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

alma.acs.alarmsanalyzer.document.DocumentBase Class Reference

Inheritance diagram for alma.acs.alarmsanalyzer.document.DocumentBase:
alma.acs.alarmsanalyzer.document.AnnunciatedContainer alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer alma.acs.alarmsanalyzer.document.flood.FloodContainer alma.acs.alarmsanalyzer.document.MostFrequantAlarmsContainer alma.acs.alarmsanalyzer.document.StaleAlarmsContainer alma.acs.alarmsanalyzer.document.StatisticsContainer alma.acs.alarmsanalyzer.document.SuppressedContainer

List of all members.

Public Member Functions

abstract Collection<?> getNumbers ()
 DocumentBase (String title, String[] colNames)
void setTableViewer (TableViewer table)
void shutdownContainer ()
void run ()
TableData getDataToSave ()

Public Attributes

final String containerTitle
final String[] colNames

Protected Member Functions

abstract void setTableContent (TableData tData)

Protected Attributes

TableViewer tableViewer = null
boolean shutdown = false

Detailed Description

A base class for the views used by the tool.

Author:
acaproni

Constructor & Destructor Documentation

alma.acs.alarmsanalyzer.document.DocumentBase.DocumentBase ( String  title,
String[]  colNames 
)

Canstructor. It starts the thread

Parameters:
title The title of the container
The title of the columns displayed

References alma.acs.alarmsanalyzer.document.DocumentBase.containerTitle.


Member Function Documentation

abstract Collection<?> alma.acs.alarmsanalyzer.document.DocumentBase.getNumbers (  )  [pure virtual]
Returns:
All the alarms in the container

Referenced by alma.acs.alarmsanalyzer.view.TableViewBase.ViewContentProvider.getElements().

void alma.acs.alarmsanalyzer.document.DocumentBase.run (  ) 

Automatically refresh the view

References alma.acs.alarmsanalyzer.document.DocumentBase.shutdown.

abstract void alma.acs.alarmsanalyzer.document.DocumentBase.setTableContent ( TableData  tData  )  [protected, pure virtual]

Add the text of the cells of the table

Parameters:
tData The table data to set the string of the rows

Referenced by alma.acs.alarmsanalyzer.document.DocumentBase.getDataToSave().

void alma.acs.alarmsanalyzer.document.DocumentBase.setTableViewer ( TableViewer  table  ) 

Set the table viewer showing these alarms

Parameters:
table the table viewer showing these alarms

References alma.acs.alarmsanalyzer.document.DocumentBase.tableViewer.

void alma.acs.alarmsanalyzer.document.DocumentBase.shutdownContainer (  ) 

Shut down the container and free the resources

References alma.acs.alarmsanalyzer.document.DocumentBase.shutdown.


Member Data Documentation

The name of the columns displayed in the view

Referenced by alma.acs.alarmsanalyzer.document.DocumentBase.getDataToSave().

The table showing these alarms

Referenced by alma.acs.alarmsanalyzer.document.DocumentBase.setTableViewer().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties