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.

Previous Topic:Can I use a command parameter in its handler's enabledWhen?
Next Topic:Context menu actions in Common Navigator
Goto Forum:

Current Time: Sun May 27 20:01:22 GMT 2018

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

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

Back to the top