|Re: How to access EMF objects into a transaction [message #1062956 is a reply to message #1062883]
||Tue, 11 June 2013 14:18
| Jan Koehnlein
Registered: July 2009
As this is the Xtext forum, I suppose your EMF model is based on Xtext.|
As you are talking about the reconciler, I suppose your model is in an
=> you can use XtextDocument#modify() and encapsulate your changes in a
Am 11.06.13 10:58, schrieb Marco Naddeo:
> Hi all. :)
> Is there a way to execute some operations on EMF objects into a
> I worry that the operations that I do on EMF objects (for scoping,
> labeling, and so on) are interleaved with those of the reconciler, so I
> obtain some
> My fear is that the reconciler refreshes the model in another thread and
> so while I try to access it, the old model does not exist anymore (and
> so I have, for example, empty Elists).
> How can I execute my operations on EMF model into an atomic transaction?
> Thanks in advance,
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Powered by FUDForum
. Page generated in 0.03329 seconds