Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How do I define a multiple selection?
How do I define a multiple selection? [message #549923] Wed, 28 July 2010 13:40 Go to next message
John Ormerod is currently offline John OrmerodFriend
Messages: 39
Registered: January 2010
Member
I have a JFace Table which allows multiple selections. I haven't managed to simulate making selections with the Ctrl key pressed.

No doubt, the answer is 'obvious', but..

Rgds, John
Re: How do I define a multiple selection? [message #549998 is a reply to message #549923] Wed, 28 July 2010 17:14 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
table.select(item1, item2, item3)

You can pass in strings or integer indices. See
http://download.eclipse.org/technology/swtbot/galileo/dev-bu ild/apidocs/org/eclipse/swtbot/swt/finder/widgets/SWTBotTabl e.html

--
Ketan
http://ketan.padegaonkar.name | http://eclipse.org/swtbot

On 7/28/10 6:40 AM, John Ormerod wrote:
> I have a JFace Table which allows multiple selections. I haven't managed
> to simulate making selections with the Ctrl key pressed.
>
> No doubt, the answer is 'obvious', but..
>
> Rgds, John
Previous Topic:How to test progress indicator
Next Topic:How can I get a TableItem's text?
Goto Forum:
  


Current Time: Thu Apr 25 09:35:18 GMT 2024

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

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

Back to the top