|Re: TreeViewer::setInput() -> UI timeout [message #1397093 is a reply to message #1396678]
||Wed, 09 July 2014 07:31
| Hussein MHANNA
Registered: February 2014
If you haven't a very big model, then please check your ContentProvider because the result you get is strange.
And if you have a very big model, then you can use the stlye SWT.VIRTUAL with your TableViewer. See the example here.
If you have only one element that must be updated, then you can use the update method (update(Object element, String properties)) by passing the model object as the first parameter and null as the second parameter.
Powered by FUDForum
. Page generated in 0.02021 seconds