Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330904

Summary: Add methods to set oldPosition & newPosition for CDOMoveFeatureDelta
Product: [Modeling] EMF Reporter: Pascal Lehmann <pascal.lehmann>
Component: cdo.coreAssignee: Pascal Lehmann <pascal.lehmann>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3 Flags: stepper: review+
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch v1 none

Description Pascal Lehmann CLA 2010-11-23 06:39:40 EST
Currently there are no methods to directly set the old & new Position of a CDOMoveFeatureDelta without creating a new Instance holding the old & new position.

Setting the position might be needed in case of ConflictResolving / Merging, more generally when CDOFeature deltas are added / removed to an already existing list of CDOFeatureDeltas on the same ListFeature.

This will also help to keep CDOFeatureDeltas instance-equal when comparing CDOFeatureDeltas (also see Bug #330903).
Comment 1 Pascal Lehmann CLA 2010-11-23 06:40:45 EST
Created attachment 183659 [details]
Patch v1

Added methods to set the old and new position on CDOMoveFeatureDelta.
Comment 2 Pascal Lehmann CLA 2010-11-29 06:48:05 EST
Committed Patch v1 to HEAD.
Comment 3 Eike Stepper CLA 2011-06-23 03:42:19 EDT
Available in R20110608-1407