Revision a4fdf878
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameDetailElement.java | ||
---|---|---|
105 | 105 |
super.updateContent(); |
106 | 106 |
// disable nomenclatural code, because changing of nom.code is not |
107 | 107 |
// implemented on library side |
108 |
if(combo_nomenclaturalCode!=null){ |
|
109 |
combo_nomenclaturalCode.setEnabled(false); |
|
110 |
} |
|
108 |
// if(combo_nomenclaturalCode!=null){
|
|
109 |
// combo_nomenclaturalCode.setEnabled(false);
|
|
110 |
// }
|
|
111 | 111 |
|
112 | 112 |
if(toggleable_cache!=null){ |
113 | 113 |
toggleable_cache.setEnabled(getEntity().isProtectedTitleCache() || getEntity().isProtectedFullTitleCache()); |
... | ... | |
175 | 175 |
else if(eventSource==textLsid){ |
176 | 176 |
getEntity().setLsid(textLsid.parseText()); |
177 | 177 |
} |
178 |
|
|
179 |
if (eventSource == combo_nomenclaturalCode){ |
|
180 |
getEntity().setNameType(combo_nomenclaturalCode.getSelection()); |
|
181 |
} |
|
178 | 182 |
} |
179 | 183 |
@Override |
180 | 184 |
protected void handleToggleableCacheField() { |
Also available in: Unified diff
ref #6692: make nomenclatural code editable