Revision d6f9e690
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NomenclaturalStatusElement.java | ||
---|---|---|
52 | 52 |
public void createControls(ICdmFormElement element, int style) { |
53 | 53 |
TermVocabulary vocabulary = CdmStore.getService(IVocabularyService.class).find(VocabularyEnum.NomenclaturalStatusType.getUuid()); |
54 | 54 |
|
55 |
Comparator<NomenclaturalStatusType> termComparator= (NomenclaturalStatusType t1, NomenclaturalStatusType t2) -> t1.getIdInVocabulary().compareTo(t2.getIdInVocabulary());
|
|
55 |
Comparator<NomenclaturalStatusType> termComparator= (NomenclaturalStatusType t1, NomenclaturalStatusType t2) -> t1.getTitleCache().compareTo(t2.getTitleCache());
|
|
56 | 56 |
nomenclaturalStatusTypeCombo = formFactory.createDefinedTermComboElement(vocabulary, this, "Status", null,true, style, true); |
57 | 57 |
nomenclaturalStatusTypeCombo.setTermComparator(termComparator); |
58 | 58 |
ruleConsideredText = formFactory.createTextWithLabelElement(this, "Rule Considered", "", style); |
Also available in: Unified diff
nomenclaturalStatus is created without status type