Revision 1c3cb06b
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/association/DerivedUnitTypeDesignationSection.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import java.util.ArrayList; |
12 | 12 |
import java.util.Collection; |
13 |
import java.util.Comparator; |
|
13 | 14 |
import java.util.HashSet; |
14 | 15 |
import java.util.List; |
15 | 16 |
import java.util.Set; |
... | ... | |
21 | 22 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
22 | 23 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
23 | 24 |
import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection; |
25 |
import eu.etaxonomy.taxeditor.ui.section.DefaultCdmBaseComparator; |
|
24 | 26 |
|
25 | 27 |
/** |
26 | 28 |
* @author pplitzner |
... | ... | |
43 | 45 |
return typeDesignations; |
44 | 46 |
} |
45 | 47 |
|
48 |
@Override |
|
49 |
public Comparator<SpecimenTypeDesignation> getComparator() { |
|
50 |
return new DefaultCdmBaseComparator<>(); |
|
51 |
} |
|
52 |
|
|
46 | 53 |
/** {@inheritDoc} */ |
47 | 54 |
@Override |
48 | 55 |
public SpecimenTypeDesignation createNewElement() { |
Also available in: Unified diff
fix #6330 Add default sorting for all entity collections