Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » SYNC Between SIRIUS AND Xtext editor(SYNC Between SIRIUS AND Xtext editor)
SYNC Between SIRIUS AND Xtext editor [message #1803848] Tue, 12 March 2019 12:20 Go to next message
Sharmila D is currently offline Sharmila DFriend
Messages: 81
Registered: June 2018

Iam using my own resource which is not of type XMI Resource.If I create Eobjects in Sirius diagram editor it is reflecting in Xtext editor but vice versa is not working .If I try to edit in Xtext editor Sirius diagram is lost. I feel my diagram is lost due to resource.

could anyone please help me in this.

Re: SYNC Between SIRIUS AND Xtext editor [message #1804384 is a reply to message #1803848] Mon, 25 March 2019 09:26 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 482
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Sharmila,

Your diagram is lost because when you save your Xtext editor, it triggers a reload of the resouce by Sirius, by default Xtext recreates a new model graph and the object instances you saw on your diagram are replaced but not known by your editor. If you refresh your representation, regarding how you wrote the semantic candidates expression of your mapping, the new elements might be retrieved but the layout willbe lost, as it will recreate new graphical objects.

Did you look to the following resources:

- White Paper on Sirius nad Xtext:
- Integrating Xtext and Sirius: Strategies and Pitfalls:
- Xtext Editors within Sirius Diagrams the Best of both Worlds!

There are differents strategies one of them could be to have an embedded editor (like proposed in


Maxime Porhel - Obeo

Need training or professional services for Sirius?

Join the Sirius community at SiriusCon. Register for free: Nov. 9th Paris
Previous Topic:Sirius to UML Designer
Next Topic:Diagramm for XText-Model: Load Model too slow
Goto Forum:

Current Time: Wed Jun 03 04:20:20 GMT 2020

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

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

Back to the top