Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Dynamic Tree Label changing
Dynamic Tree Label changing [message #452287] Wed, 16 March 2005 23:00 Go to next message
Anthony Perritano is currently offline Anthony PerritanoFriend
Messages: 32
Registered: July 2009
Member
Hi,
I have a Master/Detail block based form in which i have a Tree on the
left and some text fields on the right. What i want to do is when i
modify text in one of the text fields i want the label on the tree to
change as i type to what i type in the text field.

what types of classes do i need to use? what type of listeners do i need
to implement on my tree and text field?

thanks
Anthony Perritano
Re: Dynamic Tree Label changing [message #452298 is a reply to message #452287] Thu, 17 March 2005 07:48 Go to previous message
Stefan Pietsch is currently offline Stefan PietschFriend
Messages: 68
Registered: July 2009
Member
Hi Anthony,

take a look at Text.addModifyListener. If a ModifyEvent occurs you can
change your tree label.

Bye Stefan

"Anthony Perritano" <aperritano@gmail.com> schrieb im Newsbeitrag
news:d1adpp$175$1@www.eclipse.org...
> Hi,
> I have a Master/Detail block based form in which i have a Tree on the
> left and some text fields on the right. What i want to do is when i
> modify text in one of the text fields i want the label on the tree to
> change as i type to what i type in the text field.
>
> what types of classes do i need to use? what type of listeners do i need
> to implement on my tree and text field?
>
> thanks
> Anthony Perritano
Previous Topic:Creating a transparent image in Mac OS X
Next Topic:System icons in SWT
Goto Forum:
  


Current Time: Thu Apr 25 10:01:10 GMT 2024

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

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

Back to the top