Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Tree with a editor with properties
Tree with a editor with properties [message #467129] Wed, 25 January 2006 16:14
Eclipse UserFriend
Originally posted by:

I got a tree in a view of my RCP- plugin, in another view I got a label and a text which show me the properties of each item of my tree.

But here is my problem, in the method PropertyChange(PropertyChangeEvent evt ); I call for the method to create my label and text:


Where Array store the actual tree`s item, so i get the item and a call the function in the item`s class.

In each item`s class i have a method that build a new label and a new text, fine. When i click my first item, i get its label and its text. When i clic my second item i get its label and its text but the label and text from mu first item is still there, so I have now 2 label and 2 text, and so on.

is there a way to eliminate the label and the text that I do not use anymore?
Previous Topic:Fonts and Keyboard State
Next Topic:DropDown widgets - Proper way to do this?
Goto Forum:

Current Time: Wed Nov 20 19:25:43 GMT 2019

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

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

Back to the top