aspose 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 Java 8 in Action this week in the Java 8 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: 19557
    
  16

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multicolumn TreeViewer with composite as content
 
Similar Threads
Problem setting focus for a newly added child element in TreeViewer
removing columns from a multicolumn page for printing
ColumnLabelProvider SWT tooltip problem
JTable with multicolumn header
jface Treeviewer and StyledText