job.schedule();
} else {
Job job = new Job("Calculating Metrics ...") {
@Override
protected IStatus run(IProgressMonitor monitor) {
AbstractMetricElement parent = new FakeMetric();
parent = FullMetricCaculator.calculate(selections, parent,
monitor);
Activator.getDefault().getMetricsView()
.setSelection(parent);
monitor.done();