TPTP 4.4.0 Testing Tools Project
Public API Specification

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


public interface ITypeProviderContext

Context interface passed to the initialization method of ITypeProvider. This interface is not meant to be implemented by clients.

Since:
4.0

Method Summary
 IFileProxyManager getFileProxyManager()
          Returns the file proxy manager that is used into the type provider to handle proxies.
 IProxyNodeListener getProxyNodeListener()
          Returns an instance of a node listener.
 boolean isStaticView()
          Determines whether the type provider should provide a static view of its content, i.e. it should provide a tree that is complete and accurate at the time a proxy node is requested.
 

Method Detail

getFileProxyManager

public IFileProxyManager getFileProxyManager()
Returns the file proxy manager that is used into the type provider to handle proxies.

Returns:
a file proxy manager instance.

getProxyNodeListener

public IProxyNodeListener getProxyNodeListener()
Returns an instance of a node listener. The TypeProvider is responsible of notifying this listener whenever a node or its content has changed. This is needed to ensure that the TestNavigator is up-to-date as soon as the change occurs.

Returns:

isStaticView

public boolean isStaticView()
Determines whether the type provider should provide a static view of its content, i.e. it should provide a tree that is complete and accurate at the time a proxy node is requested. Also, the provider is not held to provide update events to the IProxyNodeListener when it appears in a static view.

Returns:

TPTP 4.4.0 Testing Tools Project
Public API Specification