Refreshing Tree Viewer [message #452667] |
Wed, 12 July 2006 05:06 |
Eclipse User |
|
|
|
Originally posted by: Ravikala.kulal.gmail.com
Hi,
I have got v.strange problem in Tree Viewer.
When I apply refresh on Tree viwer with selection of one tree node,it
takes quite a long time and if I do same refresh without selecting a node
it performs within a fraction of second.
Only I could see the difference is in the first case StructuredViewer
class calls "handleInvalidSelection(ISelection invalidSelection,
ISelection newSelection)" of preservingSelection(Runnable updateCode) and
other case it won't.
And even I coudn't get the functionality of preservingSelection().
Is it for preserving the state of selection was there before to the after
refresh?But I coudn't find the same selection after refresh()--its not
select any of the node.
Thaks and Regards.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04815 seconds