org.pentaho.di.ui.spoon.delegates
Class SpoonTransformationDelegate

java.lang.Object
  extended by org.pentaho.di.ui.spoon.delegates.SpoonDelegate
      extended by org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate

public class SpoonTransformationDelegate
extends SpoonDelegate


Field Summary
 
Fields inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
loggingObject
 
Constructor Summary
SpoonTransformationDelegate(Spoon spoon)
           
 
Method Summary
 boolean addTransformation(TransMeta transMeta)
          Add a transformation to the
 void addTransGraph(TransMeta transMeta)
           
 void closeTransformation(TransMeta transMeta)
           
 void executeTransformation(TransMeta transMeta, boolean local, boolean remote, boolean cluster, boolean preview, boolean debug, Date replayDate, boolean safe)
           
 TransGraph findTransGraphOfTransformation(TransMeta transMeta)
           
 TransMeta[] getLoadedTransformations()
           
 TransMeta getTransformation(String name)
           
 List<TransMeta> getTransformationList()
           
 boolean isDefaultTransformationName(String name)
           
 void redoTransformationAction(TransMeta transMeta, TransAction transAction)
           
 void removeTransformation(TransMeta transMeta)
           
 void tabSelected(org.pentaho.xul.swt.tab.TabItem item)
           
 void undoTransformationAction(TransMeta transMeta, TransAction transAction)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpoonTransformationDelegate

public SpoonTransformationDelegate(Spoon spoon)
Method Detail

addTransformation

public boolean addTransformation(TransMeta transMeta)
Add a transformation to the

Parameters:
transMeta - the transformation to add to the map
Returns:
true if the transformation was added, false if it couldn't be added (already loaded)

closeTransformation

public void closeTransformation(TransMeta transMeta)
Parameters:
transMeta - the transformation to close, make sure it's ok to dispose of it BEFORE you call this.

addTransGraph

public void addTransGraph(TransMeta transMeta)

tabSelected

public void tabSelected(org.pentaho.xul.swt.tab.TabItem item)

getTransformationList

public List<TransMeta> getTransformationList()

getTransformation

public TransMeta getTransformation(String name)

removeTransformation

public void removeTransformation(TransMeta transMeta)

getLoadedTransformations

public TransMeta[] getLoadedTransformations()

findTransGraphOfTransformation

public TransGraph findTransGraphOfTransformation(TransMeta transMeta)

isDefaultTransformationName

public boolean isDefaultTransformationName(String name)

undoTransformationAction

public void undoTransformationAction(TransMeta transMeta,
                                     TransAction transAction)

redoTransformationAction

public void redoTransformationAction(TransMeta transMeta,
                                     TransAction transAction)

executeTransformation

public void executeTransformation(TransMeta transMeta,
                                  boolean local,
                                  boolean remote,
                                  boolean cluster,
                                  boolean preview,
                                  boolean debug,
                                  Date replayDate,
                                  boolean safe)
                           throws KettleException
Throws:
KettleException