Revision 845a6a70
Added by Patrick Plitzner over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/featuretree/e4/operation/CreateFeatureTreeOperation.java | ||
---|---|---|
13 | 13 |
import org.eclipse.core.runtime.IProgressMonitor; |
14 | 14 |
import org.eclipse.core.runtime.IStatus; |
15 | 15 |
|
16 |
import eu.etaxonomy.cdm.api.service.IFeatureTreeService;
|
|
16 |
import eu.etaxonomy.cdm.api.service.ITermTreeService;
|
|
17 | 17 |
import eu.etaxonomy.cdm.model.description.Feature; |
18 | 18 |
import eu.etaxonomy.cdm.model.term.TermTree; |
19 | 19 |
import eu.etaxonomy.taxeditor.operation.AbstractPostOperation; |
... | ... | |
36 | 36 |
|
37 | 37 |
@Override |
38 | 38 |
public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException { |
39 |
CdmStore.getService(IFeatureTreeService.class).save(element);
|
|
39 |
CdmStore.getService(ITermTreeService.class).save(element);
|
|
40 | 40 |
return postExecute(element); |
41 | 41 |
} |
42 | 42 |
|
Also available in: Unified diff
ref #6794 Replace FeatureTreeService with TermTreeService