IRunnableWithProgress runnable = new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
try {
monitor.beginTask("Generate performance results", 10000);
GenerateResults generation = new GenerateResults(BuildsView.this.results.getPerformanceResults(),
buildName,
baselineName,
fingerprints,
BuildsView.this.dataDir,
genDir);
GenerateAction.this.status = generation.run(monitor);
monitor.done();
} catch (Exception e) {
e.printStackTrace();
}
}