Revision a1a93b94
Added by Andreas Müller over 9 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NamedAreaSelectionDialog.java | ||
---|---|---|
135 | 135 |
|
136 | 136 |
private List<TermVocabulary<NamedArea>> getVocabularies(){ |
137 | 137 |
List<TermVocabulary<NamedArea>> vocabularies = CdmStore.getService(IVocabularyService.class).listByTermClass(NamedArea.class, null, null, null, null); |
138 |
vocabularies.add(CdmStore.getService(IVocabularyService.class).getVocabulary(VocabularyEnum.TdwgArea));
|
|
139 |
vocabularies.add(CdmStore.getService(IVocabularyService.class).getVocabulary(VocabularyEnum.Country));
|
|
140 |
vocabularies.add(CdmStore.getService(IVocabularyService.class).getVocabulary(VocabularyEnum.Waterbody));
|
|
141 |
vocabularies.add(CdmStore.getService(IVocabularyService.class).getVocabulary(VocabularyEnum.Continent));
|
|
138 |
vocabularies.add(CdmStore.getService(IVocabularyService.class).find(VocabularyEnum.TdwgArea.getUuid()));
|
|
139 |
vocabularies.add(CdmStore.getService(IVocabularyService.class).find(VocabularyEnum.Country.getUuid()));
|
|
140 |
vocabularies.add(CdmStore.getService(IVocabularyService.class).find(VocabularyEnum.Waterbody.getUuid()));
|
|
141 |
vocabularies.add(CdmStore.getService(IVocabularyService.class).find(VocabularyEnum.Continent.getUuid()));
|
|
142 | 142 |
return vocabularies; |
143 | 143 |
} |
144 | 144 |
|
Also available in: Unified diff
remove use of TermService.findByEnum