public class ShowMessageDialog
extends org.eclipse.swt.widgets.Dialog
| Constructor and Description |
|---|
ShowMessageDialog(org.eclipse.swt.widgets.Shell parent,
int flags,
String title,
String message)
Dialog to allow someone to show a text with an icon in front
|
ShowMessageDialog(org.eclipse.swt.widgets.Shell parent,
int flags,
String title,
String message,
boolean scroll)
Dialog to allow someone to show a text with an icon in front
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
int |
getTimeOut() |
int |
open() |
void |
setTimeOut(int timeOut) |
public ShowMessageDialog(org.eclipse.swt.widgets.Shell parent,
int flags,
String title,
String message)
parent - The parent shell to useflags - the icon to show using SWT flags: SWT.ICON_WARNING, SWT.ICON_ERROR, ... Also SWT.OK, SWT.CANCEL is
allowed.title - The dialog titlemessage - The message to displaytext - The text to display or editpublic ShowMessageDialog(org.eclipse.swt.widgets.Shell parent,
int flags,
String title,
String message,
boolean scroll)
parent - The parent shell to useflags - the icon to show using SWT flags: SWT.ICON_WARNING, SWT.ICON_ERROR, ... Also SWT.OK, SWT.CANCEL is
allowed.title - The dialog titlemessage - The message to displaytext - The text to display or editscroll - Set the dialog to a default size and enable scrolling