Bug 238777 - URI deresolving in GMFHelper
Summary: URI deresolving in GMFHelper
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal
Target Milestone: ---   Edit
Assignee: GMF Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 08:43 EDT by Yury Chernikov CLA
Modified: 2010-07-19 12:24 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 Yury Chernikov CLA 2008-06-27 08:43:34 EDT
Build ID: I20080617-2000

org.eclipse.gmf.runtime.emf.core.resources.GMFHelper override 'deresolve' method from XMIHelper:
as result reference on element from another package saves as absolute - it is wrong way!

For example:
Create /a/a.ecore with Class A and /b/b.ecore with Class B.
Class A extends Class B. Create Shortcut in a.ecore_diagram on Class B. Deploy models.
Try to open diagram for platform:/plugin/a/a.ecore_diagram resource.
Class A extends Class B (with URI platform:/plugin/b/b.ecore#//B), but diagram contains shortcut for platform:/resource/b/b.ecore#//B. As result class A has not Generalization link to shortcut.
Comment 1 Eclipse Webmaster CLA 2010-07-19 12:24:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime EMF was the original product and component for this bug