Class TeraFastDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.pentaho.di.ui.trans.step.BaseStepDialog
-
- org.pentaho.di.ui.trans.steps.terafast.TeraFastDialog
-
- All Implemented Interfaces:
org.pentaho.di.trans.step.StepDialogInterface
public class TeraFastDialog extends BaseStepDialog implements org.pentaho.di.trans.step.StepDialogInterface
TODO BaseStepDialog should replaced by something like AbstractStepDialog (BaseStepDialog is ... - asc042, 13.05.2009)- Author:
- Michael Gugerell(asc145)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
BaseStepDialog.FieldsChoiceDialogProvider
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
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 Summary
Constructors Constructor Description TeraFastDialog(org.eclipse.swt.widgets.Shell parent, Object baseStepMeta, org.pentaho.di.trans.TransMeta transMeta, String stepname)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassignChangeListener()...protected voidbuildAscLink(PluginWidgetFactory factory)protected voidbuildControlFileLine(PluginWidgetFactory factory)protected voidbuildDataFileLine(PluginWidgetFactory factory)protected voidbuildErrorLimitLine(PluginWidgetFactory factory)protected voidbuildFastloadLine(PluginWidgetFactory factory)protected voidbuildFieldTable(PluginWidgetFactory factory)protected voidbuildLogFileLine(PluginWidgetFactory factory)protected voidbuildSessionsLine(PluginWidgetFactory factory)protected voidbuildStepNameLine(PluginWidgetFactory factory)Build step name line.protected voidbuildTableLine(PluginWidgetFactory factory)protected voidbuildTruncateTableLine(PluginWidgetFactory factory)protected voidbuildUi()Build UI.protected voidbuildUseControlFileLine(PluginWidgetFactory factory)protected voidbuildVariableSubstitutionLine(PluginWidgetFactory factory)voidcancel()Dialog is closed.voiddisableInputs()Disable inputs.voidgenerateMappings()Reads in the fields from the previous steps and from the ONE next step and opens an EnterMappingDialog with this information.voidgetData()Set data values in dialog.org.pentaho.di.trans.steps.terafast.TeraFastMetagetMeta()voidgetUpdate()...voidok()Ok clicked.Stringopen()protected voidsetComboBoxes()...voidsetTableFieldCombo()...static voidsetTextIfPropertyValue(org.pentaho.di.core.util.PluginProperty property, org.eclipse.swt.custom.CCombo combo)static voidsetTextIfPropertyValue(org.pentaho.di.core.util.PluginProperty property, TextVar textVar)-
Methods inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
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
-
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
-
-
-
Method Detail
-
setTextIfPropertyValue
public static void setTextIfPropertyValue(org.pentaho.di.core.util.PluginProperty property, TextVar textVar)- Parameters:
property- property.textVar- text varibale.
-
setTextIfPropertyValue
public static void setTextIfPropertyValue(org.pentaho.di.core.util.PluginProperty property, org.eclipse.swt.custom.CCombo combo)- Parameters:
property- property.combo- text variable.
-
open
public String open()
- Specified by:
openin interfaceorg.pentaho.di.trans.step.StepDialogInterface- See Also:
StepDialogInterface.open()
-
setComboBoxes
protected void setComboBoxes()
...
-
getData
public void getData()
Set data values in dialog.
-
generateMappings
public void generateMappings()
Reads in the fields from the previous steps and from the ONE next step and opens an EnterMappingDialog with this information. After the user did the mapping, those information is put into the Select/Rename table.
-
getUpdate
public void getUpdate()
...
-
cancel
public void cancel()
Dialog is closed.
-
ok
public void ok()
Ok clicked.
-
buildUi
protected void buildUi()
Build UI.
-
buildControlFileLine
protected void buildControlFileLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildFastloadLine
protected void buildFastloadLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildUseControlFileLine
protected void buildUseControlFileLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildVariableSubstitutionLine
protected void buildVariableSubstitutionLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildLogFileLine
protected void buildLogFileLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildStepNameLine
protected void buildStepNameLine(PluginWidgetFactory factory)
Build step name line.- Parameters:
factory- factory to use.
-
buildTableLine
protected void buildTableLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildTruncateTableLine
protected void buildTruncateTableLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildDataFileLine
protected void buildDataFileLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildSessionsLine
protected void buildSessionsLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildErrorLimitLine
protected void buildErrorLimitLine(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildAscLink
protected void buildAscLink(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
buildFieldTable
protected void buildFieldTable(PluginWidgetFactory factory)
- Parameters:
factory- factory to use.
-
assignChangeListener
protected void assignChangeListener()
...
-
disableInputs
public void disableInputs()
Disable inputs.
-
setTableFieldCombo
public void setTableFieldCombo()
...
-
getMeta
public org.pentaho.di.trans.steps.terafast.TeraFastMeta getMeta()
- Returns:
- the meta
-
-