|
|
|
|
Re: Custom XtextResource or URIConverter? [message #651466 is a reply to message #651418] |
Mon, 31 January 2011 09:15 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
Once again, have a look at the GMF example. We have a popup editor there
that allows to edit a section of a model textually.
Am 30.01.11 18:50, schrieb Lazar Codrut-Lucian:
> I would like to use the xText editor to edit a subelement of a model
> (For instance, Model.Package.Class).
> I want to create the Model and the structure with a different editor
> (maybe GMF), and to edit what's inside the Class with xText.
> I'm thinking of creating the xText editor by using Class as the root
> model element.
> When I press Enter on a Class inside the GMF editor, I want the xText
> editor to open so that I can edit what's inside the Class.
>
> What do you think would be the easiest way to achieve this?
> Do you think that temporary xText files are required?
> Should I try to extend XTextResource? I've also read something about an
> UriConverter.
> I would appreciate any suggestions.
>
> Thanks,
> Lucian
--
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.03348 seconds