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 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.org.pentaho.di.trans.steps.terafast.TeraFastMeta
getMeta()
void
getUpdate()
...void
ok()
Ok clicked.String
open()
protected void
setComboBoxes()
...void
setTableFieldCombo()
...static void
setTextIfPropertyValue(org.pentaho.di.core.util.PluginProperty property, org.eclipse.swt.custom.CCombo combo)
static void
setTextIfPropertyValue(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:
open
in 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
-
-