Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » getCursorLocation()
getCursorLocation() [message #123522] Mon, 02 March 2009 15:17 Go to next message
Eclipse UserFriend
Originally posted by: michael.suwiryo.siemens.com

Hello,

RAP currently doesn't support getCursorLocation() API in Display class. I
was wondering if there is an alternative solution to provide the same
functionality in RAP.

Thanks for any pointer.

Regards,
Michael Suwiryo
Re: getCursorLocation() [message #123692 is a reply to message #123522] Tue, 03 March 2009 11:48 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Michael,

in some cases selection events also send x/y coordinates that can be
used instead of getCursorLocation().
What would be your use case?

Cheers,
Rüdiger

Michael Suwiryo wrote:
> Hello,
>
> RAP currently doesn't support getCursorLocation() API in Display class. I
> was wondering if there is an alternative solution to provide the same
> functionality in RAP.
>
> Thanks for any pointer.
>
> Regards,
> Michael Suwiryo
>
>
Re: getCursorLocation() [message #129402 is a reply to message #123692] Wed, 22 April 2009 13:07 Go to previous messageGo to next message
Enrico Zanaga is currently offline Enrico ZanagaFriend
Messages: 50
Registered: July 2009
Member
Hi,

is there a method to retrieve the last mouse location of the most recent
event fired by the browser?
Also with internal RWT functions and classes...

Thanks,
Enrico


Rüdiger Herrmann ha scritto:
> Michael,
>
> in some cases selection events also send x/y coordinates that can be
> used instead of getCursorLocation().
> What would be your use case?
>
> Cheers,
> Rüdiger
>
> Michael Suwiryo wrote:
>> Hello,
>>
>> RAP currently doesn't support getCursorLocation() API in Display
>> class. I was wondering if there is an alternative solution to provide
>> the same functionality in RAP.
>>
>> Thanks for any pointer.
>>
>> Regards,
>> Michael Suwiryo
>>
Re: getCursorLocation() [message #129514 is a reply to message #129402] Wed, 22 April 2009 18:10 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Enrico,

there is currently no way to retrieve this information in RAP.
Neither official nor internal. But you could write a custom widget
or a phase listener that tracks the client-side mouse position and
adds it to the pending request.

Cheers,
Rüdiger

Enrico Zanaga wrote:
> Hi,
>
> is there a method to retrieve the last mouse location of the most recent
> event fired by the browser?
> Also with internal RWT functions and classes...
>
> Thanks,
> Enrico
>
>
> Rüdiger Herrmann ha scritto:
>> Michael,
>>
>> in some cases selection events also send x/y coordinates that can be
>> used instead of getCursorLocation().
>> What would be your use case?
>>
>> Cheers,
>> Rüdiger
>>
>> Michael Suwiryo wrote:
>>> Hello,
>>>
>>> RAP currently doesn't support getCursorLocation() API in Display
>>> class. I was wondering if there is an alternative solution to provide
>>> the same functionality in RAP.
>>>
>>> Thanks for any pointer.
>>>
>>> Regards,
>>> Michael Suwiryo
>>>
Previous Topic:announcing INQLE v 0.3
Next Topic:Control.update()
Goto Forum:
  


Current Time: Tue Apr 16 04:21:25 GMT 2024

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

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

Back to the top