Revision bd7b4b89
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/combo/EnumComboElement.java | ||
---|---|---|
236 | 236 |
|
237 | 237 |
private void populateTypes(Comparator<T> comparator){ |
238 | 238 |
List<T> elementsForClass = new ArrayList<T>(getElementsForClass(enumType)); |
239 |
if (enumType.equals(SpecimenOrObservationType.class)){ |
|
240 |
elementsForClass.remove(SpecimenOrObservationType.FieldUnit); |
|
241 |
} |
|
239 | 242 |
if(comparator!=null){ |
240 | 243 |
Collections.sort(elementsForClass, comparator); |
241 | 244 |
} |
Also available in: Unified diff
ref #5244: remove field unit from combo box