IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester Proxy SDK Reference

Project Version 2.3

com.rational.test.ft.domain.java.swt
Class SwtChannelMap

java.lang.Object   extended by com.rational.test.ft.domain.java.swt.SwtChannelMap

public class SwtChannelMap
extends java.lang.Object

This class provides access to the channels for SWT objects. Channels provide a means of executing code which requires thread affinity. A ChannelRunnable object is created and sent to the desired channel for excution. All channel implementations must implement the IChannel interface.


Method Summary
static IChannel getChannel()
          Find the channel - if we support multiple, this will have to change to returning an array of channels.
static IChannel getChannel(Widget w)
          Find the channel for use with the swt widget
static IChannel[] getChannels()
           
static void register()
          Note that for now, there is only a single swt channel supported!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static void register()
Note that for now, there is only a single swt channel supported!


getChannel

public static IChannel getChannel(Widget w)
Find the channel for use with the swt widget


getChannel

public static IChannel getChannel()
Find the channel - if we support multiple, this will have to change to returning an array of channels.


getChannels

public static IChannel[] getChannels()