Data to tree

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Data to tree

Postby agesino » Wed Feb 06, 2008 4:13 am

I am working with a “tree” (SWT control). I need create new items into the tree (which I have into my data base) and also to introduce some sub-items coming also from a data base.
I cannot find the way to create new items and sub items into a tree.
Please, can someone help me with this issue?

Best regards,
Posts: 2
Joined: Mon Jan 28, 2008 1:31 am

Re: Data to tree

Postby Eric Clayberg » Wed Feb 06, 2008 8:40 am

Have you tried adding a TreeItem to your Tree?

Have you looked at all of the Tree examples on the SWT snippets page?

General SWT questions like this should be directed to the Eclipse SWT newsgroup.
Eric Clayberg
Software Engineering Manager

Author: "Eclipse Plug-ins"
Eric Clayberg
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests