com.rational.test.ft.domain.java

Class TestDomainImplementationJava

  • java.lang.Object
    • com.rational.test.ft.domain.TestDomain
      • com.rational.test.ft.domain.TestDomainImplementation
        • com.rational.test.ft.domain.java.TestDomainImplementationJava
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getActionRecordingFlags()
      Returns bits that control the recording of actions.
      com.rational.test.ft.domain.DomainProxy getDomainProxy()
      Returns the proxy for this domain object.
      java.lang.String getImplementationName()
      Returns the name of the domain implementation.
      com.rational.test.ft.domain.ProxyTestObject[] getProxiesForWindow(com.rational.test.ft.sys.graphical.Window win) 
      com.rational.test.ft.domain.ProxyTestObject getProxy(java.lang.Object theObject)
      Returns a proxy object for the specified object in the SUT.
      static com.rational.test.ft.domain.TestDomainImplementation getTheDomainImplementation()
      Returns the instance for this domain implementation.
      protected boolean IAmTheOne() 
      void registerFromSwtUIThread() 
      void registerProxies(java.util.Enumeration proxies)
      Registers proxies for this domain implementation.
      • Methods inherited from class com.rational.test.ft.domain.TestDomainImplementation

        equals, find, getDescribedObject, getTopLevelObject, getTopLevelObject, getTopLevelObjects, supportVOMOptimization
      • Methods inherited from class com.rational.test.ft.domain.TestDomain

        getName, isGraphical, isNamed
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • IGNORE_MOUSE_DOUBLECLICK_THRESHOLD

        public static final int IGNORE_MOUSE_DOUBLECLICK_THRESHOLD
        See Also:
        Constant Field Values
    • Constructor Detail

      • TestDomainImplementationJava

        public TestDomainImplementationJava(java.lang.String name)
        Constructor
    • Method Detail

      • IAmTheOne

        protected boolean IAmTheOne()
      • getTheDomainImplementation

        public static com.rational.test.ft.domain.TestDomainImplementation getTheDomainImplementation()
        Returns the instance for this domain implementation. For java, if not for all domains, there can be only one.
      • getImplementationName

        public final java.lang.String getImplementationName()
        Returns the name of the domain implementation.
        Specified by:
        getImplementationName in class com.rational.test.ft.domain.TestDomainImplementation
      • getActionRecordingFlags

        public int getActionRecordingFlags()
        Returns bits that control the recording of actions.
        Specified by:
        getActionRecordingFlags in class com.rational.test.ft.domain.TestDomainImplementation
      • getProxy

        public final com.rational.test.ft.domain.ProxyTestObject getProxy(java.lang.Object theObject)
        Returns a proxy object for the specified object in the SUT. If the object is relative to an associated domain, that domain should be called to return a proxy for the object. If the object is not part of this domain or an associated domain, a null object should be returned.
        Specified by:
        getProxy in class com.rational.test.ft.domain.TestDomainImplementation
        Parameters:
        theObject - The object to return a proxy object for.
        Returns:
        A proxy for the specified object in the SUT.
      • getDomainProxy

        public final com.rational.test.ft.domain.DomainProxy getDomainProxy()
        Returns the proxy for this domain object.
        Specified by:
        getDomainProxy in class com.rational.test.ft.domain.TestDomainImplementation
      • registerProxies

        public final void registerProxies(java.util.Enumeration proxies)
        Registers proxies for this domain implementation.
        Specified by:
        registerProxies in class com.rational.test.ft.domain.TestDomainImplementation
      • registerFromSwtUIThread

        public void registerFromSwtUIThread()
      • getProxiesForWindow

        public com.rational.test.ft.domain.ProxyTestObject[] getProxiesForWindow(com.rational.test.ft.sys.graphical.Window win)