public class TeraFastDialog extends BaseStepDialog implements StepDialogInterface
BaseStepDialog.FieldsChoiceDialogProvider
backupChanged, baseStepMeta, BUTTON_ALIGNMENT_CENTER, BUTTON_ALIGNMENT_LEFT, BUTTON_ALIGNMENT_RIGHT, buttonAlignment, changed, databaseDialog, fdCancel, fdCreate, fdGet, fdlStepname, fdOK, fdPreview, fdSQL, fdStepname, log, loggingObject, lsCancel, lsCreate, lsDef, lsGet, lsOK, lsPreview, lsResize, lsSQL, metaStore, props, repository, shell, stepMeta, stepname, transMeta, variables, wCancel, wCreate, wGet, wlStepname, wOK, wPreview, wSQL, wStepname
Constructor and Description |
---|
TeraFastDialog(org.eclipse.swt.widgets.Shell parent,
Object baseStepMeta,
TransMeta transMeta,
String stepname)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
assignChangeListener()
...
|
protected void |
buildAscLink(PluginWidgetFactory factory) |
protected void |
buildControlFileLine(PluginWidgetFactory factory) |
protected void |
buildDataFileLine(PluginWidgetFactory factory) |
protected void |
buildErrorLimitLine(PluginWidgetFactory factory) |
protected void |
buildFastloadLine(PluginWidgetFactory factory) |
protected void |
buildFieldTable(PluginWidgetFactory factory) |
protected void |
buildLogFileLine(PluginWidgetFactory factory) |
protected void |
buildSessionsLine(PluginWidgetFactory factory) |
protected void |
buildStepNameLine(PluginWidgetFactory factory)
Build step name line.
|
protected void |
buildTableLine(PluginWidgetFactory factory) |
protected void |
buildTruncateTableLine(PluginWidgetFactory factory) |
protected void |
buildUi()
Build UI.
|
protected void |
buildUseControlFileLine(PluginWidgetFactory factory) |
protected void |
buildVariableSubstitutionLine(PluginWidgetFactory factory) |
void |
cancel()
Dialog is closed.
|
void |
disableInputs()
Disable inputs.
|
void |
generateMappings()
Reads in the fields from the previous steps and from the ONE next step and opens an EnterMappingDialog with this
information.
|
void |
getData()
Set data values in dialog.
|
TeraFastMeta |
getMeta() |
void |
getUpdate()
...
|
void |
ok()
Ok clicked.
|
String |
open() |
protected void |
setComboBoxes()
...
|
void |
setTableFieldCombo()
...
|
static void |
setTextIfPropertyValue(PluginProperty property,
org.eclipse.swt.custom.CCombo combo) |
static void |
setTextIfPropertyValue(PluginProperty property,
TextVar textVar) |
addConnectionLine, addConnectionLine, addConnectionLine, addConnectionLine, addDatabases, addDatabases, centerButtons, createHelpButton, dispose, generateFieldMapping, getButtonAlignment, getDatabaseDialog, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getMetaStore, getModifyListenerTooltipText, getPathOf, getRepository, isBasic, isDebug, isDetailed, isRowLevel, leftAlignButtons, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, positionBottomButtons, positionBottomButtons, positionBottomRightButtons, rightAlignButtons, selectDatabase, setButtonPositions, setMetaStore, setMinimalShellHeight, setRepository, setShellImage, setSize, setSize, setSize, setSize, setTraverseOrder, storeScreenSize, toString
checkSubclass, getParent, getStyle, getText, setText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setMetaStore, setRepository
public static void setTextIfPropertyValue(PluginProperty property, TextVar textVar)
property
- property.textVar
- text varibale.public static void setTextIfPropertyValue(PluginProperty property, org.eclipse.swt.custom.CCombo combo)
property
- property.combo
- text variable.public String open()
open
in interface StepDialogInterface
StepDialogInterface.open()
protected void setComboBoxes()
public void getData()
public void generateMappings()
public void getUpdate()
public void cancel()
public void ok()
protected void buildUi()
protected void buildControlFileLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildFastloadLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildUseControlFileLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildVariableSubstitutionLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildLogFileLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildStepNameLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildTableLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildTruncateTableLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildDataFileLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildSessionsLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildErrorLimitLine(PluginWidgetFactory factory)
factory
- factory to use.protected void buildAscLink(PluginWidgetFactory factory)
factory
- factory to use.protected void buildFieldTable(PluginWidgetFactory factory)
factory
- factory to use.protected void assignChangeListener()
public void disableInputs()
public void setTableFieldCombo()
public TeraFastMeta getMeta()
Copyright © 2019 Hitachi Vantara. All rights reserved.