Revision 5cfc8708
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AbstractBulkEditorInput.java | ||
---|---|---|
32 | 32 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityPersistenceService; |
33 | 33 |
import eu.etaxonomy.taxeditor.bulkeditor.BulkEditorQuery; |
34 | 34 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorSortProvider; |
35 |
import eu.etaxonomy.taxeditor.bulkeditor.e4.AnnotatedTableItem; |
|
35 | 36 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.CdmBaseSortProvider; |
36 | 37 |
import eu.etaxonomy.taxeditor.bulkeditor.input.sortprovider.TitleCacheComparator; |
37 | 38 |
import eu.etaxonomy.taxeditor.bulkeditor.internal.TaxeditorBulkeditorPlugin; |
... | ... | |
222 | 223 |
return model; |
223 | 224 |
} |
224 | 225 |
|
226 |
public List<AnnotatedTableItem<T>> getWrappedModel() { |
|
227 |
List<AnnotatedTableItem<T>> wrappetItems = new ArrayList<>(); |
|
228 |
for(T t:model){ |
|
229 |
wrappetItems.add(new AnnotatedTableItem<T>(t)); |
|
230 |
} |
|
231 |
return wrappetItems; |
|
232 |
} |
|
233 |
|
|
225 | 234 |
protected boolean replaceInModel(T entity) { |
226 | 235 |
int index = model.indexOf(entity); |
227 | 236 |
if(index >= 0) { |
Also available in: Unified diff
ref #6932 Migrate bulk editor handlers and add annotation merge support