Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TreeViewer: getText before treeExpanded
TreeViewer: getText before treeExpanded [message #452261] Wed, 16 March 2005 11:03 Go to next message
Eclipse UserFriend
Originally posted by: rrgs2-bol.yahoo.com.br

Hi,

I'm using a TreeViewer and, in my application, the elements' labels depend
on the selected element. So, I want to be able to know when the user
expand an element, do some processing and, then, give the children's
labels. But getText() (in LabelProvider) is called for the children of the
expanded element before treeExpanded() (in ITreeViewerListener). Is there
a way to notice the expansion before the children are shown?

[]'s
Rodrigo
Re: TreeViewer: getText before treeExpanded [message #1137494 is a reply to message #452261] Mon, 14 October 2013 14:32 Go to previous message
Luis Fernando Robledano-Esteban is currently offline Luis Fernando Robledano-EstebanFriend
Messages: 32
Registered: February 2013
Member
Does anybody know the answer to this question (now 8 years after)?
I have the same problem: how to get the eventhandler (listener) for the event after the default behavior is executed.
In other development enviroments/libraries, there was a explicit differenciation: something like afterExpand vs. beforeExpand.


ArkosX

[Updated on: Mon, 14 October 2013 14:32]

Report message to a moderator

Previous Topic:SWT.RIGHT_TO_LEFT tree doing strange thing with non-alphanumeric characters
Next Topic:How do I right align ccombo text?
Goto Forum:
  


Current Time: Thu Apr 18 17:28:06 GMT 2024

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

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

Back to the top