Hi Stephan,

The selection tool and panning collide a bit, since the drag gesture is interpreted differently. My idea is to use a modifier key to tell them apart. For example: have ctrl key while dragging is interpreted as side scrolling while a simple drag is selecting. Another option is add key support in selection mode: page up/down, home/end each represent panning up/down/left/right, the same way as in GMap.

Switching back and force between select tool and other tool is annoying I have found.

Bing




--------------------------------------------------
From: "Stefan Steiniger" <[EMAIL PROTECTED]>
Sent: Friday, September 05, 2008 12:08 PM
To: "OpenJump develop and use" <jump-pilot-devel@lists.sourceforge.net>
Subject: Re: [JPP-Devel] mousewheel and select tool

Hei Bing,

I am not sure if one realy wants to merge panning and selection ;) (at
least I am not aware of any GIS which hasn't a separate pan function).
But maybe I just have no imagination how it may work.

stefan

Bing Ran schrieb:
Hi

Personally I like an idea to merge the zoom tool, pan tool and feature
select tool into one, so I can zoom/pan and select anytime.

I quickly let the SelectTool to extends from the AbstractZomTool and I
get the mousewheel zooming instantly. Well I need to update two lines of
code in the LayerViewPanel in handling the mousewheel events. The clean
architecture of the code is appreciated here.

A full merge requires more work. But is the idea solid?

Thanks!

Bing







------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


------------------------------------------------------------------------

_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to