|
From: Michael G. (JIRA) <ji...@co...> - 2012-04-19 08:59:12
|
Michael Gruebsch created GEOT-4112:
--------------------------------------
Summary: Allow SWT cursor tools to be triggered only by specific mouse buttons
Key: GEOT-4112
URL: https://jira.codehaus.org/browse/GEOT-4112
Project: GeoTools
Issue Type: Improvement
Components: unsupported
Affects Versions: 8.0-M4
Environment: any
Reporter: Michael Gruebsch
Fix For: 8.0-RC1
Attachments: patch.txt
Requests for enhancement
* org.geotools.swt.event.MapMouseEvent: make the underlaying
MouseEvent accessible by a getter
* sub classes of org.geotools.swt.tool.CursorTool: process
only onMouse*-function if the first mouse button is used.
Rational:
I have embedded SwtMapPane into a RCP view and added a context
menu to SwtMapPane. If a cursor tool is active and one clicks
with the right resp. the context menu button to show the popup
menu the action of the cursor tool is triggered too.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
|