File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes multicolumn TreeViewer with composite as content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "multicolumn TreeViewer with composite as content" Watch "multicolumn TreeViewer with composite as content" New topic
Author

multicolumn TreeViewer with composite as content

Alex Degaltsev
Greenhorn

Joined: Jul 01, 2011
Posts: 2
Hi,

I want to create a multicolumn tree like interface for a graphics editor, similar to the one on the image below. It will contain layers as parent tree items (with the possibility to add or remove layers) and table like collection of child items representing layer settings. Which widget will suit this purpose better? I thought of a TreeViewer, but it only allows to set a LabelProvider with getText() or getImage() methods, so I can't insert a widget as a child node. What do you thing will be the most appropriate thing to use in my case?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20048
    
  30

Are you using SWT or Swing?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Alex Degaltsev
Greenhorn

Joined: Jul 01, 2011
Posts: 2
Sorry, forgot to mention. I'm using SWT+JFace.
 
 
subject: multicolumn TreeViewer with composite as content
 
jQuery in Action, 3rd edition