Revision 1c3cb06b
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/key/TaxonomicScopeSection.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.taxeditor.ui.section.key; |
11 | 11 |
|
12 | 12 |
import java.util.Collection; |
13 |
import java.util.Comparator; |
|
13 | 14 |
|
14 | 15 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
15 | 16 |
import eu.etaxonomy.cdm.model.description.PolytomousKey; |
... | ... | |
18 | 19 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
19 | 20 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
20 | 21 |
import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection; |
22 |
import eu.etaxonomy.taxeditor.ui.section.DefaultCdmBaseComparator; |
|
21 | 23 |
|
22 | 24 |
/** |
23 | 25 |
* @author n.hoffmann |
... | ... | |
52 | 54 |
return entity.getTaxonomicScope(); |
53 | 55 |
} |
54 | 56 |
|
57 |
@Override |
|
58 |
public Comparator<Taxon> getComparator() { |
|
59 |
return new DefaultCdmBaseComparator<>(); |
|
60 |
} |
|
61 |
|
|
55 | 62 |
/* |
56 | 63 |
* (non-Javadoc) |
57 | 64 |
* |
Also available in: Unified diff
fix #6330 Add default sorting for all entity collections