org.pentaho.di.ui.core.dialog
Class EnterStringDialog
java.lang.Object
Dialog
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
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 objectstring - The string to display in the dialogshellText - 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 objectstring - The string to display in the dialogshellText - lineText - allowVariables - Indicates to allow environmental substitutionTransMeta - This object has the has the environmental variables
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