Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Help: create a custom TreeItem
Help: create a custom TreeItem [message #41477] Wed, 21 May 2003 14:59
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Configure access to read only CVS archive?
Next Topic:Cannot start/finish install of eclipse on linux
Goto Forum:
  


Current Time: Sun Aug 31 06:32:44 EDT 2025

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

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

Back to the top