Split up MapToolManager class and make it more accessible
---------------------------------------------------------
Key: GEOT-3831
URL: https://jira.codehaus.org/browse/GEOT-3831
Project: GeoTools
Issue Type: New Feature
Components: swing
Reporter: Michael Bedward
Assignee: Michael Bedward
Fix For: 8.0-M2
The existing MapToolManager class does two jobs:
- converts incoming mouse events to MapMouseEvents and sends these to listeners
- manages the current cursor tool
Put these responsibilities into separate classes.
Extract an interface for the mouse event handling role.
Possibly extract an interface for the cursor tool role.
Provide default classes.
Also, the existing class is created within the map pane constructor and is a
pain to get at for unit testing. Fix this with getter and setter methods.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel