[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Drop Down Tree View
|
Hi Debbie,
SWT doesn't have something like this, and I don't know of a similar
third-party Control, so you would have to custom-implement it. It shouldn't
be too hard though, if you start with CCombo, replace its List with a Tree,
and add api for adding TreeItems to its Tree. Trees do not have have a way
of automatically not showing leaf nodes, so you would have to process this
at some point to not create them.
Grant
"Deborah Steiner" <debbiecadranel@xxxxxxxxx> wrote in message
news:fv6n54$gnr$1@xxxxxxxxxxxxxxxxxxxx
> Is there a control in SWT / JFACE similar to Drop Down Tree View in .NET?
>
> It is a drop down that opens a view of a tree without the leaves.
>
> See image untitled.JPG - this is an image of my tree with folders and
> various appplications as leaves.
>
> See image untitled1.JPG - this is an image of my drop down tree view. The
> Combo points to a the part which you click on to open the combo, and you
can
> see how the combo looks like when it is opened. It opens a panel with a
tree
> view where you only see the structure of the tree (not including the tree
> leaves). This allows you to select a place on the structure of the tree.
>
> If anyone knows of a similar control I would love to know. Or of how an
idea
> of how to implement this.
>
> Thanks
>
> Debbie
>
>
>
>