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

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

public class FileField
extends Field

A field for the FieldBasedInputDialog. The FileField allows the user to either type in the name of a file, or use the browse button to select a file from the workbench.

Version:
$Id$
Author:
Philip Mayer

Field Summary
protected  String fCurrentSelection
           
 
Constructor Summary
FileField(FieldBasedInputDialog inputDialog, String labelText, String initialValue, org.eclipse.ui.dialogs.ISelectionStatusValidator validator, org.eclipse.jface.viewers.ViewerFilter filter, org.eclipse.core.resources.IProject root, org.eclipse.core.resources.IContainer dir)
           
 
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
 

Field Detail

fCurrentSelection

protected String fCurrentSelection
Constructor Detail

FileField

public FileField(FieldBasedInputDialog inputDialog,
                 String labelText,
                 String initialValue,
                 org.eclipse.ui.dialogs.ISelectionStatusValidator validator,
                 org.eclipse.jface.viewers.ViewerFilter filter,
                 org.eclipse.core.resources.IProject root,
                 org.eclipse.core.resources.IContainer dir)
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.