TPTP 4.5.0 Testing Tools Project
Internal API Specification

org.eclipse.hyades.test.ui.internal.editor.form.util
Interface IDetailForm

All Superinterfaces:
org.eclipse.hyades.ui.util.IDisposable
All Known Implementing Classes:
AbstractDetailForm, AutoGUIBehaviorForm.TestInvocationDetails, LoopDetailForm, TestInvocationDetailForm

public interface IDetailForm
extends org.eclipse.hyades.ui.util.IDisposable

This class was created in response to the deprecated APIs about the way that forms are currently handled.

A representation of the details page


Method Summary
 org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.forms.widgets.FormToolkit factory, IDetailPageContext context)
          Creates the control of the details page.
 java.lang.Object getInput()
          Returns the current details page input.
 org.eclipse.jface.viewers.IStructuredSelection getStructuredSelection()
          Returns the current selection within the details page.
 void selectReveal(org.eclipse.jface.viewers.ISelection selection)
          Selects and reveal a selection within the details page.
 void setInput(java.lang.Object object)
          Sets the input of the details page and updates its content to represent the input object properties.
 
Methods inherited from interface org.eclipse.hyades.ui.util.IDisposable
dispose
 

Method Detail

setInput

void setInput(java.lang.Object object)
Sets the input of the details page and updates its content to represent the input object properties.

Parameters:
object -

getInput

java.lang.Object getInput()
Returns the current details page input.

Returns:
The current details page input.

createControl

org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent,
                                              org.eclipse.ui.forms.widgets.FormToolkit factory,
                                              IDetailPageContext context)
Creates the control of the details page.

Parameters:
parent - The parent control.
factory - A Widget Factory that may be used for creating advanced widgets within the details page control.
context - The context of the details page.
Returns:
The control of the details page.

selectReveal

void selectReveal(org.eclipse.jface.viewers.ISelection selection)
Selects and reveal a selection within the details page. Does nothing if the selection is not applicable.

Parameters:
selection -

getStructuredSelection

org.eclipse.jface.viewers.IStructuredSelection getStructuredSelection()
Returns the current selection within the details page.

Returns:
The current selection. If not applicable, or if the selection is empty, returns StructuredSelection.EMPTY.

TPTP 4.5.0 Testing Tools Project
Internal API Specification