|ViewerRefresh delay break setting selection [message #1797285]
||Mon, 29 October 2018 14:21
| Rolf Theunissen
Registered: April 2012
In a editor, for the selectionViewer I use the AdapterFactoryContentProvider as a content provider.|
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?
[Updated on: Mon, 29 October 2018 14:26]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01658 seconds