Revision 5acb8103
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/TcsImportWizard.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
package eu.etaxonomy.taxeditor.io.wizard; |
11 | 11 |
|
12 |
import java.io.File; |
|
13 |
|
|
14 | 12 |
import org.eclipse.core.runtime.jobs.Job; |
15 | 13 |
import org.eclipse.jface.viewers.IStructuredSelection; |
16 | 14 |
import org.eclipse.ui.IWorkbench; |
... | ... | |
39 | 37 |
configurator.setSource(source); |
40 | 38 |
configurator.setDbSchemaValidation(DbSchemaValidation.CREATE); |
41 | 39 |
|
42 |
Job job = CdmStore.getImportManager().createIOServiceJob(configurator, new File(source), SOURCE_TYPE.URI);
|
|
40 |
Job job = CdmStore.getImportManager().createIOServiceJob(configurator, source.toFile(), SOURCE_TYPE.URI);
|
|
43 | 41 |
CdmStore.getImportManager().run(job); |
44 | 42 |
|
45 | 43 |
return true; |
Also available in: Unified diff
ref #9114 adapt some classes with URI to wrapper in taxeditor (cont.)