Search in sources :

Example 1 with AnalyseImpactProgressDialog

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

the class Spoon method analyseImpact.

public void analyseImpact(TransMeta transMeta) {
    if (transMeta == null) {
        return;
    }
    TransGraph transGraph = delegates.trans.findTransGraphOfTransformation(transMeta);
    if (transGraph == null) {
        return;
    }
    AnalyseImpactProgressDialog aipd = new AnalyseImpactProgressDialog(shell, transMeta, transGraph.getImpact());
    transGraph.setImpactFinished(aipd.open());
    if (transGraph.isImpactFinished()) {
        showLastImpactAnalyses(transMeta);
    }
}
Also used : AnalyseImpactProgressDialog(org.pentaho.di.ui.spoon.dialog.AnalyseImpactProgressDialog) TransGraph(org.pentaho.di.ui.spoon.trans.TransGraph)

Aggregations

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