Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Insert a treeitem
Insert a treeitem [message #462002] Tue, 04 October 2005 22:13 Go to next message
Rafael Cieplinski is currently offline Rafael CieplinskiFriend
Messages: 4
Registered: July 2009
Junior Member
Hi, guys!

I've got the following tree:

+Treeitem1
+Treeitem11
+Treeitem12
+Treeitem13
+Treeitem2
+Treeitem3

How can I insert a Treeitem between the Treeitem11 and Treeitem12 during
runtime?

Thanks a lot,
Rafae
Re: Insert a treeitem [message #462045 is a reply to message #462002] Wed, 05 October 2005 02:05 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Try the constructor TreeItem(Tree, int, int);

"Rafael Cieplinski" <cieplinski@web.de> wrote in message
news:dhuuqd$k33$1@news.eclipse.org...
> Hi, guys!
>
> I've got the following tree:
>
> +Treeitem1
> +Treeitem11
> +Treeitem12
> +Treeitem13
> +Treeitem2
> +Treeitem3
>
> How can I insert a Treeitem between the Treeitem11 and Treeitem12 during
> runtime?
>
> Thanks a lot,
> Rafae
>
>
Re: Insert a treeitem [message #462083 is a reply to message #462045] Wed, 05 October 2005 21:00 Go to previous messageGo to next message
Rafael Cieplinski is currently offline Rafael CieplinskiFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Steve,

Thanks a lot. Another question: how can I remove this new added Item
again???

"Steve Northover" <steve_northover@ca.ibm.com> schrieb im Newsbeitrag
news:dhvce2$3ri$1@news.eclipse.org...
> Try the constructor TreeItem(Tree, int, int);
>
> "Rafael Cieplinski" <cieplinski@web.de> wrote in message
> news:dhuuqd$k33$1@news.eclipse.org...
>> Hi, guys!
>>
>> I've got the following tree:
>>
>> +Treeitem1
>> +Treeitem11
>> +Treeitem12
>> +Treeitem13
>> +Treeitem2
>> +Treeitem3
>>
>> How can I insert a Treeitem between the Treeitem11 and Treeitem12 during
>> runtime?
>>
>> Thanks a lot,
>> Rafae
>>
>>
>
>
Re: Insert a treeitem [message #462087 is a reply to message #462083] Wed, 05 October 2005 21:48 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

treeItem.dispose()

--
Thanks,
Rich Kulp
Previous Topic:Trouble with forcing Form to redraw
Next Topic:vertical scrollbar donot slide down
Goto Forum:
  


Current Time: Wed Sep 23 04:18:54 GMT 2020

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

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

Back to the top