Use Xtext Editor for a model field [message #1851043] |
Fri, 25 March 2022 10:58  |
Eclipse User |
|
|
|
Hi all!
I am writing a RCP application to create and edit some models. The metamodels are created with Ecore and I use the code generated with the related GenModel files.
I want to show a Xtext editor for a grammar that I have created, when a certain object of the model is selected and I want to save the user input as a String in an attribute of the selected object. I want to keep the user input inside the same model, not in a different file.
I have been reading documentation and googling for a week, trying with some examples, but I can't find a proper way to do such thing.
Could somebody point me in the right direction, please?
Is there any tutorial related to what I am looking for? Any code in Github that I can take a look?
Any help would be really appreciated.
Thanks in advance!
Iñaki
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03595 seconds