Skip to main content



      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 04:30 Go to next message
Eclipse UserFriend
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 04:42 Go to previous message
Eclipse UserFriend
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 Apr 27 00:43:27 EDT 2025

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

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

Back to the top