public class MessageDialog
extends org.eclipse.swt.widgets.Dialog
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageDialog.Type
MessageDialog types.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
buttonOKText
Text for this dialog's "OK" button.
|
protected org.eclipse.swt.widgets.Shell |
shell |
| Modifier | Constructor and Description |
|---|---|
protected |
MessageDialog(org.eclipse.swt.widgets.Shell parent,
int style,
MessageDialog.Type type,
java.lang.String title,
java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
open() |
static void |
show(org.eclipse.swt.widgets.Shell parent,
MessageDialog.Type type,
java.lang.String title,
java.lang.String message,
Modality modality)
Shows a new dialog.
|
public static java.lang.String buttonOKText
protected final org.eclipse.swt.widgets.Shell shell
protected MessageDialog(org.eclipse.swt.widgets.Shell parent,
int style,
MessageDialog.Type type,
java.lang.String title,
java.lang.String message)
protected void open()
public static void show(org.eclipse.swt.widgets.Shell parent,
MessageDialog.Type type,
java.lang.String title,
java.lang.String message,
Modality modality)
parent - parent shelltype - dialog typetitle - dialog titlemessage - dialog messagemodality - modality type