Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] Invoking transformations programatically from another plugin
[QVTO] Invoking transformations programatically from another plugin [message #78190] Thu, 03 April 2008 07:13 Go to next message
Juan Cadavid is currently offline Juan CadavidFriend
Messages: 59
Registered: July 2009
Location: Paris, France
Member

Hey guys, I'm doing an integration of plug-ins involving several model
editors, to enable the end user run the transformations (defined by me)
after creating their own models. I have tested my QVTO transformation and
I think it's ready to go. The question is, how can I invoke this
transformation from my plug-in? I guess I have to define some dependencies
on your plug-ins and declare some extensions, but I don't know which ones.
Can you illustrate on this please?

Thanks a lot!!

-Juan
Re: [QVTO] Invoking transformations programatically from another plugin [message #78224 is a reply to message #78190] Thu, 03 April 2008 13:52 Go to previous messageGo to next message
Sergey Boyko is currently offline Sergey BoykoFriend
Messages: 171
Registered: July 2009
Senior Member
Hi Juan,

You can use
org.eclipse.m2m.qvt.oml.runtime.util.QvtoTransformationHelpe r utility
class to invoke transformation script. It's executeTransformation()
method do the job.
Helper allows to execute either workspace URI (platform:/resource/) or
platform one (platform:/plugin/) for deployed scripts.

Regards,
Sergey.

Juan Jose Cadavid G wrote:
> Hey guys, I'm doing an integration of plug-ins involving several model
> editors, to enable the end user run the transformations (defined by me)
> after creating their own models. I have tested my QVTO transformation
> and I think it's ready to go. The question is, how can I invoke this
> transformation from my plug-in? I guess I have to define some
> dependencies on your plug-ins and declare some extensions, but I don't
> know which ones. Can you illustrate on this please?
>
> Thanks a lot!!
>
> -Juan
>
Re: [QVTO] Invoking transformations programatically from another plugin [message #78400 is a reply to message #78224] Sun, 06 April 2008 06:01 Go to previous message
Juan Cadavid is currently offline Juan CadavidFriend
Messages: 59
Registered: July 2009
Location: Paris, France
Member

I'm very thankful with you guys!

-Juan
Previous Topic:[AM3][ATL] Experiences getting ATL/AM3/TCS running from CVS
Next Topic:[QVTO] (3.4M6) modeltype fails to resolve file protocol
Goto Forum:
  


Current Time: Sun Oct 20 18:53:50 GMT 2019

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

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

Back to the top