Community
Participate
Working Groups
I am using a tree viewer whose model can have many thousand elements whith multiple levels. When a new top level element is added to the content provider model I want to tell the viewer to only refresh this top level element. The add() method on the viewer needs a parent. But since I am adding a top level element I have no parent and if I use null as parent I get an exception. And refreshing the complete tree just because of one new element is really not preferrable.
Does add(viewer.getInput(), newToplevelElement) work?
Yes it does, but it should be written down in the javadoc that the parent element of top level elements in the tree is the viewer input! Thanks anyway.
Hitesh is now responsible for watching bugs in the [Viewers] component area.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.