Project

General

Profile

« Previous | Next » 

Revision 8ccf2acc

Added by Katja Luther about 6 years ago

improve deduplication handling and saving in bulkeditor

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorE4.java
61 61
import eu.etaxonomy.taxeditor.model.IPartContentHasMedia;
62 62
import eu.etaxonomy.taxeditor.model.IPartContentHasSupplementalData;
63 63
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
64
import eu.etaxonomy.taxeditor.store.CdmStore;
65 64
import eu.etaxonomy.taxeditor.workbench.part.IE4SavablePart;
66 65

  
67 66
/**
......
249 248
	    Object object = viewer.getInput();
250 249
	    List<CdmBase> saveCandidates = getEditorInput().getSaveCandidates();
251 250

  
252
	    if (!saveCandidates.isEmpty()){
253
	        CdmStore.getService(saveCandidates.get(0)).merge(saveCandidates, true);
254
	    }
251

  
255 252
        dirty.setDirty(false);
256 253
        getEditorInput().resetSaveCandidates();
257 254

  

Also available in: Unified diff