|Tree with a editor with properties [message #467129]
||Wed, 25 January 2006 16:14
Originally posted by: clau349.hotmail.com|
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?
Powered by FUDForum
. Page generated in 0.01263 seconds