Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Provide OVT editor with custom EPackageRegistry
Provide OVT editor with custom EPackageRegistry [message #640973] Tue, 23 November 2010 17:44 Go to next message
Christian Saad is currently offline Christian SaadFriend
Messages: 38
Registered: July 2009
Member
Hi,

I'm dynamically generating input for a QvtEditor and therefore need to (programmatically) provide it with a custom EPackage.Registry. I tried to register the required packages beforehand in the main instance, but it seems that the editor is making it's own copy at some time which doesn't consider the additional packages. Is there some way to force the editor to use a custom registry?

Regards,
Chris
Re: Provide OVT editor with custom EPackageRegistry [message #641134 is a reply to message #640973] Wed, 24 November 2010 11:20 Go to previous message
Christian Saad is currently offline Christian SaadFriend
Messages: 38
Registered: July 2009
Member
Nevermind, I think I solved it by adding the packages to MetamodelRegistry.getInstance()
Previous Topic:[QVTo] Getting started with QVT
Next Topic:refining mode programmatocally
Goto Forum:
  


Current Time: Sun Dec 21 18:13:11 GMT 2014

Powered by FUDForum. Page generated in 0.01642 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software