GeoTools
  1. GeoTools
  2. GEOT-4112

Allow SWT cursor tools to be triggered only by specific mouse buttons

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 8.0-M4
    • Fix Version/s: 8.1
    • Component/s: unsupported
    • Labels:
      None
    • Environment:
      any

      Description

      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.

      1. patch.txt
        10 kB
        Michael Gruebsch

        Activity

        Hide
        Michael Gruebsch added a comment -
        This issue is fixed since 20.04.2012 (SVN 38681)
        Show
        Michael Gruebsch added a comment - This issue is fixed since 20.04.2012 (SVN 38681)

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Gruebsch
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: