[Openstreetmap] Thanks

Thomas Walraet thomas at walraet.com
Tue Feb 14 10:43:33 GMT 2006


Richard Fairhurst a écrit :
> 
>> However, I don't think I should go any futher with supporting 
>> environments
>> with fewer hardware. As example I don't want to support mouseless
>> environments or mouses with only one mouse button (e.g. touchscreens).
>> Remember that JOSM is designed for the power user sitting at home
>> postprocessing his data
> 
> Could I ask you to reconsider on the 'one mouse button' angle? Some of 
> us power users have Macs!

I didn't look how JOSM was handling right-clic, but a good thing to do 
is to use "MouseEvent.isPopupTrigger()" instead of 
"MouseEvent.getButton() == MouseEvent.BUTTON2"

This way, you react on right-clic on Windows/most unixes, pomme-clic on Mac.



Now, in my opinion, right-clic should not be used to anything else than 
context menu.




More information about the talk mailing list