Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Dynamic Tree Label changing
Dynamic Tree Label changing [message #452287] Wed, 16 March 2005 18:00 Go to next message
Eclipse UserFriend
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 02:48 Go to previous message
Eclipse UserFriend
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 Jul 10 10:18:51 EDT 2025

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

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

Back to the top