Reputation: 599
refresh on a jface tree item has paint issues. What I am trying is to refresh when a new item is added.
treeviewer.refresh(item) that item has many child items (many)
Ultimately it refreshes, however somewhere after 7-10 seconds later. How to approach to debug this paint issue ?
Upvotes: 0
Views: 385
Reputation: 1
If you use treeViewer.refresh(item, false);
then you should have some better performance. Only the labels of the new items would be looked up and updated rather than all of the children's labels.
Upvotes: 0