public class RGuiClassData extends GuiClassData
Extends org.safs.GuiClassData to use Rational specific mechanisms for identifying class hierarchy in TestObjects.
ALT_NAME_TYPES, classassigns, classesmap, classtypesmap, CONTAINER_TYPES, CUSTOM_JAVA_OBJECTS_MAP, CUSTOM_OBJECT_TYPES_MAP, DEFAULT_CLASS_TYPE, DEFAULT_JAVA_OBJECTS_MAP, DEFAULT_OBJECT_TYPE, DEFAULT_OBJECT_TYPES_MAP, DEFAULT_TYPE_SEPARATOR, POPUP_MENU_CLASSES, TOOLTIP_CONTAINER_TYPES
Constructor and Description |
---|
RGuiClassData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMappedClassType(java.lang.String classname,
java.lang.Object anObject)
Retrieves the class Type we have stored for the provided class name (if any).
|
protected java.lang.String |
getMappedJavaClassType(java.lang.String classname,
java.lang.Object anObject)
Retrieves Java class Type we have stored for the provided class name (if any).
|
protected java.lang.String |
getMappedNetClassType(java.lang.String classname,
java.lang.Object anObject)
Has the same functionality as getMappedJavaClassType()
If we can not find the apporiate type for the parameter classname, we will try to use
the ancestor of parameter anObject to get the mapping type.
|
classmap, classtypeContainsClassType, deduceOneClassType, getGenericObjectType, getMappedClassType, getResourceURL, getTypesAsArray, getUniversalResourceURL, isAltNameType, isAssignableFrom, isContainerType, isMatched, isMatchedType, isPopupMenuClass, isToolTipContainerType, typesmap
public java.lang.String getMappedClassType(java.lang.String classname, java.lang.Object anObject)
Overrides the superclass to handle Rational TestObject proxies.
getMappedClassType
in class GuiClassData
classname
- the actual classname sought as a known class type. This is
really just the name of the proxied class as provided in
theObject. On rare occassions this can be NULL!!!theObject
- the TestObject proxy to evaluate for class hierarchy.Window,[classname]
if this is a top-level object without
a mapping. Generic
if no mapped type is found otherwise.GuiClassData.getMappedClassType(String, Object, boolean, boolean)
protected java.lang.String getMappedJavaClassType(java.lang.String classname, java.lang.Object anObject)
Overrides the superclass to handle Rational TestObject proxies.
classname
- the actual classname sought as a known class type. This is
really just the name of the proxied class as provided in
theObject. On rare occassions this can be null!!!theObject
- the TestObject proxy to evaluate for class hierarchy.null
if no mapped type is found.protected java.lang.String getMappedNetClassType(java.lang.String classname, java.lang.Object anObject)
classname
- the actual classname sought as a known class type. This is
really just the name of the proxied class as provided in
theObject. On rare occassions this can be null!!!anObject
- the TestObject proxy to evaluate for class hierarchy.null
if no mapped type is found.Copyright © SAS Institute. All Rights Reserved.