import eu.etaxonomy.cdm.model.reference.Generic;\r
import eu.etaxonomy.cdm.model.reference.INomenclaturalReference;\r
import eu.etaxonomy.cdm.model.reference.ReferenceBase;\r
+import eu.etaxonomy.taxeditor.preference.PreferencesUtil;\r
import eu.etaxonomy.taxeditor.propertysheet.AnnotationsPropertyDescriptor;\r
import eu.etaxonomy.taxeditor.propertysheet.ICdmBasePropertySource;\r
import eu.etaxonomy.taxeditor.propertysheet.MarkersPropertySource;\r
import eu.etaxonomy.taxeditor.propertysheet.reference.NomenclaturalReferencePropertySource;\r
import eu.etaxonomy.taxeditor.propertysheet.reference.ReferencePropertySource;\r
import eu.etaxonomy.taxeditor.store.CdmStore;\r
-import eu.etaxonomy.taxeditor.store.preference.PreferencesUtil;\r
\r
/**\r
* @author p.ciardelli\r
\r
// Get terms from nom status vocabulary\r
List<NomenclaturalStatusType> nomStatusTypesList = new ArrayList<NomenclaturalStatusType>();\r
- TermVocabulary<NomenclaturalStatusType> statusVocab = \r
- CdmStore.getDefault().getNomStatus();\r
+ Set<NomenclaturalStatusType> statusVocab = CdmStore.getNomenclaturalStatusTypes();\r
\r
// If there is no status vocabulary, init type and status w empty arrays and return\r
if (statusVocab == null) {\r
return;\r
}\r
\r
- nomStatusTypesList.addAll(statusVocab.getTerms());\r
+ nomStatusTypesList.addAll(statusVocab);\r
\r
// Populate nom status type menu labels \r
List<String> nomStatusTypesMenuList = new ArrayList<String>();\r