Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » accessing the StatusLineManager
accessing the StatusLineManager [message #735258] Tue, 11 October 2011 11:01 Go to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1355
Registered: July 2009
Senior Member
Hi

is there a direct way to get the StatusLineManager using SWTBOT?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: accessing the StatusLineManager [message #745861 is a reply to message #735258] Sun, 23 October 2011 03:28 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
On 10/11/11 4:31 PM, Lorenzo Bettini wrote:
> Hi
>
> is there a direct way to get the StatusLineManager using SWTBOT?

This is currently not supported. Would you be willing to help contribute
this to SWTBot? I'm happy to help out as needed.

-- Ketan

> thanks in advance
> Lorenzo
>
Re: accessing the StatusLineManager [message #753869 is a reply to message #745861] Sat, 29 October 2011 17:33 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1355
Registered: July 2009
Senior Member
On 10/23/2011 05:28 AM, Ketan Padegaonkar wrote:
>
> On 10/11/11 4:31 PM, Lorenzo Bettini wrote:
>> Hi
>>
>> is there a direct way to get the StatusLineManager using SWTBOT?
>
> This is currently not supported. Would you be willing to help contribute
> this to SWTBot? I'm happy to help out as needed.
>
> -- Ketan

Hi Ketan

I found a way to programmatically access the status line manager, and
I'd be very happy to contribute... if you could please suggest some
starting point: I finally managed to use swtbot quite productively, but
the documentation is very small :)

cheers
Lorenzo


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: accessing the StatusLineManager [message #753916 is a reply to message #735258] Sun, 30 October 2011 15:08 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1355
Registered: July 2009
Senior Member
On 10/11/2011 01:01 PM, Lorenzo Bettini wrote:
> Hi
>
> is there a direct way to get the StatusLineManager using SWTBOT?
>
> thanks in advance
> Lorenzo
>

for the moment I blooged my current solution:

http://tronprog.blogspot.com/2011/10/testing-eclipse-statuslinemanager.html

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: accessing the StatusLineManager [message #768053 is a reply to message #753916] Mon, 19 December 2011 13:51 Go to previous messageGo to next message
Seth Missing name is currently offline Seth Missing name
Messages: 2
Registered: December 2011
Junior Member
Hi Ketan,

Is there a better way to access the status line message (text string) than what is described in an earlier post in this thread?

Our application dynamically generates the status line message and I want to validate it outside the UI thread.

Thanks,
Seth.
Re: accessing the StatusLineManager [message #769715 is a reply to message #768053] Thu, 22 December 2011 15:25 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
On 12/19/11 5:51 AM, Seth wrote:
> Hi Ketan,
>
> Is there a better way to access the status line message (text string)
> than what is described in an earlier post in this thread?
>
> Our application dynamically generates the status line message and I want
> to validate it outside the UI thread.
>
> Thanks,
> Seth.

I don't see a better way to do this. If SWTBot were to implement this
feature, it'd be exactly how Lorenzo does it.

-- Ketan
Re: accessing the StatusLineManager [message #769801 is a reply to message #769715] Thu, 22 December 2011 17:35 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1355
Registered: July 2009
Senior Member
On 12/22/2011 04:25 PM, Ketan Padegaonkar wrote:
> On 12/19/11 5:51 AM, Seth wrote:
>> Hi Ketan,
>>
>> Is there a better way to access the status line message (text string)
>> than what is described in an earlier post in this thread?
>>
>> Our application dynamically generates the status line message and I want
>> to validate it outside the UI thread.
>>
>> Thanks,
>> Seth.
>
> I don't see a better way to do this. If SWTBot were to implement this
> feature, it'd be exactly how Lorenzo does it.
>

thanks :)

as I said in my answer to your post, Ketan, if you provide me with some
suggestion, I'd be more than glad to add it to SWTBOT :)

cheers
Lorenzo


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Previous Topic:SWTBot shells number grow after each test
Next Topic:SWTBot Test Plugin RCPMailClient tutorial example fails
Goto Forum:
  


Current Time: Sun Sep 21 08:22:14 GMT 2014

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

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