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

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

public class ListField
extends Field

A field for the FieldBasedInputDialog. The ListField is a sophisticated input field, displaying a complete list of values and allowing the user to select one of the pre-defined values.

Version:
$Id$
Author:
Philip Mayer

Constructor Summary
ListField(FieldBasedInputDialog inputDialog, String labelText, String initialValue, String[] values)
           
 
Method Summary
protected  void createControl(org.eclipse.swt.widgets.Composite parent)
           
 String getSelection()
           
 void setLabelProvider(org.eclipse.jface.viewers.ILabelProvider provider)
           
 
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

ListField

public ListField(FieldBasedInputDialog inputDialog,
                 String labelText,
                 String initialValue,
                 String[] values)
Method Detail

setLabelProvider

public void setLabelProvider(org.eclipse.jface.viewers.ILabelProvider provider)

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.