TPTP 4.4.0 Testing Tools Project
Internal API Specification

org.eclipse.hyades.test.tools.ui.java.internal.junit.navigator
Class PackageProxyNode

java.lang.Object
  extended byorg.eclipse.hyades.test.tools.ui.java.internal.junit.navigator.PackageProxyNode
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IExtendedProxyNode, org.eclipse.hyades.test.ui.navigator.IProxy, org.eclipse.hyades.test.ui.navigator.IProxyNode, org.eclipse.hyades.test.ui.navigator.IResourceChangeListenerProxyNode

public class PackageProxyNode
extends java.lang.Object
implements org.eclipse.hyades.test.ui.navigator.IResourceChangeListenerProxyNode, IExtendedProxyNode

Proxy node from a package. This proxy contains all JUnit test found in the corresponding java package.

Since:
4.0

Method Summary
static PackageProxyNode create(org.eclipse.core.resources.IFolder folder, org.eclipse.core.resources.IResourceDelta delta, org.eclipse.hyades.test.ui.navigator.ITestFolderContentValidator validator, org.eclipse.hyades.test.ui.navigator.IFileProxyManager fileProxyManager, SourceFolderProxyNode node)
           
static PackageProxyNode create(org.eclipse.jdt.core.IPackageFragment fragment, org.eclipse.hyades.test.ui.navigator.ITestFolderContentValidator validator, org.eclipse.hyades.test.ui.navigator.IFileProxyManager fileProxyManager, java.lang.Object parent)
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 org.eclipse.hyades.test.ui.navigator.IProxyNode[] getChildren()
           
 org.eclipse.core.resources.IResource getCorrespondingResource()
          Returns the resource that the implementor is corresponding to.
 java.lang.String getIdentifier()
           
 org.eclipse.swt.graphics.Image getImage()
           
 java.lang.Object getParent()
           
 java.lang.String getText()
           
 org.eclipse.core.resources.IResource getUnderlyingResource()
           
 org.eclipse.hyades.test.ui.navigator.IProxyNode resourceChanged(org.eclipse.core.resources.IResourceDelta rootDelta)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static PackageProxyNode create(org.eclipse.core.resources.IFolder folder,
                                      org.eclipse.core.resources.IResourceDelta delta,
                                      org.eclipse.hyades.test.ui.navigator.ITestFolderContentValidator validator,
                                      org.eclipse.hyades.test.ui.navigator.IFileProxyManager fileProxyManager,
                                      SourceFolderProxyNode node)

create

public static PackageProxyNode create(org.eclipse.jdt.core.IPackageFragment fragment,
                                      org.eclipse.hyades.test.ui.navigator.ITestFolderContentValidator validator,
                                      org.eclipse.hyades.test.ui.navigator.IFileProxyManager fileProxyManager,
                                      java.lang.Object parent)

getText

public java.lang.String getText()
Specified by:
getText in interface org.eclipse.hyades.test.ui.navigator.IProxyNode

getImage

public org.eclipse.swt.graphics.Image getImage()
Specified by:
getImage in interface org.eclipse.hyades.test.ui.navigator.IProxyNode

getParent

public java.lang.Object getParent()
Specified by:
getParent in interface org.eclipse.hyades.test.ui.navigator.IProxyNode

getChildren

public org.eclipse.hyades.test.ui.navigator.IProxyNode[] getChildren()
Specified by:
getChildren in interface org.eclipse.hyades.test.ui.navigator.IProxyNode

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable

getUnderlyingResource

public org.eclipse.core.resources.IResource getUnderlyingResource()
Specified by:
getUnderlyingResource in interface org.eclipse.hyades.test.ui.navigator.IProxy

getIdentifier

public java.lang.String getIdentifier()
Specified by:
getIdentifier in interface org.eclipse.hyades.test.ui.navigator.IProxy

resourceChanged

public org.eclipse.hyades.test.ui.navigator.IProxyNode resourceChanged(org.eclipse.core.resources.IResourceDelta rootDelta)
Specified by:
resourceChanged in interface org.eclipse.hyades.test.ui.navigator.IResourceChangeListenerProxyNode

getCorrespondingResource

public org.eclipse.core.resources.IResource getCorrespondingResource()
Description copied from interface: IExtendedProxyNode
Returns the resource that the implementor is corresponding to. It can be null if the implementor does not match to a physical resource.

Specified by:
getCorrespondingResource in interface IExtendedProxyNode
Returns:
a resource or null

TPTP 4.4.0 Testing Tools Project
Internal API Specification