TPTP 4.4.0 Testing Tools Project
Internal API Specification

org.eclipse.hyades.test.tools.ui.common.internal.util
Class TestCaseAdapter

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.AdapterImpl
      extended byorg.eclipse.hyades.test.tools.ui.common.internal.util.TestCaseAdapter
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, org.eclipse.hyades.ui.util.IDisposable

public class TestCaseAdapter
extends org.eclipse.emf.common.notify.impl.AdapterImpl
implements org.eclipse.hyades.ui.util.IDisposable

An adapter that is used to notify the overview form of any changes in the test case form.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Field Summary
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
TestCaseAdapter(org.eclipse.swt.widgets.Composite hyperlinkParent, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.String statusLinePrefix, org.eclipse.hyades.ui.editor.IEditorExtension formEditor)
           
 
Method Summary
 void dispose()
           
protected  void disposeChildren(org.eclipse.swt.widgets.Composite parent)
           
 org.eclipse.swt.widgets.Composite getHyperLinkComposite()
          Returns the hyper linke composite
 void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
           
 void refreshComposite(org.eclipse.emf.ecore.EObject notifier)
           
 void setHyperLinkComposite(org.eclipse.swt.widgets.Composite hyperLinkComposite)
          A setter method for initializing the hyper link composite.
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, isAdapterForType, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCaseAdapter

public TestCaseAdapter(org.eclipse.swt.widgets.Composite hyperlinkParent,
                       org.eclipse.emf.ecore.EStructuralFeature feature,
                       java.lang.String statusLinePrefix,
                       org.eclipse.hyades.ui.editor.IEditorExtension formEditor)
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.hyades.ui.util.IDisposable
See Also:
IDisposable.dispose()

notifyChanged

public void notifyChanged(org.eclipse.emf.common.notify.Notification msg)
Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter
See Also:
Adapter.notifyChanged(org.eclipse.emf.common.notify.Notification)

refreshComposite

public void refreshComposite(org.eclipse.emf.ecore.EObject notifier)

disposeChildren

protected void disposeChildren(org.eclipse.swt.widgets.Composite parent)

setHyperLinkComposite

public void setHyperLinkComposite(org.eclipse.swt.widgets.Composite hyperLinkComposite)
A setter method for initializing the hyper link composite. This is needed because often the hyper link composite is not ready when this class is instantiated.

Parameters:
hyperLinkComposite - The hyper link composite

getHyperLinkComposite

public org.eclipse.swt.widgets.Composite getHyperLinkComposite()
Returns the hyper linke composite

Returns:
hyper linke composite

TPTP 4.4.0 Testing Tools Project
Internal API Specification