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

Bug 360953

Summary: Use ECrossReferenceAdapter to find inverse cross-references
Product: [Modeling] EMFStore Reporter: Edgar Mueller <emueller>
Component: ServerCoreAssignee: Edgar Mueller <emueller>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: emueller
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Edgar Mueller CLA 2011-10-14 08:13:10 EDT
Our approach via ModelUtil.deleteIncomingCrossReferences seems to be quite slow.  One possible solution is to create an ECrossReferenceAdapter that will observe any changes regarding cross-references instead of collecting all cross-references each time ModelUtil.deleteIncomingCrossReferences is called.
Comment 1 Edgar Mueller CLA 2011-10-14 10:27:08 EDT
The ECrossReferenceAdapter is now used within the Workspace, if activated via the according extension point.