Package org.pentaho.di.ui.core.dialog
Class EnterTextDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.pentaho.di.ui.core.dialog.EnterTextDialog
public class EnterTextDialog
extends org.eclipse.swt.widgets.Dialog
Dialog to enter a text. (descriptions etc.)
- Since:
- 19-06-2003
- Author:
- Matt
-
Constructor Summary
ConstructorsConstructorDescriptionEnterTextDialog(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 fontEnterTextDialog(org.eclipse.swt.widgets.Shell parent, String title, String message, String text, boolean fixed) Dialog to allow someone to show or enter a text -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckCancel(org.eclipse.swt.events.ShellEvent e) voiddispose()static final voideditDescription(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.core.DescriptionInterface descriptionInterface, String shellText, String message) voidgetData()booleanisFixed()open()voidsetFixed(boolean fixed) voidsetModal()voidvoidMethods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
EnterTextDialog
public 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- Parameters:
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-width
-
EnterTextDialog
public 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- Parameters:
parent- The parent shell to usetitle- The dialog titlemessage- The message to displaytext- The text to display or edit
-
-
Method Details
-
setReadOnly
public void setReadOnly() -
setModal
public void setModal() -
setSingleLine
public void setSingleLine() -
open
-
dispose
public void dispose() -
getData
public void getData() -
checkCancel
public void checkCancel(org.eclipse.swt.events.ShellEvent e) -
editDescription
-
isFixed
public boolean isFixed() -
setFixed
public void setFixed(boolean fixed)
-