Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Applying ATL Transformation
Applying ATL Transformation [message #75562] Thu, 28 February 2008 16:02 Go to next message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Hello,

I would like to build in another Eclipse plugin (JWT) a transformation
that uses ATL. I already have ecore and atl files, and what I want to
find is something would apply this transformation giving it atl, ecore,
input and output files.
Is there a method or a workaround that could fit to my needs in ATL?

thanks
Mickael
Re: Applying ATL Transformation [message #75579 is a reply to message #75562] Fri, 29 February 2008 18:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: matt.mcgill.gmail.com

Hi Mickael,

I'm not familiar with JWT - are you asking whether JWT supports ATL transformations, or are you trying to
add support yourself (i.e. writing your own Eclipse plugin code or modifying existing plugin code)?

-Matt McGill

Mickael Istria wrote:
> Hello,
>
> I would like to build in another Eclipse plugin (JWT) a transformation
> that uses ATL. I already have ecore and atl files, and what I want to
> find is something would apply this transformation giving it atl, ecore,
> input and output files.
> Is there a method or a workaround that could fit to my needs in ATL?
>
> thanks
> Mickael
Re: Applying ATL Transformation [message #75595 is a reply to message #75579] Mon, 03 March 2008 08:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mickael.istria.openwide.fr

Hi,

In fact, a JWT contributor (Stephane Drapeau, who might have one day
posted on this mailing list), has implemented an ATL transformation from
JWT internal format to BPMN.
But my question is more general.

What I would like to do is to include this transformation into JWT. Thus
I would like to know what is the way to launch an ATL transformation
from a plugin.
For example, put a toolbar button called "Export to BPMN", add an
handler on this button that would call Stephane's transformation. What
code should the handler contain to effectively launch the ATL
transformation?

Mickael

Matt McGill a écrit :
> Hi Mickael,
>
> I'm not familiar with JWT - are you asking whether JWT supports ATL
> transformations, or are you trying to
> add support yourself (i.e. writing your own Eclipse plugin code or
> modifying existing plugin code)?
>
> -Matt McGill
>
> Mickael Istria wrote:
>> Hello,
>>
>> I would like to build in another Eclipse plugin (JWT) a transformation
>> that uses ATL. I already have ecore and atl files, and what I want to
>> find is something would apply this transformation giving it atl,
>> ecore, input and output files.
>> Is there a method or a workaround that could fit to my needs in ATL?
>>
>> thanks
>> Mickael
Re: Applying ATL Transformation [message #75628 is a reply to message #75595] Mon, 03 March 2008 09:17 Go to previous message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

Hi,

Here is a concrete example of how to launch a transformation
programmatically (see the source code of this AM3 plugin):
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gmt/AM3 /plugins/org.eclipse.gmt.am3.extractor.launchers/?root=Techn ology_Project

There is also a short ATL Wiki section presenting some general
solutions:
http://wiki.eclipse.org/ATL_Howtos#How_do_I_launch_transform ations_programmatically.3F

Best regards,

Hugo

Mickael Istria a écrit :
> Hi,
>
> In fact, a JWT contributor (Stephane Drapeau, who might have one day
> posted on this mailing list), has implemented an ATL transformation from
> JWT internal format to BPMN.
> But my question is more general.
>
> What I would like to do is to include this transformation into JWT. Thus
> I would like to know what is the way to launch an ATL transformation
> from a plugin.
> For example, put a toolbar button called "Export to BPMN", add an
> handler on this button that would call Stephane's transformation. What
> code should the handler contain to effectively launch the ATL
> transformation?
>
> Mickael
>
> Matt McGill a écrit :
>> Hi Mickael,
>>
>> I'm not familiar with JWT - are you asking whether JWT supports ATL
>> transformations, or are you trying to
>> add support yourself (i.e. writing your own Eclipse plugin code or
>> modifying existing plugin code)?
>>
>> -Matt McGill
>>
>> Mickael Istria wrote:
>>> Hello,
>>>
>>> I would like to build in another Eclipse plugin (JWT) a
>>> transformation that uses ATL. I already have ecore and atl files, and
>>> what I want to find is something would apply this transformation
>>> giving it atl, ecore, input and output files.
>>> Is there a method or a workaround that could fit to my needs in ATL?
>>>
>>> thanks
>>> Mickael


--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
Previous Topic:Transform models independently of their corresponding metamodels
Next Topic:[ATL] NPE at org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModel.loadASMEMFModel(ASMEMFModel.java:320)
Goto Forum:
  


Current Time: Tue Oct 22 08:38:32 GMT 2019

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

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

Back to the top