|Re: Integrating Xtext into GMF-based Editor [message #985931 is a reply to message #985834]
||Fri, 16 November 2012 17:52
| Jan Koehnlein
Registered: July 2009
The example is still in Xtext's git repository. Look into the examples |
folder. The Xtext documentation contains a link to it and explains the
In the meantime, Xtext ships with an EmbeddedEditor, that should make
Still, to get it running requires decent knowledge on EMF, GMF and
Xtext. In the end you might only get a partially working solution not
covering each and every usecase. This - and the assumed death of the GMF
project in former Eclipse releases - made us skip shipping the example.
Am 16.11.12 11:15, schrieb Gideon Weber:
> i'm new to xtext and i've got a problem. i'd like to integrate xtext into my GMF-based editor. i've searched a lot an found a lot, but i still don't understand how to do it. i generated an GMF editor from a ecore-model. i've attached the ecore model. i'm not exactly sure if this is correct. but Root is the Model Object. Second is a node which can be placed in the GMF diagram editor. third is a node too.
> now i want to define an attribute (expression) in Second, in which i can write a string with an Xtext editor which references the objects of Third. i created a new Xtext project from the existing ecore. but now i don't know how to combine the editors.
> i found YAKUNDA but either it's hardly described, or i don't understand it. there also was some kind of example in xtext but it was removed.
> can someone help me?
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Get professional support from the Xtext committers at www.typefox.io
Powered by FUDForum
. Page generated in 0.06785 seconds