Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360953 - Use ECrossReferenceAdapter to find inverse cross-references
Summary: Use ECrossReferenceAdapter to find inverse cross-references
Status: RESOLVED FIXED
Alias: None
Product: EMFStore
Classification: Modeling
Component: ServerCore (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Edgar Mueller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 08:13 EDT by Edgar Mueller CLA
Modified: 2011-10-14 10:27 EDT (History)
1 user (show)

See Also:


Attachments

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