Skip to main content


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
Hello!

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,
Markus
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: 2163
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: https://dev.eclipse.org/svnroot/modeling/org.eclipse.gmt.epsilon/trunk/examples/org.eclipse.epsilon.eugenia.examples.friends.callegl (you'll need to check out all the org...friends.* sibling projects to get this to work)

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


Current Time: Wed Apr 24 23:13:09 GMT 2024

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

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

Back to the top