Project

General

Profile

« Previous | Next » 

Revision 2ab241cb

Added by Alex Theys almost 12 years ago

AT: committing changes to the TaxEditor Post second round of code review

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/uses/UsesContentProvider.java
18 18
import eu.etaxonomy.cdm.model.description.TaxonDescription;
19 19
import eu.etaxonomy.cdm.model.taxon.Taxon;
20 20
import eu.etaxonomy.taxeditor.editor.TaxonEditorInput;
21
import eu.etaxonomy.taxeditor.editor.UsageTermCollection;
21 22
import eu.etaxonomy.taxeditor.editor.view.descriptive.DescriptiveContentProvider;
22 23
import eu.etaxonomy.taxeditor.model.FeatureNodeContainerTree;
23 24
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
......
95 96
		
96 97
		for(DescriptionBase description : taxon.getDescriptions()){
97 98
			if(! description.isImageGallery()){
98
				MarkerType useMarkertype = (MarkerType) CdmStore.getService(ITermService.class).find(UUID.fromString("2e6e42d9-e92a-41f4-899b-03c0ac64f039"));
99
				MarkerType useMarkertype = (MarkerType) CdmStore.getService(ITermService.class).find(UsageTermCollection.uuidUseRecordFeature);
99 100
				Set<Marker> descriptionMarkers = description.getMarkers();
100 101
				if(descriptionMarkers != null) {
101 102
					for (Marker marker: descriptionMarkers) {

Also available in: Unified diff