org.eclipse.hyades.test.tools.ui.java.internal.junit.navigator
Class RegularJUnitPackageProxyNode
java.lang.Object
org.eclipse.hyades.test.tools.ui.java.internal.junit.navigator.JavaElementProxyNode
org.eclipse.hyades.test.tools.ui.java.internal.junit.navigator.JavaParentElementProxyNode
org.eclipse.hyades.test.tools.ui.java.internal.junit.navigator.RegularJUnitPackageProxyNode
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.hyades.models.common.util.IDisposable, IExtendedProxyNode, IJavaElementChangedListenerProxyNode, org.eclipse.hyades.test.ui.navigator.IProxy, org.eclipse.hyades.test.ui.navigator.IProxyNode
- public class RegularJUnitPackageProxyNode
- extends JavaParentElementProxyNode
Proxy node for a package. This proxy contains all JUnit test found in the corresponding java package.
- Since:
- 4.3
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static RegularJUnitPackageProxyNode create(org.eclipse.jdt.core.IPackageFragment fragment,
java.lang.Object parent,
org.eclipse.jdt.core.IJavaElementDelta delta)
getPackageFragment
public org.eclipse.jdt.core.IPackageFragment getPackageFragment()
getText
public java.lang.String getText()
- Specified by:
getText in interface org.eclipse.hyades.test.ui.navigator.IProxyNode- Overrides:
getText in class JavaElementProxyNode
getImage
public org.eclipse.swt.graphics.Image getImage()
createChildProxy
protected JavaElementProxyNode createChildProxy(org.eclipse.jdt.core.IJavaElement childElement,
org.eclipse.jdt.core.IJavaElementDelta delta)
- Description copied from class:
JavaParentElementProxyNode
- Creates a child proxy for the given element.
- Specified by:
createChildProxy in class JavaParentElementProxyNode
- Parameters:
childElement - A java element that is a child of the java element associated to this
proxy.delta - Optionnally, the java event information that triggers the computation of this child
proxy.
- Returns:
- The child proxy, or
null if the child java element does not have a
matching proxy.
removeChildProxy
protected void removeChildProxy(JavaElementProxyNode proxy)
- Overrides:
removeChildProxy in class JavaParentElementProxyNode
childChanged
protected org.eclipse.hyades.test.ui.navigator.IProxyNode childChanged(org.eclipse.jdt.core.IJavaElementDelta delta,
JavaElementProxyNode child)
- Overrides:
childChanged in class JavaParentElementProxyNode
getChildren
public org.eclipse.hyades.test.ui.navigator.IProxyNode[] getChildren()
- Specified by:
getChildren in interface org.eclipse.hyades.test.ui.navigator.IProxyNode- Overrides:
getChildren in class JavaParentElementProxyNode