|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.test.auto.gui.internal.macro.UIObject
| Constructor Summary | |
|---|---|
UIObject(IUIObject parent)
|
|
| Method Summary | |
|---|---|
void |
addChild(IUIObject child)
Adds a child to this object. |
void |
addProperty(java.lang.String name,
java.lang.String value)
Add a property to this UI object. |
int |
childCount()
Returns the number of children that this UI object has |
static IUIObject |
createInstance(IObjectMine objectMine,
AbstractMacroCommand command,
IUIObject parent)
Creates an instace of this class based on a command passed in. |
IUIObject |
findChild(java.lang.String referenceId)
Returns the child with a matching reference id passed in; null if none is found |
IUIObject[] |
getChildren()
Returns the children of this UI object |
java.lang.String |
getContextId()
Returns the context id of this object |
java.lang.Object |
getData()
Returns the data associated with this object. |
java.lang.String |
getDescriptive()
Returns the descriptive field of this object. |
java.util.LinkedList |
getHierarchicalRelation()
Returns the hierarchical relationshipt of this object relative to its parents. |
java.lang.String |
getObjectId()
Returns the id of this object. |
IUIObject |
getParent()
Returns the parent of this UI object |
java.util.Map |
getProperties()
Returns the properties of this UI object. |
java.lang.String |
getProperty(java.lang.String name)
Returns the property of this object |
java.lang.String |
getReferenceId()
Return the reference id of this object |
java.lang.String |
getResolverId()
Returns the resolver id that has resolved this object |
IUIObject |
removeChild(IUIObject child)
Removes a child from this object |
void |
setContextId(java.lang.String contextId)
Sets the context id of this object |
void |
setData(java.lang.Object data)
Can be used to associate a general data object with this object. |
void |
setDescriptive(java.lang.String descriptive)
Returns the descriptive field of this object. |
void |
setObjectId(java.lang.String id)
Sets the id of this object. |
void |
setParent(IUIObject parent)
Set the parent of this UI object |
void |
setReferenceId(java.lang.String referenceId)
Set the reference id of this object. |
void |
setResolver(java.lang.String resolverId)
Sets the resolver id for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UIObject(IUIObject parent)
| Method Detail |
public static IUIObject createInstance(IObjectMine objectMine,
AbstractMacroCommand command,
IUIObject parent)
objectMine - The object mine that this object will be registered withcommand - The command that this object will be based onparent - The parent of this object
public java.lang.String getContextId()
IUIObject
getContextId in interface IUIObjectpublic java.lang.String getDescriptive()
IUIObject
getDescriptive in interface IUIObjectpublic java.util.LinkedList getHierarchicalRelation()
IUIObject
getHierarchicalRelation in interface IUIObjectpublic java.lang.String getObjectId()
IUIObject
getObjectId in interface IUIObjectpublic java.util.Map getProperties()
IUIObject
getProperties in interface IUIObjectpublic java.lang.String getProperty(java.lang.String name)
IUIObject
getProperty in interface IUIObjectname - The name of the property.
public java.lang.String getReferenceId()
IUIObject
getReferenceId in interface IUIObjectpublic void setContextId(java.lang.String contextId)
IUIObject
setContextId in interface IUIObjectcontextId - The context id of this objectpublic void setDescriptive(java.lang.String descriptive)
IUIObject
setDescriptive in interface IUIObjectdescriptive - fieldpublic void setObjectId(java.lang.String id)
IUIObject
setObjectId in interface IUIObject
public void addProperty(java.lang.String name,
java.lang.String value)
IUIObject
addProperty in interface IUIObjectname - The name of the propertyvalue - The value of the propertypublic void setReferenceId(java.lang.String referenceId)
IUIObject
setReferenceId in interface IUIObjectreferenceId - The reference idpublic IUIObject getParent()
IUIObject
getParent in interface IUIObjectpublic void setParent(IUIObject parent)
IUIObject
setParent in interface IUIObjectparent - The parentpublic java.lang.String getResolverId()
IUIObject
getResolverId in interface IUIObjectpublic void setResolver(java.lang.String resolverId)
IUIObject
setResolver in interface IUIObjectresolverId - The resolver id.
public void addChild(IUIObject child)
throws org.eclipse.core.runtime.CoreException
IUIObject
addChild in interface IUIObjectchild - The child to add
org.eclipse.core.runtime.CoreException - In case of any unexpected errorpublic int childCount()
IUIObject
childCount in interface IUIObjectpublic IUIObject[] getChildren()
IUIObject
getChildren in interface IUIObjectpublic IUIObject removeChild(IUIObject child)
IUIObject
removeChild in interface IUIObjectchild - The child to remove
public java.lang.Object getData()
IUIObject
getData in interface IUIObjectpublic void setData(java.lang.Object data)
IUIObject
setData in interface IUIObjectdata - The datapublic IUIObject findChild(java.lang.String referenceId)
IUIObject
findChild in interface IUIObjectreferenceId - The reference id of the child
|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||