TPTP 4.2.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.editor.form
Class TestContextOverview

java.lang.Object
  extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm
      extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm
          extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm
              extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.ScrollableSectionForm
                  extended byorg.eclipse.hyades.test.ui.editor.form.util.EditorForm
                      extended byorg.eclipse.hyades.test.ui.editor.form.TestContextOverview
All Implemented Interfaces:
java.util.EventListener, org.eclipse.hyades.ui.util.IDisposable, org.eclipse.hyades.test.ui.internal.editor.form.base.IForm, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.ui.part.ISetSelectionTarget, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener

Deprecated. 

The implementation of this class is not based on Eclipse Forms(a.k.a. "flat" look) framework that was made available publically in Eclipse 3.0. If you would like your editor(s) to be built with the Eclipse Forms technology, this is NOT the class to extend. To know more about Eclipse Forms:
Eclipse Forms Programming Guide

public class TestContextOverview
extends EditorForm

This class represents the first page of the test context editor : page OVERVIEW.

    _______________________  
   | Test Context Editor   |
   |_______________________|________________________________________________________ 
   |                                                                                |
   |  _ General Information __________      _ form2 overview _____________________  |
   | |                                |    |                                      | |
   | |                                |    |                                      | |
   | |                                |    |                                      | |
   | |                                |    |______________________________________| |
   | |                                |                                             |
   | |________________________________|     _ form4 overview _____________________  |
   |                                       |                                      | |
   |  _ Test Objective _______________     |                                      | |
   | |                                |    |                                      | |
   | |                                |    |                                      | |
   | |                                |    |                                      | |
   | |                                |    |                                      | |
   | |                                |    |______________________________________| |
   | |________________________________|                                             |
   |                                                                                |
   |  _ form1 overview _______________                                              |
   | |                                |                                             |
   | |                                |                                             |
   | |________________________________|                                             |
   |                                                                                |
   |________________________________________________________________________________|
   |_Overview_|form1| form2 | form3 | form4 |                                       | 
 
This class should be used in conjonction with org.eclipse.hyades.test.ui.editor.form.TestContextOverviewContribution.

Since:
3.0.0

Nested Class Summary
 
Nested classes inherited from class org.eclipse.hyades.test.ui.editor.form.util.EditorForm
EditorForm.ArgByReference
 
Field Summary
protected  TestContextOverviewContribution tsoContributor
          Deprecated. This field stores the instance of the test context overview contributor.
 
Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm
heightHint, widthHint
 
Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm
H_SCROLL_INCREMENT, sections, V_SCROLL_INCREMENT
 
Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm
factory, headingBackground, headingForeground, headingImage, headingText, headingVisible, titleFont
 
Constructor Summary
TestContextOverview(BaseEditorExtension baseEditorExtension, WidgetFactory widgetFactory)
          Deprecated. The constructor for the class.
TestContextOverview(BaseEditorExtension baseEditorExtension, WidgetFactory widgetFactory, TestContextOverviewContribution testContextOverviewContributor)
          Deprecated. The constructor for the class.
 
Method Summary
 boolean activated()
          Deprecated. Returns whether this form has been activated yet.
 org.eclipse.swt.widgets.Control createControl()
          Deprecated. Creates the control and adds a help handler to the control.
protected  void createEditorFormContents(org.eclipse.swt.widgets.Composite parent)
          Deprecated. Creates the contents of this editor form.
protected  org.eclipse.swt.widgets.Control createGenericInformation(org.eclipse.swt.widgets.Composite arg)
          Deprecated. Creates the generic information section of this editor form.
protected  org.eclipse.swt.widgets.Control createTestObjectiveSection(org.eclipse.swt.widgets.Composite arg)
          Deprecated. Creates the test objective section of this editor form.
 void dispose()
          Deprecated. This method frees the widgets of this form.
 org.eclipse.jface.viewers.ISelection getSelection()
          Deprecated. Returns the structural feature of this test context overview. i.e. the test suites structural feature.
protected  org.eclipse.hyades.models.common.testprofile.TPFTestSuite getTestContext()
          Deprecated. Returns the test context manipulated by this form.
 void load()
          Deprecated. Initializes the sections of this form with the test context information.
 
Methods inherited from class org.eclipse.hyades.test.ui.editor.form.util.EditorForm
createColumn, createFormClient, getBaseEditorExtension, getCurrentSelection, getStatusLineManager, getWidgetFactory, init, selectReveal, updateTitle
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.ScrollableSectionForm
createControl, createParent, isScrollable, isVerticalFit, setScrollable, setVerticalFit, update, updateScrollBars, updateScrolledComposite
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm
getControl, getTitleHeight, paintControl, propertyChange, setHeadingText, setHeadingVisible
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm
canPaste, commitChanges, doGlobalAction, ensureVisible, ensureVisible, getControlLocation, getFocusControl, initialize, registerSection, scrollHorizontal, scrollPage, scrollVertical, setFocus, unregisterSection, updatePageIncrement
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm
canPerformDirectly, expandTo, getFactory, getHeadingBackground, getHeadingForeground, getHeadingImage, getHeadingText, isHeadingVisible, setHeadingBackground, setHeadingForeground, setHeadingImage, updateHyperlinkColors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tsoContributor

protected TestContextOverviewContribution tsoContributor
Deprecated. 
This field stores the instance of the test context overview contributor.

Constructor Detail

TestContextOverview

public TestContextOverview(BaseEditorExtension baseEditorExtension,
                           WidgetFactory widgetFactory)
Deprecated. 
The constructor for the class.

Parameters:
baseEditorExtension - the base editor extension
widgetFactory - the widget factory

TestContextOverview

public TestContextOverview(BaseEditorExtension baseEditorExtension,
                           WidgetFactory widgetFactory,
                           TestContextOverviewContribution testContextOverviewContributor)
Deprecated. 
The constructor for the class.

Parameters:
baseEditorExtension - the base editor extension
widgetFactory - the widget factory
testContextOverviewContributor - the contributor that allows to customize the overview page
Method Detail

dispose

public void dispose()
Deprecated. 
This method frees the widgets of this form.

Specified by:
dispose in interface org.eclipse.hyades.ui.util.IDisposable
Overrides:
dispose in class EditorForm
See Also:
org.eclipse.update.ui.forms.internal.IForm#dispose()

getTestContext

protected org.eclipse.hyades.models.common.testprofile.TPFTestSuite getTestContext()
Deprecated. 
Returns the test context manipulated by this form.

Returns:
the test context.

createControl

public org.eclipse.swt.widgets.Control createControl()
Deprecated. 
Creates the control and adds a help handler to the control.

Overrides:
createControl in class EditorForm
Returns:
Control the created control
See Also:
EditorForm.createControl()

createEditorFormContents

protected void createEditorFormContents(org.eclipse.swt.widgets.Composite parent)
Deprecated. 
Creates the contents of this editor form.

Specified by:
createEditorFormContents in class EditorForm
Parameters:
parent - the parent composite
See Also:
EditorForm.createEditorFormContents(Composite parent)

createTestObjectiveSection

protected org.eclipse.swt.widgets.Control createTestObjectiveSection(org.eclipse.swt.widgets.Composite arg)
Deprecated. 
Creates the test objective section of this editor form.

Parameters:
arg - the parent

createGenericInformation

protected org.eclipse.swt.widgets.Control createGenericInformation(org.eclipse.swt.widgets.Composite arg)
Deprecated. 
Creates the generic information section of this editor form.

Parameters:
arg - the parent

load

public void load()
Deprecated. 
Initializes the sections of this form with the test context information.

Specified by:
load in class EditorForm
See Also:
EditorForm.load()

activated

public boolean activated()
Deprecated. 
Returns whether this form has been activated yet.

Overrides:
activated in class EditorForm
Returns:
the activation state

getSelection

public org.eclipse.jface.viewers.ISelection getSelection()
Deprecated. 
Returns the structural feature of this test context overview. i.e. the test suites structural feature.

Returns:
the structural feature that corresponds to test suites
See Also:
org.eclipse.hyades.test.ui.editor.form.util.EditorForm#getSelection()

TPTP 4.2.0 Testing Tools Project
Public API Specification