Diagram update after model change [message #1704916] |
Mon, 10 August 2015 13:28  |
Eclipse User |
|
|
|
I've asked similar question before, but I think this one is a bit different.
When I update my model the diagram shows the changes and red hashed border appears around the shapes and exclamation label is created for the shape where change occurred. However, the refresh icon is disabled on the shape, so I can't update it manually. If I resize the editor the red border goes away, which prompts me to believe that change is registered by editor, but it does not refresh itself?
Thanks,
Alex
|
|
|
|
|
Re: Diagram update after model change [message #1705549 is a reply to message #1705300] |
Mon, 17 August 2015 09:05  |
Eclipse User |
|
|
|
Alex,
hm, that sounds as if the editor refresh does not notice something has
changed. That might happen when something is updated that is not directly
linked to a relavant domain object. Triggering a refreshContent on the
DiagramBehavior (getDiagramBehavior on DiagramEditor) will help.
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.27336 seconds