Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Synchronization between editors
Synchronization between editors [message #209184] Wed, 22 October 2008 12:40 Go to next message
Eclipse UserFriend
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
Re: Synchronization between editors [message #209226 is a reply to message #209184] Wed, 22 October 2008 17:07 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Kalin,

Looks like you need eclipse resource subsystem to get corresponding notifications.
Try generating non-RCP version and use it.

-----------------
Alex Shatalin
Re: Synchronization between editors [message #209283 is a reply to message #209226] Thu, 23 October 2008 08:45 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Synchronization between editors [message #209298 is a reply to message #209283] Thu, 23 October 2008 09:21 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Kalin,

> 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
Previous Topic:Remove cut/copy/paste from Popup
Next Topic:start & end point of edge
Goto Forum:
  


Current Time: Thu Apr 25 14:13:37 GMT 2024

Powered by FUDForum. Page generated in 0.02918 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top