Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [acceleo] and [cdo] How does I open my model(Is it possible to use a model stored in a cdo repository. If the response is yes, how I do it?)
[acceleo] and [cdo] How does I open my model [message #1693710] Mon, 27 April 2015 18:45 Go to next message
Martin Paquin is currently offline Martin PaquinFriend
Messages: 21
Registered: July 2014
Junior Member
Is it possible to use a model in a cdo repository with Acceleo. And if it is possible how I do it?

Martin

[Updated on: Thu, 30 April 2015 12:46]

Report message to a moderator

Re: [acceleo] and [cdo] How does I open my model [message #1698388 is a reply to message #1693710] Mon, 15 June 2015 08:55 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 450
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

Acceleo can load your model "for your" using the regular mechanisms of EMF but you can also load your model manually and give it to Acceleo. Have a look at the two constructors of your Java launcher. One of them can receive an EObject, you just have to load your model by "yourself".

Regards,

Stephane B├ęgaudeau, Obeo



Previous Topic:XTend + artop combined sdk
Next Topic:[XPAND]Unkown type while accessing multiple models
Goto Forum:
  


Current Time: Thu Apr 26 21:33:45 GMT 2018

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

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