Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Removing a TreeItem from a Tree
Removing a TreeItem from a Tree [message #442799] Mon, 13 September 2004 15:26 Go to next message
Eclipse UserFriend
Originally posted by: kolloc.ifrance.com

Hi,

I think it's a silly question but how shall I proceed if I want to remove
all nodes and sub-nodes from a Tree ?

I tried mytree.removeAll() without any success.

Many thanks for your help,

Best regards,

Kolloc
Re: Removing a TreeItem from a Tree [message #442807 is a reply to message #442799] Mon, 13 September 2004 17:33 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Tree.removeAll() should work. If it doesn't, please enter a bug report with
a snippet that shows the problem. Thanks.

"Kolloc" <kolloc@ifrance.com> wrote in message
news:ci4e74$g1s$1@eclipse.org...
> Hi,
>
> I think it's a silly question but how shall I proceed if I want to remove
> all nodes and sub-nodes from a Tree ?
>
> I tried mytree.removeAll() without any success.
>
> Many thanks for your help,
>
> Best regards,
>
> Kolloc
>
Previous Topic:Caret at beginning of text selection
Next Topic:Set default line delimiter?
Goto Forum:
  


Current Time: Fri Apr 26 07:57:02 GMT 2024

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

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

Back to the top