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
ConstructorDescriptionInputDialog
(org.eclipse.swt.widgets.Shell parent) Custom SWT dialog to allow the user to input strings for a parent object.InputDialog
(org.eclipse.swt.widgets.Shell parent, String title, String message) Custom SWT dialog to allow the user to input strings for a parent object with a title and message.InputDialog
(org.eclipse.swt.widgets.Shell parent, String title, String message, int style) Custom SWT dialog to allow the user to input strings for a parent object with a title, message and style.InputDialog
(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText) Custom SWT dialog to allow the user to input strings for a parent object with a title, message and initial text to be displayed.InputDialog
(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText, int style) Custom SWT dialog to allow the user to input strings for a parent object with a title, message, style and initial text to be displayed. -
Method Summary
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
InputDialog
Custom SWT dialog to allow the user to input strings for a parent object.- Parameters:
parent
- the dialog parent shell
-
InputDialog
Custom SWT dialog to allow the user to input strings for a parent object with a title and message.- Parameters:
parent
- the dialog parent shelltitle
- the dialog titlemessage
- the dialog message
-
InputDialog
Custom SWT dialog to allow the user to input strings for a parent object with a title, message and style.- Parameters:
parent
- the dialog parent shelltitle
- the dialog titlemessage
- the dialog messagestyle
- the dialog style
-
InputDialog
public InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText) Custom SWT dialog to allow the user to input strings for a parent object with a title, message and initial text to be displayed.- Parameters:
parent
- the dialog parent shelltitle
- the dialog titlemessage
- the dialog messageinitialText
- the dialog initialText
-
InputDialog
public InputDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String initialText, int style) Custom SWT dialog to allow the user to input strings for a parent object with a title, message, style and initial text to be displayed.- Parameters:
parent
- the dialog parent shelltitle
- the dialog titlemessage
- the dialog messageinitialText
- the dialog initialTextstyle
- the dialog style
-
-
Method Details
-
open
Opens the InputDialog and returns the user's input when the dialog closes.- Returns:
- the user input data
-