Interface GetFieldsCapableStepDialog<StepMetaType extends org.pentaho.di.trans.step.BaseStepMeta>

  • All Known Implementing Classes:
    CsvInputDialog, TextFileInputDialog

    public interface GetFieldsCapableStepDialog<StepMetaType extends org.pentaho.di.trans.step.BaseStepMeta>
    An interface providing functionality for any step dialog that has the "get fields" capability.
    • Field Detail

      • PKG

        static final Class<?> PKG
      • logger

        static final org.pentaho.di.core.logging.LogChannel logger
    • Method Detail

      • getParent

        org.eclipse.swt.widgets.Shell getParent()
        Returns the Shell of the parent control.
        Returns:
        the Shell of the parent control
      • getShell

        org.eclipse.swt.widgets.Shell getShell()
        Returns the Shell of this dialog.
        Returns:
        the Shell of this dialog
      • getFieldNames

        String[] getFieldNames​(StepMetaType meta)
        Returns an array of incoming field names, or an empty array, if fields cannot be fetched, for some reason.
        Parameters:
        meta - the GetFieldsCapableStepDialog
        Returns:
        an array of incoming field names, or an empty array, if fields cannot be fetched, for some reason.
      • getFieldsTable

        TableView getFieldsTable()
        Returns:
        the TableView containing step fields
      • findTableItem

        default org.eclipse.swt.widgets.TableItem findTableItem​(String fieldName)
      • getNewFieldNames

        default List<String> getNewFieldNames​(String[] incomingFieldNames)
      • getFields

        default void getFields()
        This can be called by the "Get fields" button handler to inherit the common "get fields" behavior.
      • openGetFieldsSampleDataDialog

        default void openGetFieldsSampleDataDialog​(boolean reloadAllFields)
      • loadRemainingFields

        default void loadRemainingFields​(Map<String,​List<String>> previousFieldValues)
      • loadFields

        default String loadFields​(StepMetaType meta,
                                  int samples,
                                  boolean reloadAllFields)
      • getTableItem

        default org.eclipse.swt.widgets.TableItem getTableItem​(String fieldName)
      • getTableItem

        default org.eclipse.swt.widgets.TableItem getTableItem​(String fieldName,
                                                               boolean reloadAllFields)
      • getData

        void getData​(StepMetaType inputMeta,
                     boolean copyStepName,
                     boolean reloadAllFields,
                     Set<String> newFieldNames)
      • getPopulatedMeta

        default StepMetaType getPopulatedMeta()
      • getTransMeta

        org.pentaho.di.trans.TransMeta getTransMeta()