Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » treeviewer and refresh collapsing parts of already opened tree
treeviewer and refresh collapsing parts of already opened tree [message #483676] Wed, 02 September 2009 10:41
Carmelo  is currently offline Carmelo
Messages: 224
Registered: July 2009
Senior Member
Hi all,
I have a problem regarding the refresh of an item in a treeviewer.

I have a view whit a treeviewer which is the representation of the objects
tree in a database (more or less like a filesystem).

Let's say I locate the following two items in the tree

[a] /AAAA/bbbbb/Server/jsp/comments.jsp
[b] /AAAA/bbbbb/test.cfg

Now I double click on the first item to enable the editor - once I load the
editor I have to refresh the parent object /AAAA/bbbbb/Server/jsp
(viewer.refresh(a.parent)) this will collapse the already opened part of the
tree which displays the [b] object. (I need to refresh the object to let the
decorator update the object status - from free to locked)

Is there anything to prevent this behavior.
Any suggestion will be appreciated.

Thanks
Kar
Previous Topic:Different Behaviour between Platforms hide shell
Next Topic:Programmatically associate views to categories
Goto Forum:
  


Current Time: Sat Jul 26 13:26:59 EDT 2014

Powered by FUDForum. Page generated in 0.01591 seconds