|
Re: DiagramEditor refresh behaviour [message #1092909 is a reply to message #1087271] |
Fri, 23 August 2013 10:09 |
Felix Velasco Messages: 43 Registered: July 2009 |
Member |
|
|
The refreshJob is launched by the platform as a response to the changes in the model (see DiagramChangeListener), so, yes, its periodical running is the result of launching CustomFeature after CustomFeature.
To prevent the ConcurrentModificacionException, you could try launching the CustomFeature in the UIThread (Display.syncExec).
Regarding your control of the refresh job, well, the answer is yes and no. No, you can't turn off automatic refresh (at least not easily), but yes you can control it, since it's running because of your changes.
All in all, the biggest problem with the animation is that your command stack will become polluted with all the small changes you are adding, and there's no way around that.
|
|
|
Powered by
FUDForum. Page generated in 0.02558 seconds