org.pentaho.di.ui.trans.steps.terafast
Class TeraFastDialog

java.lang.Object
  extended by Dialog
      extended by org.pentaho.di.ui.trans.step.BaseStepDialog
          extended by org.pentaho.di.ui.trans.steps.terafast.TeraFastDialog
All Implemented Interfaces:
StepDialogInterface

public class TeraFastDialog
extends BaseStepDialog
implements StepDialogInterface

TODO BaseStepDialog should replaced by something like AbstractStepDialog (BaseStepDialog is ... - asc042, 13.05.2009)

Author:
Michael Gugerell(asc145)

Field Summary
 
Fields inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
loggingObject
 
Constructor Summary
TeraFastDialog(Shell parent, Object baseStepMeta, TransMeta transMeta, String stepname)
          Constructor.
 
Method Summary
 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()
          
 void setTableFieldCombo()
          ...
static void setTextIfPropertyValue(PluginProperty property, CCombo combo)
           
static void setTextIfPropertyValue(PluginProperty property, TextVar textVar)
           
 
Methods inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
addConnectionLine, addConnectionLine, addConnectionLine, addConnectionLine, addDatabases, addDatabases, dispose, generateFieldMapping, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getModifyListenerTooltipText, getRepository, isBasic, isDebug, isDetailed, isRowLevel, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, positionBottomButtons, selectDatabase, setMinimalShellHeight, setRepository, setShellImage, setSize, setSize, setSize, setTraverseOrder, storeScreenSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.di.trans.step.StepDialogInterface
setRepository
 

Constructor Detail

TeraFastDialog

public TeraFastDialog(Shell parent,
                      Object baseStepMeta,
                      TransMeta transMeta,
                      String stepname)
Constructor.

Parameters:
parent - parent shell.
baseStepMeta - step meta
transMeta - transaction meta
stepname - name of step.
Method Detail

setTextIfPropertyValue

public static void setTextIfPropertyValue(PluginProperty property,
                                          TextVar textVar)
Parameters:
property - property.
textVar - text varibale.

setTextIfPropertyValue

public static void setTextIfPropertyValue(PluginProperty property,
                                          CCombo combo)
Parameters:
property - property.
combo - text variable.

open

public String open()

Specified by:
open in interface StepDialogInterface
See Also:
StepDialogInterface.open()

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.


disableInputs

public void disableInputs()
Disable inputs.


setTableFieldCombo

public void setTableFieldCombo()
...


getMeta

public TeraFastMeta getMeta()
Returns:
the meta