Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Process in-memory EMF model
Process in-memory EMF model [message #683925] Tue, 14 June 2011 16:54 Go to next message
Markus Krallinger is currently offline Markus KrallingerFriend
Messages: 1
Registered: June 2011
Junior Member

I have my models defined in XText, after reading them from the HD they are stored as normal EMF models. In the next processing step I want to analyse them using EOL programmatically.
How can this be done, since I can just execute EOL on something derived from IModel? In the worst case, I would have to read the model again from the harddisk or implement the whole IModel interface. Are there any other suggestions?

Thanks for the help!

Best regards,
Re: Process in-memory EMF model [message #684445 is a reply to message #683925] Wed, 15 June 2011 15:18 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 1520
Registered: July 2009
Location: York, UK
Senior Member

Hi Markus,

You can use an InMemoryEmfModel to wrap an existing EMF resource. An example that shows how to do this is available here: (you'll need to check out all the org...friends.* sibling projects to get this to work)

Previous Topic:[Eugenia] FixGMFGen and nullpointerexception
Next Topic:(no subject)
Goto Forum:

Current Time: Wed Apr 25 14:46:49 GMT 2018

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

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