Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TreeViewer: getExpandedState
TreeViewer: getExpandedState [message #452240] Tue, 15 March 2005 14:57 Go to next message
Eclipse UserFriend
Originally posted by: fhellerhoff.yahoo.de

Hi there,
IŽm writing a treeviewer that allows browing the directories of the file
system. I want to use different icons for expanded and collapsed elements.
Using the treeViewer.getExpandedState() should be the right point to start.
But when to retreive this? I tried to use this in the
LabelProvider.getImage(), but it seems that the icon has been drown before
the element is collapsed.
getExpandedState(element) allways returns false.
Any ideas? Thanks in advance,
Friedhelm
Re: TreeViewer: getExpandedState [message #452316 is a reply to message #452240] Thu, 17 March 2005 14:37 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
You may get more response if you ask this on the eclipse.platform newsgroup,
since that is where jface lives.

Grant

"Friedhelm Hellerhoff" <fhellerhoff@yahoo.de> wrote in message
news:d16t4v$4hc$1@www.eclipse.org...
> Hi there,
> I
Re: TreeViewer: getExpandedState [message #452486 is a reply to message #452316] Mon, 21 March 2005 13:56 Go to previous message
Eclipse UserFriend
Originally posted by: fhellerhoff.yahoo.de

Hi Grant,

thankŽs for the info!

greetings, Friedhelm
Previous Topic:Dates and times handling and validation
Next Topic:How to use the class "ElementListSelectionDialog"?
Goto Forum:
  


Current Time: Mon Jul 22 20:52:24 GMT 2019

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

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

Back to the top