I am developing an Eclipse RCP application, and am trying to use a ILazyTreeContentProvider
implementation in order to show only the visible items at a certain
I have compared my example with this one And I've found only one difference that made all the difference:
v.setUseHashlookup(true); //v is the TreeViewer
What the method states in its doc:
Configures whether this structured viewer uses an internal hash table to speeds up the mapping between elements and SWT items. This must be called before the viewer is given an input (via setInput).
Now the content provider is actually lazy. Only paints the visible items, not ALL of them.