Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] EMF-VM and modelhandlers
[ATL] EMF-VM and modelhandlers [message #85280] Thu, 26 June 2008 15:33 Go to next message
Eclipse UserFriend
Originally posted by: yann-riyou.gmail.com

Hi,

I'm trying to launch a transformation in a standalone application with
the EMF-VM.
I was wondering about the modelhandlers. The only reference to them I
have seen in the EMF-VM source are commented lines.
Are the modelhandlers still used in the EMF-VM and if yes how do I use
them programmaticaly?

Regards,
Yann
Re: [ATL] EMF-VM and modelhandlers [message #89228 is a reply to message #85280] Thu, 28 August 2008 12:03 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 147
Registered: July 2009
Senior Member
Yann wrote:
> Hi,
>
> I'm trying to launch a transformation in a standalone application with
> the EMF-VM.
> I was wondering about the modelhandlers. The only reference to them I
> have seen in the EMF-VM source are commented lines.
> Are the modelhandlers still used in the EMF-VM and if yes how do I use
> them programmaticaly?
>
> Regards,
> Yann

Hi Yann,

I haven't explicitly tried it, but you should be able to use the EMF-VM
as an almost drop-in replacement for the standard VM, using the AtlVM
interface. This interface is implemented by the AtlEMFSpecificVM class.

Some example code that uses the AtlVM interface can be found here:
http://ssel.vub.ac.be/viewvc/UML2CaseStudies/uml2cs-instantm essenger-config-editor/src/be/ac/vub/uml2cs/instantmessenger /popup/actions/GenerateBuildFileAction.java?view=markup

Note that when you work outside the Eclipse environment, you have to
access the AtlEMFSpecificVM class directly instead of using AtlVM.getVM().

Regards,
Dennis
Previous Topic:Detailed UML to less Detailed UML
Next Topic:[ATL] Abstract rule : do {}
Goto Forum:
  


Current Time: Fri Apr 19 19:06:34 GMT 2024

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

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

Back to the top