TPTP 4.4.0 Testing Tools Project
Internal API Specification

org.eclipse.hyades.test.tools.ui.common.internal.editor
Class LoopDetailPage

java.lang.Object
  extended byorg.eclipse.hyades.test.ui.editor.form.util.AbstractDetailPage
      extended byorg.eclipse.hyades.test.tools.ui.common.internal.editor.LoopDetailPage
All Implemented Interfaces:
java.util.EventListener, org.eclipse.hyades.test.ui.editor.form.util.IDetailPage, org.eclipse.hyades.ui.util.IDisposable, org.eclipse.swt.events.ModifyListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener, org.eclipse.swt.custom.VerifyKeyListener

public abstract class LoopDetailPage
extends org.eclipse.hyades.test.ui.editor.form.util.AbstractDetailPage
implements org.eclipse.swt.events.ModifyListener, org.eclipse.swt.events.SelectionListener

Loop pane in the behavior tabbed pane used in various test editors.

Since:
1.0.2
See Also:
AbstractDetailPage, ModifyListener, SelectionListener

Field Summary
protected static int HELP_ITERATION_CONTROL
           
protected static int HELP_PAGE_CONTROL
           
protected static int HELP_SYNCHRONOUS_CONTROL
           
 
Fields inherited from class org.eclipse.hyades.test.ui.editor.form.util.AbstractDetailPage
context
 
Constructor Summary
LoopDetailPage()
           
 
Method Summary
 org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent, FormWidgetFactory factory, org.eclipse.hyades.test.ui.editor.form.util.IDetailPageContext context)
           
 void dispose()
           
 java.lang.Object getInput()
           
protected abstract  java.lang.String getIteractionsLabel()
          Resolves the label for the iteractions text field.
protected abstract  java.lang.String getSynchronousLabel()
          Resolves the label for the synchronous check-box.
 void modifyText(org.eclipse.swt.events.ModifyEvent e)
           
protected  void registerHelp(int flag, java.lang.Object object)
           
 void setInput(java.lang.Object object)
           
 void verifyKey(org.eclipse.swt.events.VerifyEvent event)
           
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
           
 void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
           
 
Methods inherited from class org.eclipse.hyades.test.ui.editor.form.util.AbstractDetailPage
getEditorForm, getStructuredSelection, isReadOnly, selectReveal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELP_PAGE_CONTROL

protected static final int HELP_PAGE_CONTROL
See Also:
Constant Field Values

HELP_ITERATION_CONTROL

protected static final int HELP_ITERATION_CONTROL
See Also:
Constant Field Values

HELP_SYNCHRONOUS_CONTROL

protected static final int HELP_SYNCHRONOUS_CONTROL
See Also:
Constant Field Values
Constructor Detail

LoopDetailPage

public LoopDetailPage()
Method Detail

dispose

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

createControl

public org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent,
                                                     FormWidgetFactory factory,
                                                     org.eclipse.hyades.test.ui.editor.form.util.IDetailPageContext context)
Specified by:
createControl in interface org.eclipse.hyades.test.ui.editor.form.util.IDetailPage
See Also:
org.eclipse.hyades.test.ui.editor.form.util.AbstractDetailPage#createControl(org.eclipse.swt.widgets.Composite, org.eclipse.hyades.test.ui.internal.editor.form.base.FormWidgetFactory)

getSynchronousLabel

protected abstract java.lang.String getSynchronousLabel()
Resolves the label for the synchronous check-box.

If the resolved label for the synchronous check-box is null or an empty string, the synchronous check-box is not added to the page.

Returns:
The label for the synchronous check-box.

getIteractionsLabel

protected abstract java.lang.String getIteractionsLabel()
Resolves the label for the iteractions text field.

If the resolved label for the iteractions text field is null or an empty string, the iteractions text field is not added to the page.

Returns:
The label for the iteractions text field.

registerHelp

protected void registerHelp(int flag,
                            java.lang.Object object)

setInput

public void setInput(java.lang.Object object)
Specified by:
setInput in interface org.eclipse.hyades.test.ui.editor.form.util.IDetailPage
See Also:
EditorSection.setInput(java.lang.Object)

getInput

public java.lang.Object getInput()
Specified by:
getInput in interface org.eclipse.hyades.test.ui.editor.form.util.IDetailPage
See Also:
EditorSection.getInput()

widgetDefaultSelected

public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
See Also:
SelectionListener.widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)

widgetSelected

public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener
See Also:
SelectionListener.widgetSelected(org.eclipse.swt.events.SelectionEvent)

modifyText

public void modifyText(org.eclipse.swt.events.ModifyEvent e)
Specified by:
modifyText in interface org.eclipse.swt.events.ModifyListener
See Also:
ModifyListener.modifyText(org.eclipse.swt.events.ModifyEvent)

verifyKey

public void verifyKey(org.eclipse.swt.events.VerifyEvent event)
Specified by:
verifyKey in interface org.eclipse.swt.custom.VerifyKeyListener
See Also:
VerifyKeyListener.verifyKey(org.eclipse.swt.events.VerifyEvent)

TPTP 4.4.0 Testing Tools Project
Internal API Specification