wood burning stoves 2.0*
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
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: 19653
    
  18

Are you using SWT or Swing?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 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
 
Similar Threads
ColumnLabelProvider SWT tooltip problem
jface Treeviewer and StyledText
removing columns from a multicolumn page for printing
JTable with multicolumn header
Problem setting focus for a newly added child element in TreeViewer