Class TeraFastDialog

  • All Implemented Interfaces:
    org.pentaho.di.trans.step.StepDialogInterface

    public class TeraFastDialog
    extends BaseStepDialog
    implements org.pentaho.di.trans.step.StepDialogInterface
    TODO BaseStepDialog should replaced by something like AbstractStepDialog (BaseStepDialog is ... - asc042, 13.05.2009)
    Author:
    Michael Gugerell(asc145)
    • Constructor Detail

      • TeraFastDialog

        public TeraFastDialog​(org.eclipse.swt.widgets.Shell parent,
                              Object baseStepMeta,
                              org.pentaho.di.trans.TransMeta transMeta,
                              String stepname)
        Constructor.
        Parameters:
        parent - parent shell.
        baseStepMeta - step meta
        transMeta - transaction meta
        stepname - name of step.
    • Method Detail

      • setTextIfPropertyValue

        public static void setTextIfPropertyValue​(org.pentaho.di.core.util.PluginProperty property,
                                                  TextVar textVar)
        Parameters:
        property - property.
        textVar - text varibale.
      • setTextIfPropertyValue

        public static void setTextIfPropertyValue​(org.pentaho.di.core.util.PluginProperty property,
                                                  org.eclipse.swt.custom.CCombo combo)
        Parameters:
        property - property.
        combo - text variable.
      • open

        public String open()
        Specified by:
        open in interface org.pentaho.di.trans.step.StepDialogInterface
        See Also:
        StepDialogInterface.open()
      • setComboBoxes

        protected void setComboBoxes()
        ...
      • getData

        public void getData()
        Set data values in dialog.
      • generateMappings

        public void generateMappings()
        Reads in the fields from the previous steps and from the ONE next step and opens an EnterMappingDialog with this information. After the user did the mapping, those information is put into the Select/Rename table.
      • getUpdate

        public void getUpdate()
        ...
      • cancel

        public void cancel()
        Dialog is closed.
      • ok

        public void ok()
        Ok clicked.
      • buildUi

        protected void buildUi()
        Build UI.
      • buildControlFileLine

        protected void buildControlFileLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildFastloadLine

        protected void buildFastloadLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildUseControlFileLine

        protected void buildUseControlFileLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildVariableSubstitutionLine

        protected void buildVariableSubstitutionLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildLogFileLine

        protected void buildLogFileLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildStepNameLine

        protected void buildStepNameLine​(PluginWidgetFactory factory)
        Build step name line.
        Parameters:
        factory - factory to use.
      • buildTableLine

        protected void buildTableLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildTruncateTableLine

        protected void buildTruncateTableLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildDataFileLine

        protected void buildDataFileLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildSessionsLine

        protected void buildSessionsLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildErrorLimitLine

        protected void buildErrorLimitLine​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildAscLink

        protected void buildAscLink​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • buildFieldTable

        protected void buildFieldTable​(PluginWidgetFactory factory)
        Parameters:
        factory - factory to use.
      • assignChangeListener

        protected void assignChangeListener()
        ...
      • disableInputs

        public void disableInputs()
        Disable inputs.
      • setTableFieldCombo

        public void setTableFieldCombo()
        ...
      • getMeta

        public org.pentaho.di.trans.steps.terafast.TeraFastMeta getMeta()
        Returns:
        the meta