Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] How to trigger ATL execution in popup menu
[ATL] How to trigger ATL execution in popup menu [message #521806] Thu, 18 March 2010 18:45 Go to next message
Yu Sun is currently offline Yu SunFriend
Messages: 58
Registered: July 2009
Member
Hi everyone,

I already have a ATL transformation and it works well.

Now I need to build a popup menu for a GMF project and trigger the ATL transformation in the right-click menu.

I only know how to build the popup menu through the Eclipse extension mechanism, but I am not clear about how to actually trigger and execute the ATL in the handler in Java.

Any advice?

Thanks a lot.

Yu
Re: [ATL] How to trigger ATL execution in popup menu [message #521885 is a reply to message #521806] Fri, 19 March 2010 07:29 Go to previous message
William Piers is currently offline William PiersFriend
Messages: 301
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050802080507000800060101
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hello,

The ATL public2private example is an example of launch by popup. You can
access it via new->example->ATL->public2private.
The ...public2private.ui contains the code you're interested in.

Regards,

William

Le 18/03/2010 19:45, Yu Sun a écrit :
> Hi everyone,
>
> I already have a ATL transformation and it works well.
>
> Now I need to build a popup menu for a GMF project and trigger the ATL
> transformation in the right-click menu.
>
> I only know how to build the popup menu through the Eclipse extension
> mechanism, but I am not clear about how to actually trigger and execute
> the ATL in the handler in Java.
>
> Any advice?
>
> Thanks a lot.
>
> Yu

--
Ne manquez pas notre prochaine formation ATL inter entreprises:
ATL - Paris - du 14 au 15 avril 2010
Pour plus de dates et pour le détail de cette formation:
http://www.obeo.fr/pages/formations/fr

Don't forget our next ATL training:
ATL - Paris - 2010 April from 14th to 15th
More dates and training program on:
http://www.obeo.fr/pages/formations/fr

--------------050802080507000800060101
Content-Type: text/x-vcard; charset=utf-8;
name="william_piers.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="william_piers.vcf"

YmVnaW46dmNhcmQNCmZuOldpbGxpYW0gUGllcnMNCm46UGllcnM7V2lsbGlh bQ0Kb3JnOk9i
ZW8NCmFkcjoyIHJ1ZSBSb2JlcnQgU2NodW1hbm47O2xvdCAyNDtOQU5URVM7 OzQ0NDA4O0Zy
YW5jZQ0KZW1haWw7aW50ZXJuZXQ6d2lsbGlhbS5waWVyc0BvYmVvLmZyDQp0 aXRsZTpNREEg
Q29uc3VsdGFudA0KdGVsO3dvcms6KzMzICgwKTIgNTEgMTMgNTAgNTMNCnVy bDpodHRwOi8v
d3d3Lm9iZW8uZnINCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQNCg0K
--------------050802080507000800060101--
Previous Topic:[QVTO] Blackbox library inclusion problem
Next Topic:[ATL] File Path Problem
Goto Forum:
  


Current Time: Thu Apr 25 06:29:13 GMT 2024

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

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

Back to the top