Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » statemask in mouse events
statemask in mouse events [message #506899] Mon, 11 January 2010 09:57 Go to next message
Niels Lippke is currently offline Niels LippkeFriend
Messages: 71
Registered: December 2009
Member
Hi,

I need to know, wether the shift-key was pressed during a mouse click event.
Unfortunately, the statemask in org.eclipse.swt.events.MouseEvent is not
implemented. Why not? You do have the information in QX's MouseEvent,
haven't you !?

Regards, Niels
Re: statemask in mouse events [message #506909 is a reply to message #506899] Mon, 11 January 2010 05:28 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Niels,

the statemask is implemented in SelectionEvent. If you need it for mouse
events, please file an enhancement request.

HTH,
Ivan

On 1/11/2010 11:57 AM, Niels Lippke wrote:
> Hi,
>
> I need to know, wether the shift-key was pressed during a mouse click
> event. Unfortunately, the statemask in
> org.eclipse.swt.events.MouseEvent is not implemented. Why not? You do
> have the information in QX's MouseEvent, haven't you !?
>
> Regards, Niels
Re: statemask in mouse events [message #507103 is a reply to message #506909] Tue, 12 January 2010 08:04 Go to previous message
Niels Lippke is currently offline Niels LippkeFriend
Messages: 71
Registered: December 2009
Member
Hi Ivan,

thanks for implementing. Works well.

Regards,
Niels

"Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
news:hietug$vfj$1@build.eclipse.org...
> Hi Niels,
>
> the statemask is implemented in SelectionEvent. If you need it for mouse
> events, please file an enhancement request.
>
> HTH,
> Ivan
>
> On 1/11/2010 11:57 AM, Niels Lippke wrote:
>> Hi,
>>
>> I need to know, wether the shift-key was pressed during a mouse click
>> event. Unfortunately, the statemask in org.eclipse.swt.events.MouseEvent
>> is not implemented. Why not? You do have the information in QX's
>> MouseEvent, haven't you !?
>>
>> Regards, Niels
Previous Topic:Menu Problem
Next Topic:ComboViewer not nullable?
Goto Forum:
  


Current Time: Thu Apr 25 01:07:05 GMT 2024

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

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

Back to the top