Search in sources :

Example 1 with CheckTransProgressDialog

use of org.pentaho.di.ui.spoon.dialog.CheckTransProgressDialog in project pentaho-kettle by pentaho.

the class Spoon method checkTrans.

/**
 * Check the steps in a transformation
 *
 * @param only_selected
 *          True: Check only the selected steps...
 */
public void checkTrans(TransMeta transMeta, boolean only_selected) {
    if (transMeta == null) {
        return;
    }
    TransGraph transGraph = delegates.trans.findTransGraphOfTransformation(transMeta);
    if (transGraph == null) {
        return;
    }
    CheckTransProgressDialog ctpd = new CheckTransProgressDialog(shell, transMeta, transGraph.getRemarks(), only_selected);
    // manages the remarks arraylist...
    ctpd.open();
    showLastTransCheck();
}
Also used : CheckTransProgressDialog(org.pentaho.di.ui.spoon.dialog.CheckTransProgressDialog) TransGraph(org.pentaho.di.ui.spoon.trans.TransGraph)

Aggregations

CheckTransProgressDialog (org.pentaho.di.ui.spoon.dialog.CheckTransProgressDialog)1 TransGraph (org.pentaho.di.ui.spoon.trans.TransGraph)1