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

Bug 323400

Summary: DestroyElementCommand only tries to use the GMF cross referencer
Product: [Modeling] GMF-Runtime Reporter: Mathieu Velten <mathieu.velten>
Component: GeneralAssignee: Project Inbox <gmf-runtime-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch v1 none

Description Mathieu Velten CLA 2010-08-23 11:18:46 EDT
Build Identifier: 

in the tearDownIncomingReferences of DestroyElementCommand, cross references are correctly retrieved only if the GMF cross referencer is available on the EObject.
After a model reload, this cross referencer can be unavailable on model elements that don't have a matching notation element.

The provided patch uses any cross referencer available to retrieve the references.

Reproducible: Always
Comment 1 Mathieu Velten CLA 2010-08-23 11:20:13 EDT
Created attachment 177230 [details]
patch v1