Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsViewerRefresh delay break setting selection
https://www.eclipse.org/forums/index.php/mv/msg/1095907/1797285/#msg_1797285
I am (asynchronously) loading a resource in the editingdomain resourceset, after the editor has opened. When the resource is loaded, I set the selection on the treeviewer to the newly created resource. In EMF <2.14 this worked fine.
However, in EMF 2.14 this no longer works correctly. The new ViewerRefresh delays the refresh of the tree-viewer, as a result, the selection is set before the new tree is displayed. And setting the selection fails.
Is there a way to set the selection after the viewer is refreshed?
Best Regards,
Rolf]]>Rolf Theunissen2018-10-29T14:21:39-00:00Re: ViewerRefresh delay break setting selection
https://www.eclipse.org/forums/index.php/mv/msg/1095907/1797299/#msg_1797299
Ed Merks2018-10-29T15:54:56-00:00Re: ViewerRefresh delay break setting selection
https://www.eclipse.org/forums/index.php/mv/msg/1095907/1797363/#msg_1797363
Rolf Theunissen2018-10-30T10:40:55-00:00Re: ViewerRefresh delay break setting selection
https://www.eclipse.org/forums/index.php/mv/msg/1095907/1797373/#msg_1797373
Ed Merks2018-10-30T12:28:04-00:00