Revision 1c3cb06b
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/ScopeSection.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.taxeditor.ui.section.description; |
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.common.DefinedTerm; |
16 | 17 |
import eu.etaxonomy.cdm.model.description.TaxonDescription; |
17 | 18 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
18 | 19 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
20 |
import eu.etaxonomy.taxeditor.ui.section.DefaultCdmBaseComparator; |
|
19 | 21 |
import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AbstractUnboundEntityCollectionSection; |
20 | 22 |
|
21 | 23 |
/** |
... | ... | |
77 | 79 |
return entity.getScopes(); |
78 | 80 |
} |
79 | 81 |
|
82 |
@Override |
|
83 |
public Comparator<DefinedTerm> getComparator() { |
|
84 |
return new DefaultCdmBaseComparator<>(); |
|
85 |
} |
|
86 |
|
|
80 | 87 |
/** |
81 | 88 |
* {@inheritDoc} |
82 | 89 |
*/ |
Also available in: Unified diff
fix #6330 Add default sorting for all entity collections