net.bpelunit.framework.client.eclipse.dialog
Class FieldBasedInputDialog

java.lang.Object
  extended by org.eclipse.jface.window.Window
      extended by org.eclipse.jface.dialogs.Dialog
          extended by net.bpelunit.framework.client.eclipse.dialog.FieldBasedInputDialog
All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider

public class FieldBasedInputDialog
extends org.eclipse.jface.dialogs.Dialog

Dialog for editing multiple, string based values.

Version:
$Id$
Author:
Philip Mayer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window
org.eclipse.jface.window.Window.IExceptionHandler
 
Field Summary
protected  org.eclipse.swt.widgets.Composite fPanel
           
 
Fields inherited from class org.eclipse.jface.dialogs.Dialog
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
 
Fields inherited from class org.eclipse.jface.window.Window
CANCEL, OK
 
Constructor Summary
FieldBasedInputDialog(org.eclipse.swt.widgets.Shell shell, String title)
           
 
Method Summary
 void addField(Field field)
           
protected  void configureShell(org.eclipse.swt.widgets.Shell shell)
           
 int convertHorizontalDLUsToPixels(int dlus)
           
protected  org.eclipse.swt.widgets.Control createButtonBar(org.eclipse.swt.widgets.Composite parent)
           
protected  org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
           
 void doPressOK()
           
 int open()
           
 void validateFields()
           
 
Methods inherited from class org.eclipse.jface.dialogs.Dialog
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
 
Methods inherited from class org.eclipse.jface.window.Window
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fPanel

protected org.eclipse.swt.widgets.Composite fPanel
Constructor Detail

FieldBasedInputDialog

public FieldBasedInputDialog(org.eclipse.swt.widgets.Shell shell,
                             String title)
Method Detail

addField

public void addField(Field field)

configureShell

protected void configureShell(org.eclipse.swt.widgets.Shell shell)
Overrides:
configureShell in class org.eclipse.jface.window.Window

createButtonBar

protected org.eclipse.swt.widgets.Control createButtonBar(org.eclipse.swt.widgets.Composite parent)
Overrides:
createButtonBar in class org.eclipse.jface.dialogs.Dialog

createDialogArea

protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
Overrides:
createDialogArea in class org.eclipse.jface.dialogs.Dialog

open

public int open()
Overrides:
open in class org.eclipse.jface.window.Window

convertHorizontalDLUsToPixels

public int convertHorizontalDLUsToPixels(int dlus)
Overrides:
convertHorizontalDLUsToPixels in class org.eclipse.jface.dialogs.Dialog

validateFields

public void validateFields()

doPressOK

public void doPressOK()


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