public class EnterTextDialog
extends org.eclipse.swt.widgets.Dialog
Constructor and Description |
---|
EnterTextDialog(org.eclipse.swt.widgets.Shell parent,
String title,
String message,
String text)
Dialog to allow someone to show or enter a text in variable width font
|
EnterTextDialog(org.eclipse.swt.widgets.Shell parent,
String title,
String message,
String text,
boolean fixed)
Dialog to allow someone to show or enter a text
|
Modifier and Type | Method and Description |
---|---|
void |
checkCancel(org.eclipse.swt.events.ShellEvent e) |
void |
dispose() |
static void |
editDescription(org.eclipse.swt.widgets.Shell shell,
org.pentaho.di.core.DescriptionInterface descriptionInterface,
String shellText,
String message) |
void |
getData() |
boolean |
isFixed() |
String |
open() |
void |
setFixed(boolean fixed) |
void |
setModal() |
void |
setReadOnly() |
void |
setSingleLine() |
public EnterTextDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String text, boolean fixed)
parent
- The parent shell to usetitle
- The dialog titlemessage
- The message to displaytext
- The text to display or editfixed
- true if you want the font to be in fixed-widthpublic EnterTextDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String text)
parent
- The parent shell to usetitle
- The dialog titlemessage
- The message to displaytext
- The text to display or editpublic void setReadOnly()
public void setModal()
public void setSingleLine()
public String open()
public void dispose()
public void getData()
public void checkCancel(org.eclipse.swt.events.ShellEvent e)
public static final void editDescription(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.core.DescriptionInterface descriptionInterface, String shellText, String message)
public boolean isFixed()
public void setFixed(boolean fixed)