org.pentaho.di.ui.core.dialog
Class ShowMessageDialog
java.lang.Object
Dialog
org.pentaho.di.ui.core.dialog.ShowMessageDialog
public class ShowMessageDialog
- extends Dialog
Dialog to enter a text. (descriptions etc.)
- Since:
- 19-06-2003
- Author:
- Matt
Constructor Summary |
ShowMessageDialog(Shell parent,
int flags,
String title,
String message)
Dialog to allow someone to show a text with an icon in front |
ShowMessageDialog(Shell parent,
int flags,
String title,
String message,
boolean scroll)
Dialog to allow someone to show a text with an icon in front |
ShowMessageDialog
public ShowMessageDialog(Shell parent,
int flags,
String title,
String message)
- Dialog to allow someone to show a text with an icon in front
- Parameters:
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 edit
ShowMessageDialog
public ShowMessageDialog(Shell parent,
int flags,
String title,
String message,
boolean scroll)
- Dialog to allow someone to show a text with an icon in front
- Parameters:
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
open
public int open()
dispose
public void dispose()
getTimeOut
public int getTimeOut()
- Returns:
- the timeOut
setTimeOut
public void setTimeOut(int timeOut)
- Parameters:
timeOut
- the timeOut to set