public class GefEditPartTestObject extends GuiTestObject
ShellTestObjectignoreTheObjectState, ref| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, switchToexists, exists, exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistencecompare, compare, compareAndLog, compareAndLog, equals, find, findAndInvoke, getActualData, getChildren, getDescribedObject, getDescribedObjects, getDescriptiveName, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMapProperties, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectCustomClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTopMappableParent, getTopParent, hashCode, invoke, invoke, invoke, invokeProxy, invokeProxy, isHtmlWebui, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistencepublic 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()
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();