Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330904 - Add methods to set oldPosition & newPosition for CDOMoveFeatureDelta
Summary: Add methods to set oldPosition & newPosition for CDOMoveFeatureDelta
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Pascal Lehmann CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 06:39 EST by Pascal Lehmann CLA
Modified: 2011-06-23 03:42 EDT (History)
0 users

See Also:
stepper: review+


Attachments
Patch v1 (2.44 KB, patch)
2010-11-23 06:40 EST, Pascal Lehmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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