org.pentaho.di.ui.trans.steps.script
Class ScriptDialog

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

public class ScriptDialog
extends BaseStepDialog
implements StepDialogInterface


Field Summary
static int SKIP_TRANSFORMATION
           
 
Fields inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
loggingObject
 
Constructor Summary
ScriptDialog(Shell parent, Object in, TransMeta transMeta, String sname)
           
 
Method Summary
 void getData()
          Copy information from the meta-data input to the dialog fields.
 String open()
          Opens a step dialog window.
static org.mozilla.javascript.ast.ScriptNode parseVariables(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, String source, String sourceName, int lineno, Object securityDomain)
           
 void setPosition()
           
 boolean test()
           
 boolean TreeItemExist(TreeItem itemToCheck, String strItemName)
           
 
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
 

Field Detail

SKIP_TRANSFORMATION

public static final int SKIP_TRANSFORMATION
See Also:
Constant Field Values
Constructor Detail

ScriptDialog

public ScriptDialog(Shell parent,
                    Object in,
                    TransMeta transMeta,
                    String sname)
Method Detail

open

public String open()
Description copied from interface: StepDialogInterface
Opens a step dialog window.

Specified by:
open in interface StepDialogInterface
Returns:
the (potentially new) name of the step

setPosition

public void setPosition()

getData

public void getData()
Copy information from the meta-data input to the dialog fields.


test

public boolean test()

TreeItemExist

public boolean TreeItemExist(TreeItem itemToCheck,
                             String strItemName)

parseVariables

public static org.mozilla.javascript.ast.ScriptNode parseVariables(org.mozilla.javascript.Context cx,
                                                                   org.mozilla.javascript.Scriptable scope,
                                                                   String source,
                                                                   String sourceName,
                                                                   int lineno,
                                                                   Object securityDomain)