wizard.selectedModels.add(model);
if( wizard.changeTarget != null )
wizard.selectedModels.add(wizard.changeTarget);
ImpactAnalysisOperation op = new ImpactAnalysisOperation(graph.getProject(), wizard.selectedModels, wizard.selectedCatalog, wizard.b1, wizard.b2, true);
ProgressMonitorDialog progressDialog = new ProgressMonitorDialog(shell);
progressDialog.setCancelable(false);
try
{
progressDialog.run(true, true, op);
MessageDialog.openInformation(shell, "Impact Analysis completed", op.getSizeOfImpactSet()+" impact reports generated");
}
catch (InvocationTargetException e)
{
// TODO Auto-generated catch block
e.printStackTrace();