Interface IGetFieldsCapableTransformDialog<TransformMetaType extends BaseTransformMeta>


  • public interface IGetFieldsCapableTransformDialog<TransformMetaType extends BaseTransformMeta>
    An interface providing functionality for any transform dialog that has the "get fields" capability.
    • 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​(TransformMetaType meta)
        Returns an array of incoming field names, or an empty array, if fields cannot be fetched, for some reason.
        Parameters:
        meta - the IGetFieldsCapableTransformDialog
        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 transform 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)
      • getTableItem

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

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

        void getData​(TransformMetaType inputMeta,
                     boolean copyTransformName,
                     boolean reloadAllFields,
                     List<String> newFieldNames)