Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Partial instance conversion between EMF<->Xtext(Converting EMF objects to Xtext, modify them, and then transform back)
Partial instance conversion between EMF<->Xtext [message #1849394] Mon, 17 January 2022 09:30 Go to next message
Robert Schulk is currently offline Robert SchulkFriend
Messages: 136
Registered: July 2015
Senior Member
Is there any recommended way to perform a partial transformation from EMF->Xtext->EMF?

The first step from EMF->Xtext is trivial. But the second one from (partial)Xtext->EMF seems difficult.

My use-case is the following: we have multiple views on a model. One is an Xtext editor, and a second one is a custom UI which operates on EMF objects. Some content of the model is very hard to edit outside of Xtext, so we would like to not implement a custom UI for that specific object.

I already found something that looks like what we need: the "Popup Xtext Editor" mentioned on this site: https://www.eclipse.org/Xtext/documentation/308_emf_integration.html But it is quite old and I would like to make sure that this is still possible and there are no better ways to do it yet.
Re: Partial instance conversion between EMF<->Xtext [message #1849395 is a reply to message #1849394] Mon, 17 January 2022 09:42 Go to previous message
Tamas Miklossy is currently offline Tamas MiklossyFriend
Messages: 145
Registered: February 2016
Senior Member
Hello Robert,

You may take a look at the Xtext-Sirius Integration (e.g. from Altran : https://altran-mde.github.io/xtext-sirius-integration.io/userguide/index.html), there could be some information that helps you further.

Hope that helps,
Tamás
Previous Topic:XText model to XMI model
Next Topic:Position of Comments in a Line
Goto Forum:
  


Current Time: Sun Sep 25 08:10:41 GMT 2022

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

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

Back to the top