Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Table selection via checkboxes
Table selection via checkboxes [message #483200] Mon, 31 August 2009 14:35 Go to next message
Eclipse UserFriend
Originally posted by: ahmed.elmasri.gmail.com

Hello friends,
How can I get a table's selected items made by users via checkboxes? I
looked at provided examples just couldn't find a snippet. Perhaps I
overlooked. Please let me if you have an answer for me.
Thanks,
Ahmed
Re: Table selection via checkboxes [message #483210 is a reply to message #483200] Mon, 31 August 2009 15:12 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Hi Ahmed,

There is not api on Table/Tree to get the checked items. To get them you
need to iterate over all of the items and invoke getChecked() on each.
Previous request for Table/Tree api:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=87035 .

Grant


"Ahmed Abdeen Hamed" <ahmed.elmasri@gmail.com> wrote in message
news:7f4eb4d2846e9c5363a1428034e27ca4$1@www.eclipse.org...
> Hello friends,
> How can I get a table's selected items made by users via checkboxes? I
> looked at provided examples just couldn't find a snippet. Perhaps I
> overlooked. Please let me if you have an answer for me.
> Thanks,
> Ahmed
>
Re: Table selection via checkboxes [message #483217 is a reply to message #483210] Mon, 31 August 2009 15:48 Go to previous message
Eclipse UserFriend
Originally posted by: ahmed.elmasri.gmail.com

Excellent. Thanks, Grant!
Previous Topic:Background application is getting activated.
Next Topic:suggestBox
Goto Forum:
  


Current Time: Thu Aug 22 13:14:27 GMT 2019

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

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

Back to the top