return createReport();
}
private boolean createReport() {
final ICoverageSession session = page1.getSelectedSession();
final ISessionExporter exporter = CoverageTools.getExporter(session);
exporter.setFormat(page1.getExportFormat());
exporter.setDestination(page1.getDestination());
final IRunnableWithProgress op = new IRunnableWithProgress() {
public void run(IProgressMonitor monitor)
throws InvocationTargetException, InterruptedException {
try {
exporter.export(monitor);
} catch (Exception e) {
throw new InvocationTargetException(e);
}
}
};