TPTP 4.4.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.navigator
Interface ITypedElementProxyFactory

All Known Subinterfaces:
IPersistableTypedElementProxyFactory
All Known Implementing Classes:
DefaultTypedElementProxyFactory

public interface ITypedElementProxyFactory

Factory for typed elements.

  • implementation of TPFTest
  • implementation of TPFExecutionResult
  • implementation of TPFTestComponent
  • Implementation of this interface should be used in the following extension point:

    org.eclipse.hyades.test.ui.testNavigatorTypedElementProxyFactory


    Method Summary
     IProxyNode create(org.eclipse.hyades.models.common.testprofile.TPFExecutionResult result, java.lang.Object parent)
              Create a new proxy node from an execution result.
     IProxyNode create(org.eclipse.hyades.models.common.testprofile.TPFTestComponent component, java.lang.Object parent)
              Create a new proxy node from a test component.
     IProxyNode create(org.eclipse.hyades.models.common.testprofile.TPFTest test, java.lang.Object parent)
              Create a proxy node from a test element, mainly: TPFTestSuite TPFTestCase
     

    Method Detail

    create

    public IProxyNode create(org.eclipse.hyades.models.common.testprofile.TPFTest test,
                             java.lang.Object parent)
    Create a proxy node from a test element, mainly:
  • TPFTestSuite
  • TPFTestCase
  • Parameters:
    test - the element to convert from.
    parent - the parent of the new proxy.
    Returns:
    the new proxy that represents the given test element in the navigator.

    create

    public IProxyNode create(org.eclipse.hyades.models.common.testprofile.TPFExecutionResult result,
                             java.lang.Object parent)
    Create a new proxy node from an execution result.

    Parameters:
    result - the execution result to convert from.
    parent - the parent of the new proxy.
    Returns:
    the new proxy that represents the given execution result element in the navigator.

    create

    public IProxyNode create(org.eclipse.hyades.models.common.testprofile.TPFTestComponent component,
                             java.lang.Object parent)
    Create a new proxy node from a test component.

    Parameters:
    component - the test component to convert from.
    parent - the parent of the new proxy.
    Returns:
    the new proxy that represents the given test component element in the navigator.

    TPTP 4.4.0 Testing Tools Project
    Public API Specification