Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 132879 - The Notation Metamodel should change the way that it registers its older namespace URIs
Summary: The Notation Metamodel should change the way that it registers its older name...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: Notation (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P1 major
Target Milestone: ---   Edit
Assignee: Mohammed Mostafa CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-22 13:50 EST by Chris McGee CLA
Modified: 2020-02-18 06:11 EST (History)
2 users (show)

See Also:


Attachments
Proposed patch to fix the problem. (5.42 KB, patch)
2006-03-22 13:53 EST, Chris McGee CLA
ahunter.eclipse: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris McGee CLA 2006-03-22 13:50:00 EST
The way that the notational metamodel is handling loading older resources created from older versions of its metamodel is that it registers the same notation EPackage multiple times against the EMF global package registry multiple times with different namespace URIs (nsURIs). This causes problems for clients that wish to save back with the old nsURI in some cases.
Comment 1 Chris McGee CLA 2006-03-22 13:53:34 EST
Created attachment 36759 [details]
Proposed patch to fix the problem.

This patch adds a new NotationExtendedMetaData class that can be used to help clients load their older diagrams. Also, the DiagramIOUtil has been upgraded to use this extended metadata so it should be transparent to any clients using this Util.
Comment 2 Mohammed Mostafa CLA 2006-03-23 19:02:28 EST
Fixed
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:28:21 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug