Revision 1c3cb06b
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/StatisticalMeasureCollectionSection.java | ||
---|---|---|
9 | 9 |
package eu.etaxonomy.taxeditor.ui.section.vocabulary; |
10 | 10 |
|
11 | 11 |
import java.util.Collection; |
12 |
import java.util.Comparator; |
|
12 | 13 |
|
13 | 14 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
14 | 15 |
import eu.etaxonomy.cdm.model.description.Feature; |
15 | 16 |
import eu.etaxonomy.cdm.model.description.StatisticalMeasure; |
16 | 17 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
17 | 18 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
19 |
import eu.etaxonomy.taxeditor.ui.section.DefaultCdmBaseComparator; |
|
18 | 20 |
import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AbstractUnboundEntityCollectionSection; |
19 | 21 |
|
20 | 22 |
/** |
... | ... | |
38 | 40 |
return entity.getRecommendedStatisticalMeasures(); |
39 | 41 |
} |
40 | 42 |
|
43 |
@Override |
|
44 |
public Comparator<StatisticalMeasure> getComparator() { |
|
45 |
return new DefaultCdmBaseComparator<>(); |
|
46 |
} |
|
47 |
|
|
41 | 48 |
/* (non-Javadoc) |
42 | 49 |
* @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection#createNewElement() |
43 | 50 |
*/ |
Also available in: Unified diff
fix #6330 Add default sorting for all entity collections