﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11625	Add MapView hooks required by OpenGL plugin.	michael2402	team	"The following changes are made to JOSM:
- Access to MapView#layers/temporaryLayers is synchronized. Synchronisation is a bit tricky here, because many Listeners do a invoke and wait on the AWT event thread, which might cause dead locks. There should be none in main JSOM, but I don't really know what crazy things plugin developers are doing...
- A hardcoded MapView#redraw(...) is used in many places. I added a listener to intercept those calls and redraw the OpenGL view instead.
- Selection uses a temporary layer to draw the polygon/rectangle. I found no more uses of NavigatableComponent.requestPaintRect/Poly(...) and the related methods, so they could be reoved/marked as deprecated. I don't really think that that is nice coding style, we have temporary layers for that. Those selection changes should also fix some mouse button issues and make e.g. the right mouse button work when lasso-selecting. (#10218, #11094)
- The current cursor also allows multiple listeners.
- The zoom/scrolling got its new class.
- I don't really want to blow up the MapView much more. Together with NavigationComponent, it has almost 3k lines. This is why I moved the cursor management and the zoom/center to new classes.
- Fixed #11496


Some documentation additions and other minor changes are also included.

A full diff is here:
https://github.com/michaelzangl/josm/compare/mirror...gsoc-opengl"	enhancement	closed	normal	15.09	Core		fixed		
