Package org.pentaho.di.ui.core.dialog
Class EnterStringDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.pentaho.di.ui.core.dialog.EnterStringDialog
-
public class EnterStringDialog extends org.eclipse.swt.widgets.Dialog
This dialog allows you to enter a (single line) String.- Since:
- 21-11-2004
- Author:
- Matt
-
-
Constructor Summary
Constructors Constructor Description EnterStringDialog(org.eclipse.swt.widgets.Shell parent, String string, String shellText, String lineText)
This constructs without allowing for variable substitution.EnterStringDialog(org.eclipse.swt.widgets.Shell parent, String string, String shellText, String lineText, boolean allowVariables, org.pentaho.di.trans.TransMeta transMeta)
Constructs with the ability to use environmental variable substitution.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
dispose()
void
getData()
boolean
isMandatory()
boolean
isManditory()
Deprecated.String
open()
protected void
setFlags()
void
setMandatory(boolean mandatory)
void
setManditory(boolean manditory)
Deprecated.
-
-
-
Constructor Detail
-
EnterStringDialog
public EnterStringDialog(org.eclipse.swt.widgets.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(org.eclipse.swt.widgets.Shell parent, String string, String shellText, String lineText, boolean allowVariables, org.pentaho.di.trans.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
-
-
Method Detail
-
open
public String open()
-
setFlags
protected void setFlags()
-
dispose
public void dispose()
-
getData
public void getData()
-
isManditory
@Deprecated public boolean isManditory()
Deprecated.- Returns:
- the manditory
-
isMandatory
public boolean isMandatory()
- Returns:
- the mandatory
-
setManditory
@Deprecated public void setManditory(boolean manditory)
Deprecated.- Parameters:
manditory
- the manditory to set
-
setMandatory
public void setMandatory(boolean mandatory)
- Parameters:
mandatory
- the manditory to set
-
-