Project

General

Profile

« Previous | Next » 

Revision d766bf95

Added by Patrick Plitzner almost 6 years ago

User service method to remove description from DescriptiveDataSet

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/operation/DeleteSpecimenDescriptionOperation.java
50 50
	public IStatus execute(IProgressMonitor monitor, IAdaptable info)
51 51
			throws ExecutionException {
52 52

  
53
		monitor.worked(20);
54
		element.removeDescription(description);
55 53
		monitor.worked(40);
56
		CdmStore.getService(IDescriptionService.class).delete(description);
54
		CdmStore.getService(IDescriptionService.class).deleteDescription(description);
57 55

  
58 56
		return postExecute(description);
59 57
	}

Also available in: Unified diff