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

  • 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 Detail

      • 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 Detail

      • BaseFileStepDialog

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

      • 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.