Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.InputDialog
public class InputDialog extends org.eclipse.swt.widgets.Dialog
Custom SWT dialog to allow the user to input strings
 for various uses.
- 
Constructor SummaryConstructors Constructor Description InputDialog(org.eclipse.swt.widgets.Shell parent)InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message)InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, int style)InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText)InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText, int style)
- 
Method SummaryModifier and Type Method Description Stringopen()Opens the InputDialog and returns the user's input when the dialog closes.Methods inherited from class org.eclipse.swt.widgets.DialogcheckSubclass, getParent, getStyle, getText, setTextMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
InputDialog
- 
InputDialog
- 
InputDialog
- 
InputDialogpublic InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText)
- 
InputDialogpublic InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText, int style)
 
- 
- 
Method Details- 
openOpens the InputDialog and returns the user's input when the dialog closes.- Returns:
- the user input data
 
 
-