TPTP 4.1.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.navigator
Class TypedElementProxyNode

java.lang.Object
  extended byorg.eclipse.hyades.test.ui.navigator.EObjectProxyNode
      extended byorg.eclipse.hyades.test.ui.navigator.CMNNamedElementProxyNode
          extended byorg.eclipse.hyades.test.ui.navigator.TypedElementProxyNode
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IProxy, IProxyNode, IProxyNodeRenamer, ITypedElementProxyNode

public abstract class TypedElementProxyNode
extends CMNNamedElementProxyNode
implements ITypedElementProxyNode

General proxy for typed element. This class is derived for test suite, test case, test component and execution result


Constructor Summary
TypedElementProxyNode(org.eclipse.ui.IMemento memento, java.lang.Object parent)
          Constructor to recreate a presisted proxy node.
TypedElementProxyNode(org.eclipse.hyades.models.common.testprofile.TPFExecutionResult exec, java.lang.Object parent)
          Constructor using test log.
TypedElementProxyNode(org.eclipse.hyades.models.common.testprofile.TPFTestComponent testComponent, java.lang.Object parent)
          Constructor using test component.
TypedElementProxyNode(org.eclipse.hyades.models.common.testprofile.TPFTest test, java.lang.Object parent)
          Constructor using test suite and test case objects.
 
Method Summary
 java.lang.String getType()
          Returns the type of the node
 
Methods inherited from class org.eclipse.hyades.test.ui.navigator.CMNNamedElementProxyNode
getAdapter, getText, isApplicableFor, performRename, performUserInteraction, setName
 
Methods inherited from class org.eclipse.hyades.test.ui.navigator.EObjectProxyNode
getEObject, getIdentifier, getOriginatorURI, getParent, getUnderlyingResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.test.ui.navigator.IProxyNode
getChildren, getImage, getParent, getText
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.hyades.test.ui.navigator.IProxy
getIdentifier, getUnderlyingResource
 

Constructor Detail

TypedElementProxyNode

public TypedElementProxyNode(org.eclipse.hyades.models.common.testprofile.TPFTest test,
                             java.lang.Object parent)
Constructor using test suite and test case objects.

Parameters:
test - a test suite or a test case element.
parent - the parent node of the new proxy node.

TypedElementProxyNode

public TypedElementProxyNode(org.eclipse.hyades.models.common.testprofile.TPFExecutionResult exec,
                             java.lang.Object parent)
Constructor using test log.

Parameters:
exec - a test log
parent - the parent node of the new proxy node.

TypedElementProxyNode

public TypedElementProxyNode(org.eclipse.hyades.models.common.testprofile.TPFTestComponent testComponent,
                             java.lang.Object parent)
Constructor using test component.

Parameters:
testComponent - a test component.
parent - the parent node of the new proxy node.

TypedElementProxyNode

public TypedElementProxyNode(org.eclipse.ui.IMemento memento,
                             java.lang.Object parent)
Constructor to recreate a presisted proxy node.

Parameters:
memento - the saved proxy node content state.
parent - the parent node of the new proxy node.
Method Detail

getType

public java.lang.String getType()
Description copied from interface: ITypedElementProxyNode
Returns the type of the node

Specified by:
getType in interface ITypedElementProxyNode
Returns:
the type of the node
See Also:
ITypedElementProxyNode.getType()

TPTP 4.1.0 Testing Tools Project
Public API Specification