Sirius and Xtext [message #1201144] |
Thu, 21 November 2013 15:55 |
Jens Siebert Messages: 11 Registered: April 2010 |
Junior Member |
|
|
Dear all,
I'm looking for a way to integrate Sirius into an existing Xtext project. As I've learned from the articel "Principles of Sirus" in the latest Eclipse Newsletter there already is some kind of integration between Sirius and Xtext. The question is: How can I use this integration? Is there some kind of document or tutorial on this topic?
Thanks in advance,
Jens
[Updated on: Thu, 21 November 2013 15:55] Report message to a moderator
|
|
|
Re: Sirus and Xtext [message #1201180 is a reply to message #1201144] |
Thu, 21 November 2013 16:15 |
|
Le 21/11/2013 16:55, Jens Siebert a écrit :
> Dear all,
Hi.
> I'm looking for a way to integrate Sirius into an existing Xtext
> project. As I've learned from the articel
> "http://www.eclipse.org/community/eclipse_newsletter/2013/november/article3.php"
> in the latest Eclipse Newsletter there already is some kind of
> integration between Sirius and Xtext. The question is: How can I use
> this integration? Is there some kind of document or tutorial on this topic?
The short answer is that Sirius does not really care how your model is
serialized: it can be XMI, some XSD Schema or Xtext-based textual
grammar, as long as it can be loaded in memory as a EMF model, it should
work.
One caveat is that Xtext requires a special implementation of the
ResourceSet EMF interface to work, which is different from the one
Sirius uses by default. However the org.eclipse.sirius.common.xtext
plug-in provides the necessary glue: if you have it installed, Xtext
models should be loaded transparently by Sirius like any other EMF model.
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.02801 seconds