Sirius and Xtext [message #1201144] |
Thu, 21 November 2013 10:55  |
Eclipse User |
|
|
|
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 10:55] by Moderator
|
|
|
|
Re: Sirus and Xtext [message #1202487 is a reply to message #1201180] |
Fri, 22 November 2013 01:56  |
Eclipse User |
|
|
|
Pierre-Charles David wrote on Thu, 21 November 2013 11:15
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.
Thanks for your reply and the information you provided!
Best regards,
Jens
|
|
|
Powered by
FUDForum. Page generated in 0.03739 seconds