Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to expand all the tree node in GEF TreeViewer
How to expand all the tree node in GEF TreeViewer [message #189958] Mon, 01 August 2005 12:14 Go to next message
zhang wei is currently offline zhang weiFriend
Messages: 84
Registered: July 2009
Member
Hi all,

When I use GEF TreeViewer, I found it hard to expand all the tree node.

I found in org.eclipse.jface.viewers.AbstractTreeViewer, there is a
expandAll() method can expand all the tree node.

Is there a way to expand all the tree node in GEF TreeViewer?

THX
Re: How to expand all the tree node in GEF TreeViewer [message #189989 is a reply to message #189958] Mon, 01 August 2005 16:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

You'd have to get all the tree items, and invoke setExpanded(true) on them.
See EDiagramOutlinePage#init() for reference.

"wei zhang" <zhang-wei@sinocom.cn> wrote in message
news:0c2619eccb63349618742e224d726fb2$1@www.eclipse.org...
> Hi all,
>
> When I use GEF TreeViewer, I found it hard to expand all the tree node.
>
> I found in org.eclipse.jface.viewers.AbstractTreeViewer, there is a
> expandAll() method can expand all the tree node.
>
> Is there a way to expand all the tree node in GEF TreeViewer?
>
> THX
>
Re: How to expand all the tree node in GEF TreeViewer [message #190099 is a reply to message #189989] Tue, 02 August 2005 01:17 Go to previous message
zhang wei is currently offline zhang weiFriend
Messages: 84
Registered: July 2009
Member
Thank you
Previous Topic:aplha just for windows?
Next Topic:GEF figures don't show in editor
Goto Forum:
  


Current Time: Thu Dec 12 20:40:24 GMT 2024

Powered by FUDForum. Page generated in 0.03708 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top