|
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.ObjectMine
A concrete implementation of IObjectMine.
| Nested Class Summary | |
|---|---|
static class |
ObjectMine.IDCollisionException
|
static class |
ObjectMine.UIObjectNotFound
|
| Constructor Summary | |
|---|---|
ObjectMine(org.eclipse.hyades.models.common.facades.behavioral.ITestSuite testSuite,
XMLDefaultHandler defaultXMLHandler)
|
|
| Method Summary | |
|---|---|
void |
addInclude(IObjectMine objectMine)
Includes another object mine as part of this mine. |
boolean |
equals(java.lang.Object o)
|
IUIObject |
getActiveObject()
Returns the active object of this object mine. |
IUIObject[] |
getChildren()
Returns the direct children of the root object that this object mine points to |
java.util.List |
getIncludes()
Returns the external object mines that have been added to this object mine |
IObjectMine |
getOutputSource()
Returns the output of this object mine |
org.eclipse.hyades.models.common.facades.behavioral.ITestSuite |
getOwner()
The test suite that owns this object mine. |
IUIObject |
getRoot()
Returns the roo object |
java.lang.String |
getUniqueReferenceId()
Returns the next available unique reference id that can be used. |
IUIObject |
lookupUIObject(IUIObject parent,
java.lang.String referenceId)
Looks up the UI object with the reference id passed in. |
IUIObject |
lookupUIObject(IUIObject parent,
java.lang.String contextId,
java.lang.String objectId)
Looks up the UI object based on the context id and the object id that is passed in. |
IUIObject |
registerObject(IUIObject uiObject)
Registers uiObject under the parent object passed in. |
IUIObject |
registerObject(IUIObject parent,
org.w3c.dom.Node objectNode)
Register the object embedded in the node passed in. |
java.lang.String |
serializeHeaderToString()
Serializes only the header of this object mine to a string representation that can be stored and retrieved for later use. |
java.lang.String |
serializeObjetsToString()
Serializes only the objects of this object mine to a string representation that can be stored and retrieved for later use. |
java.lang.String |
serializeToString()
Serializes this object mine to a string representation that can be stored and retrieved for later use. |
void |
setActiveObject(IUIObject activeObject)
Sets the active object of this object mine. |
void |
setOutputSource(IObjectMine objectMine)
Set the output source to the object mine that is passed in. |
void |
setOwner(org.eclipse.hyades.models.common.facades.behavioral.ITestSuite testSuite)
Sets the owner of this test suite. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ObjectMine(org.eclipse.hyades.models.common.facades.behavioral.ITestSuite testSuite,
XMLDefaultHandler defaultXMLHandler)
| Method Detail |
public void addInclude(IObjectMine objectMine)
IObjectMine
addInclude in interface IObjectMineobjectMine - The object mine to include
public IUIObject lookupUIObject(IUIObject parent,
java.lang.String referenceId)
IObjectMine
lookupUIObject in interface IObjectMineparent - The parent of the objectreferenceId - The reference id of the object
public IUIObject lookupUIObject(IUIObject parent,
java.lang.String contextId,
java.lang.String objectId)
IObjectMine
lookupUIObject in interface IObjectMineparent - The parent of the objectcontextId - The context id of the objectobjectId - The object id of the object
public IUIObject[] getChildren()
IObjectMine
getChildren in interface IObjectMinepublic IUIObject getRoot()
IObjectMine
getRoot in interface IObjectMine
public IUIObject registerObject(IUIObject parent,
org.w3c.dom.Node objectNode)
throws ObjectMine.IDCollisionException,
ObjectMine.UIObjectNotFound,
org.eclipse.core.runtime.CoreException
IObjectMine
registerObject in interface IObjectMineparent - The parent of the object to be registered
org.eclipse.core.runtime.CoreException - Wraps any unexpected error
ObjectMine.IDCollisionException
ObjectMine.UIObjectNotFound
public IUIObject registerObject(IUIObject uiObject)
throws ObjectMine.IDCollisionException,
ObjectMine.UIObjectNotFound,
org.eclipse.core.runtime.CoreException
IObjectMine
registerObject in interface IObjectMineuiObject - The object to be registered
org.eclipse.core.runtime.CoreException - Wraps any unexpected error
ObjectMine.IDCollisionException
ObjectMine.UIObjectNotFoundpublic void setOutputSource(IObjectMine objectMine)
IObjectMine
setOutputSource in interface IObjectMineobjectMine - The object mine that will act as the output source
for this minepublic IObjectMine getOutputSource()
IObjectMine
getOutputSource in interface IObjectMinepublic org.eclipse.hyades.models.common.facades.behavioral.ITestSuite getOwner()
IObjectMine
getOwner in interface IObjectMinepublic java.lang.String serializeToString()
IObjectMineserializeHeaderToString()
appended to the result of serializeObjetsToString().
serializeToString in interface IObjectMinepublic java.lang.String serializeHeaderToString()
IObjectMine
serializeHeaderToString in interface IObjectMineIObjectMine.serializeHeaderToString()public java.lang.String serializeObjetsToString()
IObjectMine
serializeObjetsToString in interface IObjectMineIObjectMine.serializeObjetsToString()public IUIObject getActiveObject()
IObjectMine
getActiveObject in interface IObjectMinepublic void setActiveObject(IUIObject activeObject)
IObjectMine
setActiveObject in interface IObjectMineactiveObject - The active object.public java.lang.String getUniqueReferenceId()
IObjectMine
getUniqueReferenceId in interface IObjectMinepublic java.util.List getIncludes()
IObjectMine
getIncludes in interface IObjectMinepublic boolean equals(java.lang.Object o)
public void setOwner(org.eclipse.hyades.models.common.facades.behavioral.ITestSuite testSuite)
IObjectMine
setOwner in interface IObjectMinetestSuite - The owner
|
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 | ||||||||||