Folding a list [message #329520] |
Thu, 26 June 2008 19:27 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: prasad.chand.gmail.com
Hi all,
I need to fold a list (jface - ListViewer). I had searched and I came
across org.eclipse.jface.text.source.projection that enables folding a
text. But is there anything similar for listviewers? Is there any other
way to implement this in listviewer?
Thanks,
Prasad
|
|
|
|
Re: Folding a list [message #329549 is a reply to message #329536] |
Fri, 27 June 2008 16:37 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: prasad.chand.gmail.com
What I mean by folding a list is I would like to make the contents (the
individual list entries) disappear.
Yes TreeViewer is a good idea. I have a couple of lists that I wish to
fold. I can use a treeviewer to make the list entries child of a list head.
Thanks for the tip.
Prasad
Paul Webster wrote:
> Prasad Chand wrote:
>> Hi all,
>>
>> I need to fold a list (jface - ListViewer). I had searched and I came
>> across org.eclipse.jface.text.source.projection that enables folding a
>> text. But is there anything similar for listviewers? Is there any
>> other way to implement this in listviewer?
>
> Fold a list in what way? Could you use a TreeViewer and put the things
> to be folded into different categories (make a 2 level tree, as it were)?
>
> PW
>
>
|
|
|
Re: Folding a list [message #329551 is a reply to message #329536] |
Fri, 27 June 2008 17:17 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: prasad.chand.gmail.com
I am facing a problem accomplishing this using TreeViewer. I have three
different entities , a list and two tables. I would like to make them
collapsible - by this I mean I would like to make their contents
disappear on clicking leaving only the list/table label name. As the
"children" are not homogeneous TreeViewer seems off the list.
How can I accomplish this? In swing there is collapsible pane to achieve
it? Is there anything in eclipse/swt/jface to get this done?
Thanks,
Prasad
Paul Webster wrote:
> Prasad Chand wrote:
>> Hi all,
>>
>> I need to fold a list (jface - ListViewer). I had searched and I came
>> across org.eclipse.jface.text.source.projection that enables folding a
>> text. But is there anything similar for listviewers? Is there any
>> other way to implement this in listviewer?
>
> Fold a list in what way? Could you use a TreeViewer and put the things
> to be folded into different categories (make a 2 level tree, as it were)?
>
> PW
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03758 seconds