public class SelfRegisteredTestDomainImplementation extends TestDomainImplementationJava
Java applications that need
to manually enable themselves for testing. Manually enblement is required
when the JRE is unsupported or the environment does not allow for normal
enablement. This is most obviously true for SWT stand-alone applications
(SWT not running enbedded in Eclipse).| Modifier and Type | Field and Description |
|---|---|
protected static com.rational.test.ft.util.FtDebug |
debug |
IGNORE_MOUSE_DOUBLECLICK_THRESHOLD, IGNORE_MOUSE_DRAG| Constructor and Description |
|---|
SelfRegisteredTestDomainImplementation() |
SelfRegisteredTestDomainImplementation(java.lang.String domainName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addTopLevelObject(java.lang.Object topLevelObject)
Adds a window to the top-level windows vector.
|
com.rational.test.ft.domain.ProxyTestObject |
getTopLevelObject(com.rational.test.ft.sys.graphical.Window window)
Returns the topLevelObject that matches the specified window.
|
java.util.Enumeration |
getTopLevelObjects()
Returns an enumeration for the top-level objects within this
domain implementation.
|
void |
removeTopLevelObject(java.lang.Object topLevelObject)
Removes a window to the top-level windows vector.
|
getActionRecordingFlags, getDomainProxy, getImplementationName, getProxiesForWindow, getProxy, getTheDomainImplementation, IAmTheOne, registerFromSwtUIThread, registerProxiespublic SelfRegisteredTestDomainImplementation(java.lang.String domainName)
public SelfRegisteredTestDomainImplementation()
public java.util.Enumeration getTopLevelObjects()
getTopLevelObjects in class com.rational.test.ft.domain.TestDomainImplementationpublic com.rational.test.ft.domain.ProxyTestObject getTopLevelObject(com.rational.test.ft.sys.graphical.Window window)
getTopLevelObject in class com.rational.test.ft.domain.TestDomainImplementationwindow - The window object to match.public boolean addTopLevelObject(java.lang.Object topLevelObject)
c - The top level window to add.public void removeTopLevelObject(java.lang.Object topLevelObject)
w - The window to locate and remove from the top level
windows list.