| [news.eclipse.modeling.gmf] Re: Update/Synchronize diagram after execute EMF operations |
Hello Josep,
No. F5 is a way to execute Canonical update for the selected diagram element (synchronize diagam element structure with an underlying domain model one).I think my problem is not a refresh one. If I'm not wrong, the handler that you suggest me as an example (F5 handler) refreshes diagrams elements, but it does not delete graphical elements, automatically,
Is it possible to do what I am trying to do?You are right - ciorresponding update should be performed by GMF-generated code automatically. We have some problems with diagram update on link rerouting/deleting, but it looks like not your case.
Are GMF bugs generating this incorrect situation?Definitely there can be some problems with diagram update, but I'd like to ensure the problem is in update process, so I suggest you pressing F5 ad debugging generated ???DiagramUpdater if F5 is not working to see if the problem is in diagram update..
No. ???CanonicalEditoPolicy classes generated for each diagram element are responsible for listening for any notifications from EMF and updating diagram in accordance.Is GMF designed to be synchronized with EMF by means of the editHelper classes and it is the "only" way to proceed?
----------------- Alex Shatalin