Re: [OpenMap Users] Right mouse click with MACINTOSH OS X on OMGraphicHandlerLayer ???

From: Mirek Pawlowski <mirek.pawlowski_at_ctm.gdynia.pl>
Date: Sat, 18 Dec 2004 21:45:08 +0100

Peter Solderitsch wrote:

>Ed,
>
>This has something to do with the OpenMap mouse handling code not using best practices in determining what triggers a "right click". In MouseEvent there's a method called "isPopupTrigger" (or something similar), which provides a platform-independent way to figure out if a "right-click-like" behavior was triggered.. though I forget the exact method name. The last time I looked at the relevant OpenMap mouse-related source code, it wasn't using that platform-independent method, but was looking for a particular button click instead.
>
>I can follow up on Monday if need be when I have the code in front of me.
>
>-Peter
>
>
>
Read javadoc for MouseEvent method isPopupTrigger(). It says you have to
check it both in mousePressed and mouseReleased openmap methods.
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sat Dec 18 2004 - 15:55:21 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT