return;
}
}
pm.taskStarted(tr.get(ID + ".startTask"), 100);
MySwingWorker sw = new MySwingWorker(ID) {
@Override
protected void myconstruct() throws Exception {
bar.getProgressMonitor().worked(10);
ImportWinQD importer = new ImportWinQD(dataPool, settings, file);
bar.getProgressMonitor().worked(20);
importer.doWork();
bar.getProgressMonitor().worked(80);
}
@Override
protected void done() {
bar.getProgressMonitor().worked(90);
openAllViews();
bar.getProgressMonitor().worked(100);
super.done();
}
};
sw.execute();
}