checkbox in GEF treeview [message #172226] |
Thu, 17 March 2005 01:33 |
Eclipse User |
|
|
|
Originally posted by: alnospammajor.noboxspamspoon.com
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
|
|
|
Re: checkbox in GEF treeview [message #172384 is a reply to message #172226] |
Thu, 17 March 2005 21:56 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
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@noboxspamspoon.com> wrote in message
news:d1ampd$7vl$1@www.eclipse.org...
>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
|
|
|
Powered by
FUDForum. Page generated in 0.02892 seconds