|Optimize TreeViewer refresh() [message #557513]
||Tue, 07 September 2010 18:11
Registered: August 2010
I have a JFace TreeViewer that displays a lot of elements (2000 or so) directly depending on the root. I want to be able to add a new child to the root, and move approximately 100 elements from the root to this new child. It takes several seconds for the treeViewer to refresh, using the refresh(false) method.
Is there an efficient way to refresh the tree using MVC or should I use the underlying SWT class? In this case, is it safe to make modifications mixing MVC mechanisms and direct accesses to the SWT class?
Any help would be nice.
Powered by FUDForum
. Page generated in 0.03070 seconds