org.pentaho.di.ui.core.dialog
Class EnterTextDialog

java.lang.Object
  extended by Dialog
      extended by org.pentaho.di.ui.core.dialog.EnterTextDialog

public class EnterTextDialog
extends Dialog

Dialog to enter a text. (descriptions etc.)

Since:
19-06-2003
Author:
Matt

Constructor Summary
EnterTextDialog(Shell parent, String title, String message, String text)
          Dialog to allow someone to show or enter a text in variable width font
EnterTextDialog(Shell parent, String title, String message, String text, boolean fixed)
          Dialog to allow someone to show or enter a text
 
Method Summary
 void checkCancel(ShellEvent e)
           
 void dispose()
           
static void editDescription(Shell shell, DescriptionInterface descriptionInterface, String shellText, String message)
           
 void getData()
           
 boolean isFixed()
           
 String open()
           
 void setFixed(boolean fixed)
           
 void setModal()
           
 void setReadOnly()
           
 void setSingleLine()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnterTextDialog

public EnterTextDialog(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 use
title - The dialog title
message - The message to display
text - The text to display or edit
fixed - true if you want the font to be in fixed-width

EnterTextDialog

public EnterTextDialog(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 use
title - The dialog title
message - The message to display
text - The text to display or edit
Method Detail

setReadOnly

public void setReadOnly()

setModal

public void setModal()

setSingleLine

public void setSingleLine()

open

public String open()

dispose

public void dispose()

getData

public void getData()

checkCancel

public void checkCancel(ShellEvent e)

editDescription

public static final void editDescription(Shell shell,
                                         DescriptionInterface descriptionInterface,
                                         String shellText,
                                         String message)

isFixed

public boolean isFixed()

setFixed

public void setFixed(boolean fixed)