|
Re: hide the parent node in treeviewer [message #15439 is a reply to message #14327] |
Fri, 19 June 2009 16:56 |
Eclipse User |
|
|
|
Originally posted by: TheRealHawk.Freenet.de
Simply set the DocumentRoot as input to your Viewer and your ContentProvider
should do the rest, because the input is not visible.
Markus
"gaurav dubey" <gauravd2@kpitcummins.com> schrieb im Newsbeitrag
news:9633469a7d0e205bfad59ce0171df49a$1@www.eclipse.org...
> Hello All,
> I want to hide the parent node from treeviewer.
> The treeviewer structure looks like this now.
>
> -DocumentRoot(parent node)
> +-Tree1
> ---item1
> ---item2
> +-Tree2
> ---item3
> ---item4
> +-Tree3
> ---item1
> ---item2
>
> but i dont want that treeviewer will show the documentroot node(parent),
> but it will strat from the child nodes of documentroot(which are muliples)
> and looks like this..
> Tree1
> ---item1
> ---item2
> Tree2
> ---item3
> ---item4
> Tree3
> ---item1
> ---item2
> how can i do this.
>
> Thanks in advance.
>
> Regards
> Gaurav
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02577 seconds