Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.InputDialog
Custom SWT dialog to allow the user to input strings
for various uses.
-
Constructor Summary
ConstructorsConstructorDescriptionInputDialog(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 Summary
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
InputDialog
-
InputDialog
-
InputDialog
-
InputDialog
public InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText) -
InputDialog
public InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText, int style)
-
-
Method Details
-
open
Opens the InputDialog and returns the user's input when the dialog closes.- Returns:
- the user input data
-