Class 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 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 object
        string - The string to display in the dialog
        shellText -
        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 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

      • 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