|
IBM Rational Functional Tester Version 8.2.1 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rational.test.ft.object.interfaces.TestObject
com.rational.test.ft.object.interfaces.ClientTestObject
com.rational.test.ft.object.interfaces.GuiTestObject
com.rational.test.ft.object.interfaces.GefEditPartTestObject
public class GefEditPartTestObject
Provides script access to an EditPart in GEF based applications.
ShellTestObject| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
|---|
ref |
| Constructor Summary | |
|---|---|
GefEditPartTestObject()
|
|
GefEditPartTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use. |
|
GefEditPartTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use. |
|
GefEditPartTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use. |
|
GefEditPartTestObject(TestObject obj)
Constructs one GefEditPartTestObject from another GefEditPartTestObject. |
|
GefEditPartTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use. |
|
| Method Summary | |
|---|---|
TestObject[] |
getConnectors()
Provide access to the Connectors. |
GuiTestObject |
getFigure()
Return the Figurecorrespondig to the EditPart |
java.lang.Object |
getModel()
Return the Model for the corresponding EditPart. |
java.lang.String |
getText()
Allows direct access to the text property on the edit part. |
boolean |
isConnector()
Verify if the EditPart is a Connector. |
void |
setText(java.lang.String text)
Set the text on the EditPart. |
| Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject |
|---|
canTakeVP, click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getIWindow, getRole, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
| Methods inherited from class com.rational.test.ft.object.interfaces.ClientTestObject |
|---|
exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistence |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GefEditPartTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public GefEditPartTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
public GefEditPartTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
public GefEditPartTestObject(com.rational.test.ft.object.TestObjectReference ref)
public GefEditPartTestObject(TestObject obj)
GefEditPartTestObject from another GefEditPartTestObject. Both are references to the same object.
public GefEditPartTestObject()
| Method Detail |
|---|
public java.lang.String getText()
Figure for the EditPart.EditPart.
String text = Class1().getText();public void setText(java.lang.String text)
text - the text to update the control with."Class2".
Class1().setText("Class2");public java.lang.Object getModel()
Object models = class1().getModel();
Object classModel = null;
if(models != null && models instanceof Object[]) //The model is an array of Objects
{
Object numModels = (Object[])models;
classModel = numModels[0];
}else if(models != null) //The model is a single Object
{
classModel = models;
}public GuiTestObject getFigure()
TextGuiTestObject if the Figure contains text, else returns GuiTestObject.GuiTestObject fig = class1().getFigure();GuiTestObjectpublic boolean isConnector()
true if the EditPart is a connector, false otherwise.true, if the EditPart is of type ConnectionEditPart, false otherwise.boolean isConnector = conn1().isConnector();public TestObject[] getConnectors()
TestObject's.TestObject []connectors = class1().getConnectors();
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||