Skip to main content



      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 09:40 Go to next message
Eclipse UserFriend
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 13:14 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 03:31:15 EDT 2025

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

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

Back to the top