|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Can I open a Xtext editor for a element tree contained in another model? [message #843685 is a reply to message #840715] |
Fri, 13 April 2012 05:18  |
Eclipse User |
|
|
|
Hi,
A similar need where I need to partially edit a model as part of the tree. Used EmbeddedXtextEditor to open a partial element of the model for editing. This has been achieved as embeddedEditor.createPartialEditor("", editableText, "", true), where editable text is the partial part of the model. But my content assist & other handlers are not working correctly or as required.
I am not using text editor classes as my base class for editor class & have used form page. Let me know if I have gone down the wrong path or something else would be needed to go ahead.
Not sure whether editableText is the correct way for being the partial model as in Xtext 1.0 while integrating with GMF we used to attach with rule rather than string?
Regards
Vishal
|
|
|
Powered by
FUDForum. Page generated in 0.05629 seconds