public class OptionDialog
extends org.eclipse.swt.widgets.Dialog
| Modifier and Type | Class and Description |
|---|---|
static class |
OptionDialog.Type
OptionDialog types.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
buttonNoText
Text for this dialog's "No" button.
|
static java.lang.String |
buttonYesText
Text for this dialog's "Yes" button.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
show(org.eclipse.swt.widgets.Shell parent,
OptionDialog.Type type,
java.lang.String title,
java.lang.String question,
Modality modality)
Shows a new dialog.
|
public static java.lang.String buttonYesText
public static java.lang.String buttonNoText
public static boolean show(org.eclipse.swt.widgets.Shell parent,
OptionDialog.Type type,
java.lang.String title,
java.lang.String question,
Modality modality)
parent - parent shelltype - dialog typetitle - dialog titlequestion - dialog questionmodality - modality typetrue if "Yes" has been clicked. false otherwise.