Community
Participate
Working Groups
Created attachment 85191 [details] initial source contribution Build ID: I20070621-1340 Steps To Reproduce: Ecore Registration view ==================== Ecore modeling tools would take advantage in having a view that eases the understanding and use of the EPackage Registry in the context of Ecore models. Main reasons are : Ecore Models can be registred from generated java code in a deployed plugin Ecore Models can be programmatically registered from an ecore file for a use of EMF in a reflective mode (usually done by tool providers and very useful while developing an ecore file) While developing code for ecore, we may need to use EPackage from either a registered EPackage (via its nsuri) or from an ecore file in a plugin (ex: platform:/plugin/foo/models/myecore.ecore) but the mix of both methods may lead to miscomprehension of the developers and buggy code. The view should help to understand what is available in the current context. For that reasons I would like to propose an Ecore Registration feature and its initial code contribution. This Ecore Registration integration would ease Ecore modeling/diagraming user experience by allowing to understand the underlying mecanism and helps the rapid prototyping and testing of ecore files. Ecore Registration Features: - Dedicated view that displays the content of the Registry. It gives useful information about the origin of the given nsuri and its associated EPackage - Various popup actions allowing to manually register an ecore file or unregister it, copy of the nsruri as a string (in order to easily paste it in some text/program) Related discussion thread : http://dev.eclipse.org/newslists/news.eclipse.technology.emft/msg03660.html Initial Contribution ==================== As part of the RFE I would like to propose an initial code contribution. This contribution is a draft, subject to rework depending on further discussions on that topics. These features and the corresponding code are published under Eclipse Public License. copyright : "Copyright (c) 2007 INRIA. All rights reserved." More information:
Created attachment 88008 [details] modification to the initial contribution Replacement of the initial contribution fix an IP problem : removed use of log4j
Created attachment 88019 [details] 2nd modification to the initial contribution as suggested by Jacques : with corrected header with some classes put as internal with more javadoc
Didier, the log4j library seems to be still present in your last contribution ... are you authorized to mark old attachments as "obsolete" ? David, can you assign me on this bug ?
Created attachment 88256 [details] last modifications on the initial contribution Here is the last modifications (remove the log4j library and add missing comments) of the initial contribution made by INRIA team.
The View has been committed into CVS regarding to the CQ 2036.
[contrib email="dvojtise@irisa.fr"/]