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

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

public class ComboField
extends Field

A field for the FieldBasedInputDialog. The ComboField allows the user to select a value in a drop-down combo box, which is pre-filled with certain values to choose from.

Version:
$Id$
Author:
Philip Mayer

Constructor Summary
ComboField(FieldBasedInputDialog inputDialog, String labelText, String initialValue, String[] options)
           
 
Method Summary
protected  void createControl(org.eclipse.swt.widgets.Composite parent)
           
 String getSelection()
           
 
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

ComboField

public ComboField(FieldBasedInputDialog inputDialog,
                  String labelText,
                  String initialValue,
                  String[] options)
Method Detail

createControl

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

getSelection

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


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