|
|
|
|
|
|
|
|
Re: xtext parser node [message #639872 is a reply to message #639462] |
Thu, 18 November 2010 08:42 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
The node model is created by the (partial) parser only, So you have to
serialize and reparse after the the model change. For your convenience,
this functionality is bundled in the IDocumentEditor.
Am 16.11.10 17:28, schrieb sungam:
> Thanks for the pointer.
>
> I do not update the model from the editor/ui module, but rather to do
> some code generation.
>
> What I really need is, if sometimes there are missing links, for
> elements modeled as cross-references,I need a way to determine what the
> ID of the missing cross reference is.
> Well theres the NodeUtil to get the node adapter that leads me to the
> composite node. But having recreated a new EObject, that is no longer
> accessible.
--
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.04444 seconds