|
Re: Update the node model (INode) xText [message #1785419 is a reply to message #1785311] |
Fri, 13 April 2018 15:24 |
|
If you have both an Xtext editor and a Sirius editor opened at the same time on "the same" Xtext model, each editor has its own version of the model in memory. A change made on one copy will not be available immediately and automatically on the other.
If you make a change on the Xtext side, until it is saved it only exist in the memory of the Xtext editor and Sirius can not know about it. When you save the Xtext file, if Sirius has an opened session with that file loaded it will detect the file has changed on disk and automatically reload it so the change is visible inside the session (if you have Sirius representations opened at the time of reload, they will be refreshed automatically, at least when using the default settings).
If you make a model change in the context of Sirius, the change will only be visible on disk after the session is saved. Whether or not the file change is seen by your Xtext editor is more of an Xtext question.
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03935 seconds