Help: create a custom TreeItem [message #41477] |
Wed, 21 May 2003 14:59 |
Eclipse User |
|
|
|
Originally posted by: matteo.roda.lynxit.com
How can i write my own TreeItem???(TreeItem is intended not to be
subclassed)
Every child of tree had to have a label and a text widget....
Thanks a lot
|
|
|
Re: Help: create a custom TreeItem [message #43149 is a reply to message #41477] |
Wed, 21 May 2003 14:17  |
Eclipse User |
|
|
|
Originally posted by: stelian.iancu.gmx.net
Matteo wrote:
> How can i write my own TreeItem???(TreeItem is intended not to be
> subclassed)
>
> Every child of tree had to have a label and a text widget....
>
> Thanks a lot
Use composition. Create a class that includes a TreeItem, then use delegates
to the methods of the TreeItem that you need.
--
Stelian Iancu
Linux registered user 287835
Be different. Think.
|
|
|
Powered by
FUDForum. Page generated in 0.27540 seconds