Class BaseFileStepDialog<T extends org.pentaho.di.trans.steps.file.BaseFileInputMeta<?,?,?>>

java.lang.Object
org.eclipse.swt.widgets.Dialog
org.pentaho.di.ui.trans.step.BaseStepDialog
org.pentaho.di.ui.trans.step.BaseFileStepDialog<T>
All Implemented Interfaces:
org.pentaho.di.trans.step.StepDialogInterface

public abstract class BaseFileStepDialog<T extends org.pentaho.di.trans.steps.file.BaseFileInputMeta<?,?,?>> extends BaseStepDialog implements org.pentaho.di.trans.step.StepDialogInterface
  • Field Details

    • PKG

      protected final Class<?> PKG
    • input

      protected T extends org.pentaho.di.trans.steps.file.BaseFileInputMeta<?,?,?> input
    • lsMod

      protected org.eclipse.swt.events.ModifyListener lsMod
  • Constructor Details

    • BaseFileStepDialog

      public BaseFileStepDialog(org.eclipse.swt.widgets.Shell parent, T in, org.pentaho.di.trans.TransMeta transMeta, String sname)
  • Method Details

    • open

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

      protected void cancel()
    • ok

      protected void ok()
    • createUI

      protected abstract void createUI()
    • getData

      protected abstract void getData(T meta)
      Read the data from the meta object and show it in this dialog.
      Parameters:
      meta - The meta object to obtain the data from.
    • getInfo

      protected abstract void getInfo(T meta, boolean preview)
      Fill meta object from UI options.
      Parameters:
      meta - meta object
      preview - flag for preview or real options should be used. Currently, only one option is differ for preview - EOL chars. It uses as "mixed" for be able to preview any file.