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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault org.eclipse.swt.widgets.TableItemfindTableItem(String fieldName) voidgetData(StepMetaType inputMeta, boolean copyStepName, boolean reloadAllFields, Set<String> newFieldNames) String[]getFieldNames(StepMetaType meta) Returns an array of incoming field names, or an empty array, if fields cannot be fetched, for some reason.default voidThis can be called by the "Get fields" button handler to inherit the common "get fields" behavior.default voidgetFields(StepMetaType meta) getNewFieldNames(String[] incomingFieldNames) org.eclipse.swt.widgets.ShellReturns theShellof the parent control.default StepMetaTypeorg.eclipse.swt.widgets.ShellgetShell()Returns theShellof this dialog.default org.eclipse.swt.widgets.TableItemgetTableItem(String fieldName) default org.eclipse.swt.widgets.TableItemgetTableItem(String fieldName, boolean reloadAllFields) org.pentaho.di.trans.TransMetadefault StringloadFields(StepMetaType meta, int samples, boolean reloadAllFields) loadFieldsImpl(StepMetaType meta, int samples) default voidloadRemainingFields(Map<String, List<String>> previousFieldValues) default voidopenGetFieldsSampleDataDialog(boolean reloadAllFields) voidpopulateMeta(StepMetaType meta) repopulateFields(StepMetaType meta, Map<String, List<String>> previousFieldValues, boolean reloadAllFields)
-
Field Details
-
PKG
-
logger
static final org.pentaho.di.core.logging.LogChannel logger
-
-
Method Details
-
getParent
org.eclipse.swt.widgets.Shell getParent()Returns theShellof the parent control.- Returns:
- the
Shellof the parent control
-
getShell
org.eclipse.swt.widgets.Shell getShell()Returns theShellof this dialog.- Returns:
- the
Shellof this dialog
-
getFieldNames
Returns an array of incoming field names, or an empty array, if fields cannot be fetched, for some reason.- Parameters:
meta- theGetFieldsCapableStepDialog- Returns:
- an array of incoming field names, or an empty array, if fields cannot be fetched, for some reason.
-
getFieldsTable
TableView getFieldsTable()- Returns:
- the
TableViewcontaining step fields
-
findTableItem
-
getNewFieldNames
-
getFields
default void getFields()This can be called by the "Get fields" button handler to inherit the common "get fields" behavior. -
getFields
-
openGetFieldsSampleDataDialog
default void openGetFieldsSampleDataDialog(boolean reloadAllFields) -
loadFieldsImpl
-
getFieldValues
-
repopulateFields
-
loadRemainingFields
-
loadFields
-
getTableItem
-
getTableItem
-
getData
void getData(StepMetaType inputMeta, boolean copyStepName, boolean reloadAllFields, Set<String> newFieldNames) -
getPopulatedMeta
-
populateMeta
-
getNewMetaInstance
StepMetaType getNewMetaInstance() -
getTransMeta
org.pentaho.di.trans.TransMeta getTransMeta()
-