Revision 1c3cb06b
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/CurrentDeterminationDetailSection.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
import java.util.Arrays; |
13 | 13 |
import java.util.Collection; |
14 |
import java.util.Comparator; |
|
14 | 15 |
|
15 | 16 |
import org.eclipse.jface.action.Action; |
16 | 17 |
import org.eclipse.jface.action.IAction; |
... | ... | |
26 | 27 |
import eu.etaxonomy.taxeditor.model.ImageResources; |
27 | 28 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
28 | 29 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
30 |
import eu.etaxonomy.taxeditor.ui.section.DefaultCdmBaseComparator; |
|
29 | 31 |
|
30 | 32 |
/** |
31 | 33 |
* @author n.hoffmann |
... | ... | |
98 | 100 |
return preferredDetermination != null ? Arrays.asList(new DeterminationEvent[]{preferredDetermination}) : null; |
99 | 101 |
} |
100 | 102 |
|
103 |
@Override |
|
104 |
public Comparator<DeterminationEvent> getComparator() { |
|
105 |
return new DefaultCdmBaseComparator<>(); |
|
106 |
} |
|
107 |
|
|
101 | 108 |
/* (non-Javadoc) |
102 | 109 |
* @see eu.etaxonomy.taxeditor.ui.section.occurrence.AbstractDeterminationEventDetailSection#createNewElement() |
103 | 110 |
*/ |
Also available in: Unified diff
fix #6330 Add default sorting for all entity collections