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 Ormerod
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 Padegaonkar
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 Oct 02 08:40:31 GMT 2014

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

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