Tree support in swt-designer

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

Tree support in swt-designer

Postby Clarance » Tue Apr 20, 2004 2:07 pm

Is there a way that I can add nodes to a tree within designer or see tree nodes in designer that I have added to the code?
Clarance
 
Posts: 3
Joined: Tue Apr 20, 2004 2:04 pm

Re: Tree support in swt-designer

Postby Eric Clayberg » Wed Apr 21, 2004 3:46 am

Clarance wrote:Is there a way that I can add nodes to a tree within designer or see tree nodes in designer that I have added to the code?

No. TreeItems are generally managed dynamically at runtime rather than hard coded at design time. In fact, the best way to handle TreeItems is not to handle them at all...use a TreeViewer with an assoicate tree model (content provider) instead.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
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 1 guest