Revision d31115e0
Added by Niels Hoffmann over 13 years ago
taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/io/ExportHandler.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.taxeditor.io; |
12 | 12 |
|
13 |
import org.apache.log4j.Logger; |
|
14 | 13 |
import org.eclipse.core.runtime.Assert; |
15 | 14 |
import org.eclipse.core.runtime.IProgressMonitor; |
16 | 15 |
import org.eclipse.core.runtime.IStatus; |
... | ... | |
36 | 35 |
* @version 1.0 |
37 | 36 |
*/ |
38 | 37 |
public class ExportHandler extends AbstractIOHandler<IExportConfigurator>{ |
39 |
private static final Logger logger = Logger |
|
40 |
.getLogger(ExportHandler.class); |
|
41 |
|
|
38 |
|
|
42 | 39 |
/** |
43 | 40 |
* |
44 | 41 |
* @param applicationController |
... | ... | |
88 | 85 |
monitor.worked(10); |
89 | 86 |
|
90 | 87 |
CdmDefaultExport<IExportConfigurator> exporter = new CdmDefaultExport<IExportConfigurator>(); |
91 |
configurator.setProgressMonitor(CdmProgressMonitorAdapter.CreateMonitor(monitor));
|
|
88 |
configurator.setProgressMonitor(CdmProgressMonitorAdapter.CreateSubMonitor(monitor, 80));
|
|
92 | 89 |
exporter.setCdmAppController(applicationController); |
93 | 90 |
monitor.worked(10); |
94 | 91 |
|
Also available in: Unified diff
added a readme file