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

Bug 324694

Summary: EMFCoreUtil#getProxyName method should use the right ResourceFactoryRegistry
Product: [Modeling] GMF-Runtime Reporter: Anthony Hunter <ahunter.eclipse>
Component: GeneralAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aboyko, dmisic, gsturov
Version: 1.4.0Flags: aboyko: review+
Target Milestone: 1.4.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch to fix the issue. none

Description Anthony Hunter CLA 2010-09-07 16:16:48 EDT
From Gleb:

EMFCoreUtil#getProxyName currently uses the default ResourceFactoryRegistry but it should first try to use the one customized by the client and attached to the ResourceSet.
Comment 1 Anthony Hunter CLA 2010-09-07 16:19:13 EDT
Created attachment 178357 [details]
Patch to fix the issue.
Comment 2 Anthony Hunter CLA 2010-09-07 16:20:31 EDT
Hi Alex, can you review Gleb's patch? Looks fine to me but does not hurt to verify.
Comment 3 Alex Boyko CLA 2010-09-07 16:48:36 EDT
Looks good.
Comment 4 Anthony Hunter CLA 2010-09-09 11:23:53 EDT
Committed to HEAD and R1_4_maintenance.