Project

General

Profile

« Previous | Next » 

Revision 0731be34

Added by Patrick Plitzner about 3 years ago

ref #6774 Adapt to service layer change

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/e4/handler/FeatureTreeExportOntologyHandler.java
10 10

  
11 11
import java.io.File;
12 12
import java.util.ArrayList;
13
import java.util.Collections;
13 14
import java.util.List;
14 15

  
15 16
import javax.inject.Named;
......
57 58
        String directoryString = dialog.open();
58 59
        if(directoryString!=null){
59 60
            // create job
60
            Job job = CdmStore.getExportManager().createIOServiceJob(StructureTreeOwlExportConfigurator.NewInstance(null, null, featureTrees), new File(directoryString+"/term_trees.owl"));
61
            Job job = CdmStore.getExportManager().createIOServiceJob(StructureTreeOwlExportConfigurator.NewInstance(null, null, featureTrees, Collections.EMPTY_LIST), new File(directoryString+"/term_trees.owl"));
61 62
            // configure the job
62 63
            job.setProperty(IProgressConstants.KEEP_PROPERTY, true);
63 64
            job.setUser(true);

Also available in: Unified diff