Changed calls to retrieve term vocabularies to preferred term mechanism where applicable.
[taxeditor.git] / taxeditor-editor / src / main / java / eu / etaxonomy / taxeditor / editor / name / handler / AbstractDynamicConceptRelationMenu.java
index fc2bf2441a3e232be549251611c66a1a02073685..d85f918b654d7203afe803e331df8b58f7f88a93 100644 (file)
@@ -14,7 +14,7 @@ import org.eclipse.ui.handlers.IHandlerService;
 
 import eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType;
 import eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin;
-import eu.etaxonomy.taxeditor.store.CdmStore;
+import eu.etaxonomy.taxeditor.store.VocabularyStore;
 
 /**
  * 
@@ -33,7 +33,7 @@ public abstract class AbstractDynamicConceptRelationMenu extends ContributionIte
        public void fill(Menu menu, int index){
                final IHandlerService handlerService = (IHandlerService) TaxeditorEditorPlugin.getDefault().getWorkbench().getService(IHandlerService.class);
        
-               for(final TaxonRelationshipType type : CdmStore.getDefault().getConceptRelationshipTypes()){
+               for(final TaxonRelationshipType type : VocabularyStore.getConceptRelationshipTypes()){
                        MenuItem menuItem = new MenuItem(menu, -1);
                        menuItem.setText(type.getLabel());
                        menuItem.setData(type);