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 |
A base class for the views used by the tool.
alma.acs.alarmsanalyzer.document.DocumentBase.DocumentBase | ( | String | title, | |
String[] | colNames | |||
) |
Canstructor. It starts the thread
title | The title of the container | |
The | title of the columns displayed |
References alma.acs.alarmsanalyzer.document.DocumentBase.containerTitle.
TableData alma.acs.alarmsanalyzer.document.DocumentBase.getDataToSave | ( | ) |
References alma.acs.alarmsanalyzer.document.DocumentBase.colNames, alma.acs.alarmsanalyzer.document.DocumentBase.containerTitle, and alma.acs.alarmsanalyzer.document.DocumentBase.setTableContent().
abstract Collection<?> alma.acs.alarmsanalyzer.document.DocumentBase.getNumbers | ( | ) | [pure virtual] |
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
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
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.
final String [] alma.acs.alarmsanalyzer.document.DocumentBase.colNames |
The name of the columns displayed in the view
Referenced by alma.acs.alarmsanalyzer.document.DocumentBase.getDataToSave().
The title of the container
Referenced by alma.acs.alarmsanalyzer.document.DocumentBase.DocumentBase(), and alma.acs.alarmsanalyzer.document.DocumentBase.getDataToSave().
boolean alma.acs.alarmsanalyzer.document.DocumentBase.shutdown = false [protected] |
true
if the container has been shut down
Referenced by alma.acs.alarmsanalyzer.document.StaleAlarmsContainer.faultStateReceived(), alma.acs.alarmsanalyzer.document.MostFrequantAlarmsContainer.faultStateReceived(), alma.acs.alarmsanalyzer.document.DocumentBase.run(), alma.acs.alarmsanalyzer.document.ChatteringAlarmsContainer.run(), and alma.acs.alarmsanalyzer.document.DocumentBase.shutdownContainer().
TableViewer alma.acs.alarmsanalyzer.document.DocumentBase.tableViewer = null [protected] |
The table showing these alarms
Referenced by alma.acs.alarmsanalyzer.document.DocumentBase.setTableViewer().