public abstract class DocumentBase
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
java.lang.String[] |
colNames
The name of the columns displayed in the view
|
java.lang.String |
containerTitle
The title of the container
|
protected boolean |
shutdown
true if the container has been shut down |
protected TableViewer |
tableViewer
The table showing these alarms
|
| Constructor and Description |
|---|
DocumentBase(java.lang.String title,
java.lang.String[] colNames)
Canstructor.
|
| Modifier and Type | Method and Description |
|---|---|
TableData |
getDataToSave() |
abstract java.util.Collection<?> |
getNumbers() |
void |
run()
Automatically refresh the view
|
protected abstract void |
setTableContent(TableData tData)
Add the text of the cells of the table
|
void |
setTableViewer(TableViewer table)
Set the table viewer showing these alarms
|
void |
shutdownContainer()
Shut down the container and free the resources
|
protected TableViewer tableViewer
protected boolean shutdown
true if the container has been shut downpublic final java.lang.String containerTitle
public final java.lang.String[] colNames
public DocumentBase(java.lang.String title,
java.lang.String[] colNames)
title - The title of the containerThe - title of the columns displayedpublic abstract java.util.Collection<?> getNumbers()
public void setTableViewer(TableViewer table)
table - the table viewer showing these alarmspublic void shutdownContainer()
public void run()
run in interface java.lang.Runnableprotected abstract void setTableContent(TableData tData)
tData - The table data to set the string of the rowspublic TableData getDataToSave()