Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Sirius and Xtext
Sirius and Xtext [message #1201144] Thu, 21 November 2013 15:55 Go to next message
Jens Siebert is currently offline Jens SiebertFriend
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 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 144
Registered: July 2009
Senior Member
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.
Re: Sirus and Xtext [message #1202487 is a reply to message #1201180] Fri, 22 November 2013 06:56 Go to previous message
Jens Siebert is currently offline Jens SiebertFriend
Messages: 11
Registered: April 2010
Junior Member
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
Previous Topic:Problem with installing Sirius
Next Topic:Examples
Goto Forum:
  


Current Time: Fri Nov 28 00:49:28 GMT 2014

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

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