2009-01-09 1.2.0

org.eclipse.soda.dk.device.swt
Class DeviceSwt

java.lang.Object
  extended by org.eclipse.soda.dk.core.EscObject
      extended by org.eclipse.soda.dk.notification.client.NotificationClient
          extended by org.eclipse.soda.dk.device.swt.DeviceSwt
All Implemented Interfaces:
java.lang.Runnable, java.util.EventListener, DeviceListener, ErrorListener, org.eclipse.swt.events.MenuListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class DeviceSwt
extends org.eclipse.soda.dk.notification.client.NotificationClient
implements java.lang.Runnable, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.events.MenuListener, DeviceListener

Since:
1.0
Version:
1.2.0

Field Summary
protected  org.eclipse.swt.graphics.Color activeColor
          Define the active color (Color) field.
protected  org.eclipse.swt.graphics.Font boldFont
          Define the bold font (Font) field.
protected  Bridge[] bridges
          Define the bridges (Bridge[]) field.
static int COMMAND_TYPE
          Define the command type (int) constant.
protected  org.eclipse.swt.graphics.Image commandImage
          Define the command image (Image) field.
protected  org.eclipse.swt.widgets.Menu commandPopupMenu
          Define the command popup menu (Menu) field.
protected  int countIndex
          Define the count index (int) field.
protected  int dataIndex
          Define the data index (int) field.
protected  DeviceService device
          Define the device (DeviceService) field.
protected  org.eclipse.swt.widgets.Display display
          Define the display (Display) field.
protected  int fontHeight
          Define the font height (int) field.
protected  java.lang.String fontName
          Define the font name (String) field.
static java.lang.String ID_VALUE
          Define the id value (String) constant.
protected  org.eclipse.swt.graphics.Color inactiveColor
          Define the inactive color (Color) field.
protected  org.eclipse.swt.graphics.Font italicFont
          Define the italic font (Font) field.
protected  int keyIndex
          Define the key index (int) field.
protected  org.eclipse.swt.graphics.Color littleActiveColor
          Define the little active color (Color) field.
static int MEASUREMENT_TYPE
          Define the measurement type (int) constant.
protected  org.eclipse.swt.graphics.Image measurementImage
          Define the measurement image (Image) field.
protected  org.eclipse.swt.widgets.Menu measurementPopupMenu
          Define the measurement popup menu (Menu) field.
protected  org.eclipse.swt.graphics.Font normalFont
          Define the normal font (Font) field.
static java.lang.String PREFIX_VALUE
          Define the prefix value (String) constant.
protected  org.eclipse.swt.widgets.Shell shell
          Define the shell (Shell) field.
static int SIGNAL_TYPE
          Define the signal type (int) constant.
protected  org.eclipse.swt.graphics.Image signalImage
          Define the signal image (Image) field.
protected  org.eclipse.swt.widgets.Menu signalPopupMenu
          Define the signal popup menu (Menu) field.
protected  org.eclipse.swt.widgets.Table tableCommand
          Define the table command (Table) field.
protected  org.eclipse.swt.widgets.Table tableMeasurement
          Define the table measurement (Table) field.
protected  org.eclipse.swt.widgets.Table tableSignal
          Define the table signal (Table) field.
protected  java.lang.Thread thread
          Define the thread (Thread) field.
protected  int timeIndex
          Define the time index (int) field.
protected  long timestamp
          Define the timestamp (long) field.
protected  int timestampIndex
          Define the timestamp index (int) field.
protected  TransportService transport
          Define the transport (TransportService) field.
 
Fields inherited from class org.eclipse.soda.dk.notification.client.NotificationClient
TOPIC_DELIMITER
 
Fields inherited from class org.eclipse.soda.dk.core.EscObject
CLONE_EXCEPTION_RESOURCE, EMPTY_BYTES, EMPTY_STRING, ERROR_OCCURRED_EXCEPTION_RESOURCE, ID_FILTER_KEY, ID_KEY, ID_KEY_ANY, ID_NAME_KEY, INTEGER_TABLE, INTEGER_TABLE_SIZE, KEY_KEY, LOG_DEBUG, LOG_DEFAULT, LOG_ERROR, LOG_INFO, LOG_LEVEL_KEY, LOG_TRACE, LOG_WARNING, LONG_TABLE, LONG_TABLE_SIZE, PREFIX_KEY, READONLY_EMPTY_COLLECTION, READONLY_EMPTY_LIST, READONLY_EMPTY_MAP, RESOURCE_BUNDLE, SLEEP_EXCEPTION_RESOURCE, SYSTEM_INFO_RESOURCE, TO_STRING_CONFIGURATION_KEYS, TRACE_LEVEL_HIGH, TRACE_LEVEL_LOW, TRACE_LEVEL_MAX, TRACE_LEVEL_MIN, TRACE_LEVEL_NONE, TRACE_LEVEL_NORMAL, TRACELEVEL_KEY, UNKNOWN_ERROR_RESOURCE, Unmodifiable
 
Fields inherited from interface org.eclipse.soda.dk.device.service.DeviceListener
ADDED, CHANGED, REMOVED
 
Constructor Summary
DeviceSwt()
          Constructs an instance of this class.
 
Method Summary
 void controlChanged(DeviceService device, java.lang.Object timestamp, ControlService control, int code)
          Control changed with the specified device, timestamp, control and code parameters.
 void createShell()
          Create shell.
 org.eclipse.swt.widgets.Table createTable(org.eclipse.swt.widgets.Composite parent, int type)
          Create contents with the specified parent parameter.
 void deviceChanged(DeviceService source, java.lang.Object timestamp, int newState, int oldState)
          Device changed with the specified source, timestamp, new state and old state parameters.
 void errorOccurred(java.lang.Object source, java.lang.Object timestamp, java.lang.Object data)
          Error occurred with the specified source, timestamp and data parameters.
 org.eclipse.swt.graphics.Color getActiveColor()
          Gets the active color (Color) value.
 org.eclipse.swt.graphics.Font getBoldFont()
          Gets the bold font (Font) value.
 Bridge[] getBridges()
          Gets the bridges (Bridge[]) value.
 org.eclipse.swt.graphics.Image getCommandImage()
          Gets the command image (Image) value.
 org.eclipse.swt.widgets.Menu getCommandPopupMenu()
          Gets the command popup menu (Menu) value.
 int getCountIndex()
          Gets the count index (int) value.
 int getDataIndex()
          Gets the data index (int) value.
 DeviceService getDefaultDevice()
          Gets the default device (DeviceService) value.
 org.eclipse.soda.dk.notification.service.NotificationService getDefaultNotificationService()
          Gets the default notification service (NotificationService) value.
 DeviceService getDevice()
          Gets the device (DeviceService) value.
 org.eclipse.swt.widgets.Display getDisplay()
          Gets the display value.
 int getFontHeight()
          Gets the font height (int) value.
 java.lang.String getFontName()
          Gets the font name (String) value.
 org.eclipse.swt.graphics.Color getInactiveColor()
          Gets the inactive color (Color) value.
 org.eclipse.swt.graphics.Font getItalicFont()
          Gets the italic font (Font) value.
 int getKeyIndex()
          Gets the key index (int) value.
 org.eclipse.swt.graphics.Color getLittleActiveColor()
          Gets the little active color (Color) value.
 org.eclipse.swt.graphics.Image getMeasurementImage()
          Gets the measurement image (Image) value.
 org.eclipse.swt.widgets.Menu getMeasurementPopupMenu()
          Gets the measurement popup menu (Menu) value.
 org.eclipse.swt.graphics.Font getNormalFont()
          Gets the normal font (Font) value.
 org.eclipse.swt.widgets.Shell getShell()
          Gets the shell value.
 org.eclipse.swt.graphics.Image getSignalImage()
          Gets the signal image (Image) value.
 org.eclipse.swt.widgets.Menu getSignalPopupMenu()
          Gets the signal popup menu (Menu) value.
 org.eclipse.swt.widgets.Table getTableCommand()
          Gets the table command (Table) value.
 org.eclipse.swt.widgets.Table getTableMeasurement()
          Gets the table measurement (Table) value.
 org.eclipse.swt.widgets.Table getTableSignal()
          Gets the table signal (Table) value.
 java.lang.Thread getThread()
          Gets the thread value.
 long getTimestamp()
          Gets the timestamp (long) value.
 int getTimestampIndex()
          Gets the timestamp index (int) value.
 java.lang.String getTitle()
          Gets the title (String) value.
 TransportService getTransport()
          Gets the transport (TransportService) value.
 boolean isActive()
          Gets the active (boolean) value.
static void main(java.lang.String[] arguments)
          Main with the specified arguments parameter.
 void menuHidden(org.eclipse.swt.events.MenuEvent e)
          Menu hidden with the specified e parameter.
 void menuShown(org.eclipse.swt.events.MenuEvent e)
          Menu shown with the specified e parameter.
protected  void openControlWindow(Bridge bridge)
          Get data dialog with the specified bridge parameter.
 void populateTables()
          Populate tables.
 void refresh()
          Refresh.
 void run()
          Run.
 void run(java.lang.String[] arguments)
          Run with the specified arguments parameter.
 void setActive(boolean active)
          Sets the active value.
 void setActiveColor(org.eclipse.swt.graphics.Color activeColor)
          Sets the active color value.
 void setBoldFont(org.eclipse.swt.graphics.Font boldFont)
          Sets the bold font value.
 void setBridges(Bridge[] bridges)
          Sets the bridges value.
 void setCommandImage(org.eclipse.swt.graphics.Image commandImage)
          Sets the command image value.
 void setCommandPopupMenu(org.eclipse.swt.widgets.Menu commandPopupMenu)
          Sets the command popup menu value.
 void setCountIndex(int countIndex)
          Sets the count index value.
 void setDataIndex(int dataIndex)
          Sets the data index value.
 void setDevice(DeviceService device)
          Sets the device value.
 void setDisplay(org.eclipse.swt.widgets.Display display)
          Sets the display value.
 void setFontHeight(int fontHeight)
          Sets the font height value.
 void setFontName(java.lang.String fontName)
          Sets the font name value.
 void setInactiveColor(org.eclipse.swt.graphics.Color inactiveColor)
          Sets the inactive color value.
 void setItalicFont(org.eclipse.swt.graphics.Font italicFont)
          Sets the italic font value.
 void setKeyIndex(int keyIndex)
          Sets the key index value.
 void setLittleActiveColor(org.eclipse.swt.graphics.Color littleActiveColor)
          Sets the little active color value.
 void setMeasurementImage(org.eclipse.swt.graphics.Image measurementImage)
          Sets the measurement image value.
 void setMeasurementPopupMenu(org.eclipse.swt.widgets.Menu measurementPopupMenu)
          Sets the measurement popup menu value.
 void setNormalFont(org.eclipse.swt.graphics.Font normalFont)
          Sets the normal font value.
 void setShell(org.eclipse.swt.widgets.Shell shell)
          Sets the shell value.
 void setSignalImage(org.eclipse.swt.graphics.Image signalImage)
          Sets the signal image value.
 void setSignalPopupMenu(org.eclipse.swt.widgets.Menu signalPopupMenu)
          Sets the signal popup menu value.
 void setTableCommand(org.eclipse.swt.widgets.Table tableCommand)
          Sets the table command value.
 void setTableMeasurement(org.eclipse.swt.widgets.Table tableMeasurement)
          Sets the table measurement value.
 void setTableSignal(org.eclipse.swt.widgets.Table tableSignal)
          Sets the table signal value.
 void setThread(java.lang.Thread thread)
          Sets the thread value.
 void setTimestamp(long timestamp)
          Sets the timestamp value.
 void setTimestampIndex(int timestampIndex)
          Sets the timestamp index value.
 void setTransport(TransportService transport)
          Sets the transport value.
 void setupCommand(org.eclipse.swt.widgets.Composite composite)
          Sets the up command value.
 void setupFonts(org.eclipse.swt.widgets.Table table)
          Sets the up fonts value.
 void setupMeasurement(org.eclipse.swt.widgets.Composite composite)
          Sets the up measurement value.
 void setupSignal(org.eclipse.swt.widgets.Composite composite)
          Sets the up signal value.
 void start()
          Start the test case.
 void startThread()
          Start thread.
 void stop()
          Stops the test case.
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
          Widget default selected with the specified e parameter.
 void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
          Widget selected with the specified e parameter.
 
Methods inherited from class org.eclipse.soda.dk.notification.client.NotificationClient
broadcast, getNotificationController, getNotificationService, notificationReceived, prependPrefix, register, register, setNotificationController, setNotificationService, unregister
 
Methods inherited from class org.eclipse.soda.dk.core.EscObject
attemptRecoveryFromError, createBoolean, createDefaultLogService, createException, createException, createInteger, createIntegerTable, createLong, createLongTable, createNumber, format, getBoolean, getByte, getChar, getConfigurationService, getCurrentTimestamp, getDefaultLogService, getDefaultResource, getDouble, getErrorSeverity, getFloat, getId, getIdName, getInt, getLoadLibraryName, getLogDetails, getLogDetails, getLogDetails0, getLogDetails1, getLogDetails2, getLogDetails3, getLogDetails4, getLogDetails5, getLogDetails6, getLogDetails7, getLogLevel, getLogService, getLong, getObject, getOutputName, getReadOnlyEmptyCollection, getReadOnlyEmptyList, getReadOnlyEmptyMap, getResource, getShort, getSimpleClassName, getStaticBoolean, getStaticByte, getStaticChar, getStaticDouble, getStaticFloat, getStaticInt, getStaticLong, getStaticObject, getStaticShort, getStaticString, getString, getTraceLevel, getVmLibraryVersion, handleError, handleError, handleError, handleError, handleErrorInternal, handleStaticError, handleStaticException, isBackward, isDebug, isLogging, isTrace, isUnmodifiable, loadService, log, log, log, report, report, report, report, report, report, report, reportError, reportSystemInfo, setBackward, setDebug, setDefaultLogService, setLogService, setTraceLevel, setUnmodifiable, shouldLog, sleep, startupEscStatic, toString, toStringConfigurationKeys, toStringInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID_VALUE

public static final java.lang.String ID_VALUE
Define the id value (String) constant.

See Also:
Constant Field Values

PREFIX_VALUE

public static final java.lang.String PREFIX_VALUE
Define the prefix value (String) constant.

See Also:
Constant Field Values

COMMAND_TYPE

public static final int COMMAND_TYPE
Define the command type (int) constant.

See Also:
Constant Field Values

MEASUREMENT_TYPE

public static final int MEASUREMENT_TYPE
Define the measurement type (int) constant.

See Also:
Constant Field Values

SIGNAL_TYPE

public static final int SIGNAL_TYPE
Define the signal type (int) constant.

See Also:
Constant Field Values

bridges

protected Bridge[] bridges
Define the bridges (Bridge[]) field.


timestamp

protected long timestamp
Define the timestamp (long) field.


keyIndex

protected int keyIndex
Define the key index (int) field.


timestampIndex

protected int timestampIndex
Define the timestamp index (int) field.


timeIndex

protected int timeIndex
Define the time index (int) field.


countIndex

protected int countIndex
Define the count index (int) field.


dataIndex

protected int dataIndex
Define the data index (int) field.


device

protected DeviceService device
Define the device (DeviceService) field.


transport

protected TransportService transport
Define the transport (TransportService) field.


tableSignal

protected org.eclipse.swt.widgets.Table tableSignal
Define the table signal (Table) field.


tableCommand

protected org.eclipse.swt.widgets.Table tableCommand
Define the table command (Table) field.


tableMeasurement

protected org.eclipse.swt.widgets.Table tableMeasurement
Define the table measurement (Table) field.


display

protected org.eclipse.swt.widgets.Display display
Define the display (Display) field.


shell

protected org.eclipse.swt.widgets.Shell shell
Define the shell (Shell) field.


thread

protected java.lang.Thread thread
Define the thread (Thread) field.


signalPopupMenu

protected org.eclipse.swt.widgets.Menu signalPopupMenu
Define the signal popup menu (Menu) field.


commandPopupMenu

protected org.eclipse.swt.widgets.Menu commandPopupMenu
Define the command popup menu (Menu) field.


measurementPopupMenu

protected org.eclipse.swt.widgets.Menu measurementPopupMenu
Define the measurement popup menu (Menu) field.


activeColor

protected org.eclipse.swt.graphics.Color activeColor
Define the active color (Color) field.


littleActiveColor

protected org.eclipse.swt.graphics.Color littleActiveColor
Define the little active color (Color) field.


inactiveColor

protected org.eclipse.swt.graphics.Color inactiveColor
Define the inactive color (Color) field.


normalFont

protected org.eclipse.swt.graphics.Font normalFont
Define the normal font (Font) field.


boldFont

protected org.eclipse.swt.graphics.Font boldFont
Define the bold font (Font) field.


italicFont

protected org.eclipse.swt.graphics.Font italicFont
Define the italic font (Font) field.


fontName

protected java.lang.String fontName
Define the font name (String) field.


fontHeight

protected int fontHeight
Define the font height (int) field.


commandImage

protected org.eclipse.swt.graphics.Image commandImage
Define the command image (Image) field.


measurementImage

protected org.eclipse.swt.graphics.Image measurementImage
Define the measurement image (Image) field.


signalImage

protected org.eclipse.swt.graphics.Image signalImage
Define the signal image (Image) field.

Constructor Detail

DeviceSwt

public DeviceSwt()
Constructs an instance of this class.

Method Detail

main

public static void main(java.lang.String[] arguments)
Main with the specified arguments parameter.

Parameters:
arguments - The arguments (String[]) parameter.

controlChanged

public void controlChanged(DeviceService device,
                           java.lang.Object timestamp,
                           ControlService control,
                           int code)
Control changed with the specified device, timestamp, control and code parameters.

Specified by:
controlChanged in interface DeviceListener
Parameters:
device - The device (DeviceService) parameter.
timestamp - The time stamp (Object) parameter.
control - The control (ControlService) parameter.
code - The code (int) parameter.
See Also:
deviceChanged(DeviceService,Object,int,int)

createShell

public void createShell()
Create shell.

See Also:
getShell(), setShell(Shell)

createTable

public org.eclipse.swt.widgets.Table createTable(org.eclipse.swt.widgets.Composite parent,
                                                 int type)
Create contents with the specified parent parameter.

Parameters:
parent - The parent (Composite) parameter.
type - The type (int) parameter.
Returns:
Results of the create contents (Table) value.

deviceChanged

public void deviceChanged(DeviceService source,
                          java.lang.Object timestamp,
                          int newState,
                          int oldState)
Device changed with the specified source, timestamp, new state and old state parameters.

Specified by:
deviceChanged in interface DeviceListener
Parameters:
source - The source (DeviceService) parameter.
timestamp - The time stamp (Object) parameter.
newState - The new state (int) parameter.
oldState - The old state (int) parameter.
See Also:
controlChanged(DeviceService,Object,ControlService,int)

errorOccurred

public void errorOccurred(java.lang.Object source,
                          java.lang.Object timestamp,
                          java.lang.Object data)
Error occurred with the specified source, timestamp and data parameters.

Specified by:
errorOccurred in interface ErrorListener
Parameters:
source - The source (Object) parameter.
timestamp - The time stamp (Object) parameter.
data - The data (Object) parameter.

getActiveColor

public org.eclipse.swt.graphics.Color getActiveColor()
Gets the active color (Color) value.

Returns:
The active color (Color) value.
See Also:
getLittleActiveColor(), setActiveColor(Color), setLittleActiveColor(Color)

getBoldFont

public org.eclipse.swt.graphics.Font getBoldFont()
Gets the bold font (Font) value.

Returns:
The bold font (Font) value.
See Also:
setBoldFont(Font)

getBridges

public Bridge[] getBridges()
Gets the bridges (Bridge[]) value.

Returns:
The bridges (Bridge[]) value.
See Also:
setBridges(Bridge[])

getCommandImage

public org.eclipse.swt.graphics.Image getCommandImage()
Gets the command image (Image) value.

Returns:
The command image (Image) value.
See Also:
setCommandImage(Image)

getCommandPopupMenu

public org.eclipse.swt.widgets.Menu getCommandPopupMenu()
Gets the command popup menu (Menu) value.

Returns:
The command popup menu (Menu) value.
See Also:
setCommandPopupMenu(Menu)

getCountIndex

public int getCountIndex()
Gets the count index (int) value.

Returns:
The count index (int) value.
See Also:
setCountIndex(int)

getDataIndex

public int getDataIndex()
Gets the data index (int) value.

Returns:
The data index (int) value.
See Also:
setDataIndex(int)

getDefaultDevice

public DeviceService getDefaultDevice()
                               throws java.lang.ClassNotFoundException,
                                      java.lang.IllegalAccessException,
                                      java.lang.InstantiationException
Gets the default device (DeviceService) value.

Returns:
The default device (DeviceService) value.
Throws:
java.lang.ClassNotFoundException - Class Not Found Exception.
java.lang.IllegalAccessException - Illegal Access Exception.
java.lang.InstantiationException - Instantiation Exception.

getDefaultNotificationService

public org.eclipse.soda.dk.notification.service.NotificationService getDefaultNotificationService()
Gets the default notification service (NotificationService) value.

Returns:
The default notification service (NotificationService) value.

getDevice

public DeviceService getDevice()
Gets the device (DeviceService) value.

Returns:
The device (DeviceService) value.
See Also:
getDefaultDevice(), setDevice(DeviceService)

getDisplay

public org.eclipse.swt.widgets.Display getDisplay()
Gets the display value.

Returns:
The display (Display) value.
See Also:
setDisplay(Display)

getFontHeight

public int getFontHeight()
Gets the font height (int) value.

Returns:
The font height (int) value.
See Also:
setFontHeight(int)

getFontName

public java.lang.String getFontName()
Gets the font name (String) value.

Returns:
The font name (String) value.
See Also:
setFontName(String)

getInactiveColor

public org.eclipse.swt.graphics.Color getInactiveColor()
Gets the inactive color (Color) value.

Returns:
The inactive color (Color) value.
See Also:
setInactiveColor(Color)

getItalicFont

public org.eclipse.swt.graphics.Font getItalicFont()
Gets the italic font (Font) value.

Returns:
The italic font (Font) value.
See Also:
setItalicFont(Font)

getKeyIndex

public int getKeyIndex()
Gets the key index (int) value.

Returns:
The key index (int) value.
See Also:
setKeyIndex(int)

getLittleActiveColor

public org.eclipse.swt.graphics.Color getLittleActiveColor()
Gets the little active color (Color) value.

Returns:
The little active color (Color) value.
See Also:
setLittleActiveColor(Color)

getMeasurementImage

public org.eclipse.swt.graphics.Image getMeasurementImage()
Gets the measurement image (Image) value.

Returns:
The measurement image (Image) value.
See Also:
setMeasurementImage(Image)

getMeasurementPopupMenu

public org.eclipse.swt.widgets.Menu getMeasurementPopupMenu()
Gets the measurement popup menu (Menu) value.

Returns:
The measurement popup menu (Menu) value.
See Also:
setMeasurementPopupMenu(Menu)

getNormalFont

public org.eclipse.swt.graphics.Font getNormalFont()
Gets the normal font (Font) value.

Returns:
The normal font (Font) value.
See Also:
setNormalFont(Font)

getShell

public org.eclipse.swt.widgets.Shell getShell()
Gets the shell value.

Returns:
The shell (Shell) value.
See Also:
createShell(), setShell(Shell)

getSignalImage

public org.eclipse.swt.graphics.Image getSignalImage()
Gets the signal image (Image) value.

Returns:
The signal image (Image) value.
See Also:
setSignalImage(Image)

getSignalPopupMenu

public org.eclipse.swt.widgets.Menu getSignalPopupMenu()
Gets the signal popup menu (Menu) value.

Returns:
The signal popup menu (Menu) value.
See Also:
setSignalPopupMenu(Menu)

getTableCommand

public org.eclipse.swt.widgets.Table getTableCommand()
Gets the table command (Table) value.

Returns:
The table command (Table) value.
See Also:
setTableCommand(Table)

getTableMeasurement

public org.eclipse.swt.widgets.Table getTableMeasurement()
Gets the table measurement (Table) value.

Returns:
The table measurement (Table) value.
See Also:
setTableMeasurement(Table)

getTableSignal

public org.eclipse.swt.widgets.Table getTableSignal()
Gets the table signal (Table) value.

Returns:
The table signal (Table) value.
See Also:
setTableSignal(Table)

getThread

public java.lang.Thread getThread()
Gets the thread value.

Returns:
The thread (Thread) value.
See Also:
setThread(Thread), startThread()

getTimestamp

public long getTimestamp()
Gets the timestamp (long) value.

Returns:
The timestamp (long) value.
See Also:
setTimestamp(long)

getTimestampIndex

public int getTimestampIndex()
Gets the timestamp index (int) value.

Returns:
The timestamp index (int) value.
See Also:
setTimestampIndex(int)

getTitle

public java.lang.String getTitle()
Gets the title (String) value.

Returns:
The title (String) value.

getTransport

public TransportService getTransport()
Gets the transport (TransportService) value.

Returns:
The transport (TransportService) value.
See Also:
setTransport(TransportService)

isActive

public boolean isActive()
Gets the active (boolean) value.

Returns:
The active (boolean) value.
See Also:
setActive(boolean)

menuHidden

public void menuHidden(org.eclipse.swt.events.MenuEvent e)
Menu hidden with the specified e parameter.

Specified by:
menuHidden in interface org.eclipse.swt.events.MenuListener
Parameters:
e - The e (MenuEvent) parameter.

menuShown

public void menuShown(org.eclipse.swt.events.MenuEvent e)
Menu shown with the specified e parameter.

Specified by:
menuShown in interface org.eclipse.swt.events.MenuListener
Parameters:
e - The e (MenuEvent) parameter.

openControlWindow

protected void openControlWindow(Bridge bridge)
Get data dialog with the specified bridge parameter.

Parameters:
bridge - The bridge (Bridge) parameter.

populateTables

public void populateTables()
Populate tables.


refresh

public void refresh()
Refresh.


run

public void run()
Run.

Specified by:
run in interface java.lang.Runnable
See Also:
run(String[])

run

public void run(java.lang.String[] arguments)
Run with the specified arguments parameter.

Parameters:
arguments - The arguments (String[]) parameter.
See Also:
run()

setActive

public void setActive(boolean active)
Sets the active value.

Parameters:
active - The active (boolean) parameter.
See Also:
isActive()

setActiveColor

public void setActiveColor(org.eclipse.swt.graphics.Color activeColor)
Sets the active color value.

Parameters:
activeColor - The active color (Color) parameter.
See Also:
getActiveColor(), getLittleActiveColor(), setLittleActiveColor(Color)

setBoldFont

public void setBoldFont(org.eclipse.swt.graphics.Font boldFont)
Sets the bold font value.

Parameters:
boldFont - The bold font (Font) parameter.
See Also:
getBoldFont()

setBridges

public void setBridges(Bridge[] bridges)
Sets the bridges value.

Parameters:
bridges - The bridges (Bridge[]) parameter.
See Also:
getBridges()

setCommandImage

public void setCommandImage(org.eclipse.swt.graphics.Image commandImage)
Sets the command image value.

Parameters:
commandImage - The command image (Image) parameter.
See Also:
getCommandImage()

setCommandPopupMenu

public void setCommandPopupMenu(org.eclipse.swt.widgets.Menu commandPopupMenu)
Sets the command popup menu value.

Parameters:
commandPopupMenu - The command popup menu (Menu) parameter.
See Also:
getCommandPopupMenu()

setCountIndex

public void setCountIndex(int countIndex)
Sets the count index value.

Parameters:
countIndex - The count index (int) parameter.
See Also:
getCountIndex()

setDataIndex

public void setDataIndex(int dataIndex)
Sets the data index value.

Parameters:
dataIndex - The data index (int) parameter.
See Also:
getDataIndex()

setDevice

public void setDevice(DeviceService device)
Sets the device value.

Parameters:
device - The device (DeviceService) parameter.
See Also:
getDefaultDevice(), getDevice()

setDisplay

public void setDisplay(org.eclipse.swt.widgets.Display display)
Sets the display value.

Parameters:
display - The display (Display) parameter.
See Also:
getDisplay()

setFontHeight

public void setFontHeight(int fontHeight)
Sets the font height value.

Parameters:
fontHeight - The font height (int) parameter.
See Also:
getFontHeight()

setFontName

public void setFontName(java.lang.String fontName)
Sets the font name value.

Parameters:
fontName - The font name (String) parameter.
See Also:
getFontName()

setInactiveColor

public void setInactiveColor(org.eclipse.swt.graphics.Color inactiveColor)
Sets the inactive color value.

Parameters:
inactiveColor - The inactive color (Color) parameter.
See Also:
getInactiveColor()

setItalicFont

public void setItalicFont(org.eclipse.swt.graphics.Font italicFont)
Sets the italic font value.

Parameters:
italicFont - The italic font (Font) parameter.
See Also:
getItalicFont()

setKeyIndex

public void setKeyIndex(int keyIndex)
Sets the key index value.

Parameters:
keyIndex - The key index (int) parameter.
See Also:
getKeyIndex()

setLittleActiveColor

public void setLittleActiveColor(org.eclipse.swt.graphics.Color littleActiveColor)
Sets the little active color value.

Parameters:
littleActiveColor - The little active color (Color) parameter.
See Also:
getLittleActiveColor()

setMeasurementImage

public void setMeasurementImage(org.eclipse.swt.graphics.Image measurementImage)
Sets the measurement image value.

Parameters:
measurementImage - The measurement image (Image) parameter.
See Also:
getMeasurementImage()

setMeasurementPopupMenu

public void setMeasurementPopupMenu(org.eclipse.swt.widgets.Menu measurementPopupMenu)
Sets the measurement popup menu value.

Parameters:
measurementPopupMenu - The measurement popup menu (Menu) parameter.
See Also:
getMeasurementPopupMenu()

setNormalFont

public void setNormalFont(org.eclipse.swt.graphics.Font normalFont)
Sets the normal font value.

Parameters:
normalFont - The normal font (Font) parameter.
See Also:
getNormalFont()

setShell

public void setShell(org.eclipse.swt.widgets.Shell shell)
Sets the shell value.

Parameters:
shell - The shell (Shell) parameter.
See Also:
createShell(), getShell()

setSignalImage

public void setSignalImage(org.eclipse.swt.graphics.Image signalImage)
Sets the signal image value.

Parameters:
signalImage - The signal image (Image) parameter.
See Also:
getSignalImage()

setSignalPopupMenu

public void setSignalPopupMenu(org.eclipse.swt.widgets.Menu signalPopupMenu)
Sets the signal popup menu value.

Parameters:
signalPopupMenu - The signal popup menu (Menu) parameter.
See Also:
getSignalPopupMenu()

setTableCommand

public void setTableCommand(org.eclipse.swt.widgets.Table tableCommand)
Sets the table command value.

Parameters:
tableCommand - The table command (Table) parameter.
See Also:
getTableCommand()

setTableMeasurement

public void setTableMeasurement(org.eclipse.swt.widgets.Table tableMeasurement)
Sets the table measurement value.

Parameters:
tableMeasurement - The table measurement (Table) parameter.
See Also:
getTableMeasurement()

setTableSignal

public void setTableSignal(org.eclipse.swt.widgets.Table tableSignal)
Sets the table signal value.

Parameters:
tableSignal - The table signal (Table) parameter.
See Also:
getTableSignal()

setThread

public void setThread(java.lang.Thread thread)
Sets the thread value.

Parameters:
thread - The thread (Thread) parameter.
See Also:
getThread(), startThread()

setTimestamp

public void setTimestamp(long timestamp)
Sets the timestamp value.

Parameters:
timestamp - The time stamp (long) parameter.
See Also:
getTimestamp()

setTimestampIndex

public void setTimestampIndex(int timestampIndex)
Sets the timestamp index value.

Parameters:
timestampIndex - The time stamp index (int) parameter.
See Also:
getTimestampIndex()

setTransport

public void setTransport(TransportService transport)
Sets the transport value.

Parameters:
transport - The transport (TransportService) parameter.
See Also:
getTransport()

setupCommand

public void setupCommand(org.eclipse.swt.widgets.Composite composite)
Sets the up command value.

Parameters:
composite - The composite (Composite) parameter.
See Also:
getTableCommand(), setTableCommand(Table)

setupFonts

public void setupFonts(org.eclipse.swt.widgets.Table table)
Sets the up fonts value.

Parameters:
table - The table (Table) parameter.

setupMeasurement

public void setupMeasurement(org.eclipse.swt.widgets.Composite composite)
Sets the up measurement value.

Parameters:
composite - The composite (Composite) parameter.
See Also:
getTableMeasurement(), setTableMeasurement(Table)

setupSignal

public void setupSignal(org.eclipse.swt.widgets.Composite composite)
Sets the up signal value.

Parameters:
composite - The composite (Composite) parameter.
See Also:
getTableSignal(), setTableSignal(Table)

start

public void start()
Start the test case.


startThread

public void startThread()
Start thread.

See Also:
getThread(), setThread(Thread)

stop

public void stop()
Stops the test case.


widgetDefaultSelected

public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Widget default selected with the specified e parameter.

Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
Parameters:
e - The e (SelectionEvent) parameter.

widgetSelected

public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
Widget selected with the specified e parameter.

Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener
Parameters:
e - The e (SelectionEvent) parameter.
See Also:
widgetDefaultSelected(SelectionEvent)

2009-01-09 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.