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

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

public class EnterStringDialog
extends Dialog

This dialog allows you to enter a (single line) String.

Since:
21-11-2004
Author:
Matt

Constructor Summary
EnterStringDialog(Shell parent, String string, String shellText, String lineText)
          This constructs without allowing for variable substitution.
EnterStringDialog(Shell parent, String string, String shellText, String lineText, boolean allowVariables, TransMeta transMeta)
          Constructs with the ability to use environmental variable substitution.
 
Method Summary
 void dispose()
           
 void getData()
           
 boolean isManditory()
           
 String open()
           
 void setManditory(boolean manditory)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnterStringDialog

public EnterStringDialog(Shell parent,
                         String string,
                         String shellText,
                         String lineText)
This constructs without allowing for variable substitution. This constructor allows for backwards compatibility for objects that wish to create this object without variable substitution.

Parameters:
parent - Parent gui object
string - The string to display in the dialog
shellText -
lineText -

EnterStringDialog

public EnterStringDialog(Shell parent,
                         String string,
                         String shellText,
                         String lineText,
                         boolean allowVariables,
                         TransMeta transMeta)
Constructs with the ability to use environmental variable substitution.

Parameters:
parent - Parent gui object
string - The string to display in the dialog
shellText -
lineText -
allowVariables - Indicates to allow environmental substitution
TransMeta - This object has the has the environmental variables
Method Detail

open

public String open()

dispose

public void dispose()

getData

public void getData()

isManditory

public boolean isManditory()
Returns:
the manditory

setManditory

public void setManditory(boolean manditory)
Parameters:
manditory - the manditory to set