I'm trying to update the input of JFace TreeViwer periodically using setInput()
method. Also I use the
viewer.setExpandedElements(expandedElements);
viewer.setExpandedTreePaths(expandedTreePaths);
methods to save the state of the tree. But after each setInput()
call the TreeViewer flickers. How can avoid from flickering ?