Revision 1c3cb06b
Added by Patrick Plitzner about 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/SourceCollectionDetailSection.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.taxeditor.ui.section.occurrence; |
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.api.facade.DerivedUnitFacade; |
... | ... | |
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 |
* <p>SourceCollectionDetailSection class.</p> |
... | ... | |
51 | 53 |
return entity.getSources(); |
52 | 54 |
} |
53 | 55 |
|
56 |
@Override |
|
57 |
public Comparator<IdentifiableSource> getComparator() { |
|
58 |
return new DefaultCdmBaseComparator<>(); |
|
59 |
} |
|
60 |
|
|
54 | 61 |
/* (non-Javadoc) |
55 | 62 |
* @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#createNewElement() |
56 | 63 |
*/ |
Also available in: Unified diff
fix #6330 Add default sorting for all entity collections