Community
Participate
Working Groups
Created attachment 149500 [details] org.eclipse.gmt.modisco.common.core patch Hi, You can find in the attachments a patch for the org.eclipse.gmt.modisco.common.core plug-in. This patch contains a class named AbstractMoDiscoCatalog. This class results from the factorization of the code that is used to implements the query and uiCustom catalogs. Now to implement a catalog we just have to write an AbstractMoDiscoCatalog sub class and to implement a few abstract methods. The class EcoreCatalog is an example of the AbstractMoDiscoCatalog use. This catalog contains the reference to the ecore file stored in the MoDisco projects. Those ecore files will be hot loaded to be usable without installing a generated plug-in. The other main class of this patch is the MoDiscoResourceSet class, which is a sub class of ResourceSetImpl. This class provides a singleton to be sure that all the EMF resources used by MoDisco are stored in the same ResourceSet. The MoDiscoResourceSet class also provides a new method: public Resource getResource(URI, IMoDiscoResourceListener). The class is used to load or get a resource and get feed back about its reload. The IMoDiscoResourceListener instance passed in the second parameter will be notified when the resource will re reloaded. Regards, Grégoire
Hi Gregoire, Thanks for continuously upgrading your previous contribution. I will test your patch as soon as possible. Regards, Hugo
I confirm that 1. I, DUPE Grégoire, and others contributors listed in this bug, authored 100% of the content 2. I have the rights to donate the content to Eclipse under the EPL 3. I have already provided the filled Employer Consent Forms to the Foundation Grégoire DUPE.
Patch successfully integrated!
Hi, I’ve created a CQ for this bug: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=4530 Regards, Gregoire Dupe