net.bpelunit.framework.client.eclipse.dialog.field
Class SelectionField

java.lang.Object
  extended by net.bpelunit.framework.client.eclipse.dialog.Field
      extended by net.bpelunit.framework.client.eclipse.dialog.field.SelectionField

public class SelectionField
extends Field

A field for the FieldBasedInputDialog. The SelectionField allows the user to either type in a certain value, or select values from a list of values presented in a dialog.

Version:
$Id$
Author:
Philip Mayer

Constructor Summary
SelectionField(FieldBasedInputDialog inputDialog, String labelText, String initialValue, String buttonTitle, String[] choices)
           
 
Method Summary
 void addModifyListener(org.eclipse.swt.events.ModifyListener ml)
           
 void createControl(org.eclipse.swt.widgets.Composite composite)
           
 String getSelection()
           
protected  org.eclipse.swt.widgets.Shell getShell()
           
 
Methods inherited from class net.bpelunit.framework.client.eclipse.dialog.Field
createButton, getDialog, getInitialValue, getLabelText, getValidator, setButtonLayoutData, setValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionField

public SelectionField(FieldBasedInputDialog inputDialog,
                      String labelText,
                      String initialValue,
                      String buttonTitle,
                      String[] choices)
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite composite)
Specified by:
createControl in class Field

getShell

protected org.eclipse.swt.widgets.Shell getShell()

getSelection

public String getSelection()
Specified by:
getSelection in class Field

addModifyListener

public void addModifyListener(org.eclipse.swt.events.ModifyListener ml)


Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.