Skip to main content


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 14:41
Carmelo  is currently offline Carmelo Friend
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: Fri Apr 19 08:13:12 GMT 2024

Powered by FUDForum. Page generated in 0.01693 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top