[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: checkbox in GEF treeview

You can construct the Tree and pass it to the TreeViewer.  Use the SWT.CHECK 
style when creating the tree and ALL treeitems will have checkbox.

If you want a check column, this would be more involved.  We have not looked 
at column support in Tree yet.

"Al Major" <alnospammajor@xxxxxxxxxxxxxxxxxx> wrote in message 
news:d1ampd$7vl$1@xxxxxxxxxxxxxxxxxx
>i already have an outline view using the GEF infrastructure. i'd like to be 
>able to place a checkbox (just before the icon) on some of the tree items.
>
> an alternative may be some kind of combination tree/table with a column 
> for a checkbox.
>
> anyone have a quick outline on how to do this? or better still, a pointer 
> to code that does something similar?
>
> regards,
>
> al