Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How to get the TextHover control of bot.activeEditor().getSelection() in SWTBot
How to get the TextHover control of bot.activeEditor().getSelection() in SWTBot [message #39269] Wed, 17 June 2009 09:06 Go to next message
hua wang is currently offline hua wangFriend
Messages: 5
Registered: July 2009
Junior Member
Thanks.
Re: How to get the TextHover control of bot.activeEditor().getSelection() in SWTBot [message #39300 is a reply to message #39269] Wed, 17 June 2009 09:25 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
?!? Huh ?!?

Did you say something ?

--
Ketan
http://studios.thoughtworks.com/twist | http://twitter.com/ketanpkr


On 17/6/09 14:36, hua wang wrote:
> Thanks.
>
Re: How to get the TextHover control of bot.activeEditor().getSelection() in SWTBot [message #39452 is a reply to message #39300] Thu, 18 June 2009 01:21 Go to previous messageGo to next message
hua wang is currently offline hua wangFriend
Messages: 5
Registered: July 2009
Junior Member
http://www.ibm.com/developerworks/cn/opensource/os-cn-ecljtf 6/
Text Hover (text suspension) allows users to receive a message quickly,
rather than to open the Eclipse Help system. Eclipse's Java editor
suspended the text to display Javadoc help.So it is Text Hover.And i want
to get the Text Hover control in SWTBot.But i can not find the exact way.

Thanks :)
Re: How to get the TextHover control of bot.activeEditor().getSelection() in SWTBot [message #39483 is a reply to message #39452] Thu, 18 June 2009 04:29 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
You ask swtbot to do exactly what you do:

- Navigate to a location
- press F2
- look at the contents inside the shell that pops up ?

--
Ketan
http://studios.thoughtworks.com/twist | http://twitter.com/ketanpkr


On 18/6/09 06:51, hua wang wrote:
> http://www.ibm.com/developerworks/cn/opensource/os-cn-ecljtf 6/
> Text Hover (text suspension) allows users to receive a message quickly,
> rather than to open the Eclipse Help system. Eclipse's Java editor
> suspended the text to display Javadoc help.So it is Text Hover.And i
> want to get the Text Hover control in SWTBot.But i can not find the
> exact way.
>
> Thanks :)
>
Re: How to get the TextHover control of bot.activeEditor().getSelection() in SWTBot [message #39512 is a reply to message #39483] Thu, 18 June 2009 05:12 Go to previous messageGo to next message
hua wang is currently offline hua wangFriend
Messages: 5
Registered: July 2009
Junior Member
Yes, it is exact what you said.
Re: How to get the TextHover control of bot.activeEditor().getSelection() in SWTBot [message #507569 is a reply to message #39483] Wed, 13 January 2010 20:40 Go to previous message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
Ketan Padegaonkar wrote:
> You ask swtbot to do exactly what you do:
>
> - Navigate to a location
> - press F2
> - look at the contents inside the shell that pops up ?

That's great, but what if you want to test that the pop-up shell
appears when you hover the mouse over a particular location

>>> *without hitting F2* <<< ?

In particular, I don't see any way to simulate a mouse move to a
specific location.

[BTW, nice work on SWTBot! Very useful indeed...]

--
Cheers,
-- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)
Previous Topic:How to access nested context menus?
Next Topic:Why doesn't this EditorCloses condition class work?
Goto Forum:
  


Current Time: Fri Apr 19 15:37:27 GMT 2024

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

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

Back to the top