Hi,
TreeViewer#add()
TreeViewer#insert()
TreeViewer#remove()
These method will only modify the UI it's your own task to sync the model!
Another maybe an easier approach might be that if you add a model in a
leave to only refresh the this part of the Tree using
TreeViewer#refresh(Object).
Tom
Moutaz schrieb:
hii
i am using a jface TreeViewer from org.eclipse.jface.viewers.TreeViewer ,
during runtime when i add a new element in the my Tree, i say to the
Viewer (viewer.setInput(root) , so it takes a root, so it redraw the Tree
again , causes to refresh the Viewer by Flash (as removing all the tree
and view it again) so if there is something that i can use, to add
elements without this falsh
thanks in advance