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 12:44 Go to next message
Christian Saad is currently offline Christian Saad
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 06:20 Go to previous message
Christian Saad is currently offline Christian Saad
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: Wed Apr 16 16:14:22 EDT 2014

Powered by FUDForum. Page generated in 0.01958 seconds