Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSynchronization between editors
https://www.eclipse.org/forums/index.php/mv/msg/66612/209184/#msg_209184
Originally posted by: knakov.scopeset.de
Hi,
I have 3 GMF editors with one domain model working in an RCP
application. If I open both the domain model and one of the GMF editors
and add a symbol in the diagram, the open domain model is not updated. I
have to close it and re-open to see the changes. What is the best way to
open a document (domain model or a diagram) so that all open documents
are refreshed automatically if needed?
Thanks in advance,
Kalin]]>2008-10-22T12:40:28-00:00Re: Synchronization between editors
https://www.eclipse.org/forums/index.php/mv/msg/66612/209226/#msg_209226
Looks like you need eclipse resource subsystem to get corresponding notifications.
Try generating non-RCP version and use it.
-----------------
Alex Shatalin]]>Alexander Shatalin2008-10-22T17:07:55-00:00Re: Synchronization between editors
https://www.eclipse.org/forums/index.php/mv/msg/66612/209283/#msg_209283
Originally posted by: knakov.scopeset.de
Alex Shatalin wrote:
> Hello Kalin,
>
> Looks like you need eclipse resource subsystem to get corresponding
> notifications. Try generating non-RCP version and use it.
>
> -----------------
> Alex Shatalin
>
>
Hello Alex,
Thank you very much for the response. If I use this mechanism, I can get
message box whether to reload or not the diagram whose domain model has
changed. But if one has to reload his currently edited diagram, then he
will lose his changes. Is there a better way to reload the domain model,
something like "merge the changes"?
Many thanks,
Kalin]]>2008-10-23T08:45:43-00:00Re: Synchronization between editors
https://www.eclipse.org/forums/index.php/mv/msg/66612/209298/#msg_209298
> diagram, then he will lose his changes. Is there a better way to
> reload the domain model, something like "merge the changes"?
You can share editing domain across domain and diagram editors, but this
solution has several side effects.
-----------------
Alex Shatalin]]>Alexander Shatalin2008-10-23T09:21:51-00:00