Project

General

Profile

« Previous | Next » 

Revision 814cb7e1

Added by Katja Luther almost 6 years ago

bulkeditor list comparator is set by bulkeditorinput.getTitleComparator

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorE4.java
87 87
import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
88 88
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditorQuery;
89 89
import eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput;
90
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.TitleCacheComparator;
91 90
import eu.etaxonomy.taxeditor.editor.ITaxonEditor;
92 91
import eu.etaxonomy.taxeditor.event.WorkbenchEventConstants;
93 92
import eu.etaxonomy.taxeditor.l10n.Messages;
......
191 190
        propertyToLabels.put(TYPE_PROPERTY, TYPE_PROPERTY);
192 191
        String[] propertyNames = new String[] { input.getName(), TYPE_PROPERTY };
193 192
        //sorted list
194
        SortedList<CdmBase> sortedList = new SortedList<>(input.getModel(), new TitleCacheComparator());
193
        SortedList<CdmBase> sortedList = new SortedList<>(input.getModel(), input.getTitleComparator());
195 194
        //data provider
196 195
        BulkEditorPropertyAccessor columnPropertyAccessor = new BulkEditorPropertyAccessor(input);
197 196
        bodyDataProvider = new ListDataProvider<CdmBase>(sortedList,

Also available in: Unified diff