TPTP 4.4.0 Testing Tools Project
Internal API Specification

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

java.lang.Object
  extended byorg.eclipse.hyades.test.tools.ui.java.internal.junit.navigator.JavaElementProxyNode
      extended byorg.eclipse.hyades.test.tools.ui.java.internal.junit.navigator.RegularJUnitTestSuiteProxyNode
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.hyades.models.common.util.IDisposable, IExtendedProxyNode, IJavaElementChangedListenerProxyNode, org.eclipse.hyades.test.ui.navigator.IPersistableProxyNode, org.eclipse.hyades.test.ui.navigator.IProxy, org.eclipse.hyades.test.ui.navigator.IProxyNode, org.eclipse.hyades.test.ui.navigator.ITestSuiteProxyNode, org.eclipse.hyades.test.ui.navigator.ITypedElementProxyNode

public class RegularJUnitTestSuiteProxyNode
extends JavaElementProxyNode
implements org.eclipse.hyades.test.ui.navigator.ITestSuiteProxyNode, org.eclipse.hyades.test.ui.navigator.IPersistableProxyNode


Field Summary
 
Fields inherited from class org.eclipse.hyades.test.tools.ui.java.internal.junit.navigator.JavaElementProxyNode
NO_CHILDREN
 
Method Summary
 void dispose()
           
 org.eclipse.hyades.test.ui.navigator.IProxyNode elementChanged(org.eclipse.jdt.core.IJavaElementDelta delta)
          Processes the delta, rooted at the java element that this proxy is associated to.
 org.eclipse.hyades.test.ui.navigator.IProxyNode[] getChildren()
           
 org.eclipse.jdt.core.ICompilationUnit getCompilationUnit()
           
 java.lang.String getFactoryID()
           
 java.lang.String getIdentifier()
           
 org.eclipse.swt.graphics.Image getImage()
           
 org.eclipse.hyades.models.common.testprofile.TPFTestSuite getTestSuite()
           
 java.lang.String getType()
           
 boolean isDetached()
          Returns whether this JUnit compilation unit is attached to a persisted test suite model.
 boolean saveState(org.eclipse.ui.IMemento memento)
           
 
Methods inherited from class org.eclipse.hyades.test.tools.ui.java.internal.junit.navigator.JavaElementProxyNode
getAdapter, getCorrespondingResource, getJavaElement, getParent, getProvider, getText, 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
getParent, getText
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.hyades.test.ui.navigator.IProxy
getUnderlyingResource
 

Method Detail

isDetached

public boolean isDetached()
Returns whether this JUnit compilation unit is attached to a persisted test suite model.

Returns:
whether this JUnit compilation unit is attached to a persisted test suite model.

getCompilationUnit

public org.eclipse.jdt.core.ICompilationUnit getCompilationUnit()

getTestSuite

public org.eclipse.hyades.models.common.testprofile.TPFTestSuite getTestSuite()
Specified by:
getTestSuite in interface org.eclipse.hyades.test.ui.navigator.ITestSuiteProxyNode

getType

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

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 JavaElementProxyNode

getImage

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

elementChanged

public org.eclipse.hyades.test.ui.navigator.IProxyNode elementChanged(org.eclipse.jdt.core.IJavaElementDelta delta)
Description copied from interface: IJavaElementChangedListenerProxyNode
Processes the delta, rooted at the java element that this proxy is associated to.

Specified by:
elementChanged in interface IJavaElementChangedListenerProxyNode
Parameters:
delta -
Returns:
The lowest proxy, in the subtree of the proxy, that needs to be refreshed by a viewer. This may be this proxy itself.

getFactoryID

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

saveState

public boolean saveState(org.eclipse.ui.IMemento memento)
Specified by:
saveState in interface org.eclipse.hyades.test.ui.navigator.IPersistableProxyNode

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.hyades.models.common.util.IDisposable

getIdentifier

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

TPTP 4.4.0 Testing Tools Project
Internal API Specification