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
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.eclipse.swt.widgets.TableItem
findTableItem
(String fieldName) void
getData
(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 void
This can be called by the "Get fields" button handler to inherit the common "get fields" behavior.default void
getFields
(StepMetaType meta) getNewFieldNames
(String[] incomingFieldNames) org.eclipse.swt.widgets.Shell
Returns theShell
of the parent control.default StepMetaType
org.eclipse.swt.widgets.Shell
getShell()
Returns theShell
of this dialog.default org.eclipse.swt.widgets.TableItem
getTableItem
(String fieldName) default org.eclipse.swt.widgets.TableItem
getTableItem
(String fieldName, boolean reloadAllFields) org.pentaho.di.trans.TransMeta
default String
loadFields
(StepMetaType meta, int samples, boolean reloadAllFields) loadFieldsImpl
(StepMetaType meta, int samples) default void
loadRemainingFields
(Map<String, List<String>> previousFieldValues) default void
openGetFieldsSampleDataDialog
(boolean reloadAllFields) void
populateMeta
(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 theShell
of the parent control.- Returns:
- the
Shell
of the parent control
-
getShell
org.eclipse.swt.widgets.Shell getShell()Returns theShell
of this dialog.- Returns:
- the
Shell
of 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
TableView
containing 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()
-