Project

General

Profile

Revision a9fcc7a1

IDa9fcc7a152deeabdc04f16b205978e9e3f87490b
Parent ba5f20eb
Child 0eaf479c

Added by Katja Luther over 3 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

Add picture from clipboard (Maximum size: 40 MB)