Changeset 32329 in osm for applications/editors/josm/plugins/NanoLog/src
- Timestamp:
- 2016-06-19T16:08:56+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/NanoLog/src/nanolog
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/NanoLog/src/nanolog/GPXChooser.java
r30491 r32329 19 19 public static GpxLayer topLayer() { 20 20 // return first found local layer 21 for( Layer layer : Main. map.mapView.getAllLayers() ) {21 for( Layer layer : Main.getLayerManager().getLayers() ) { 22 22 if( layer instanceof GpxLayer && ((GpxLayer)layer).isLocalFile() ) 23 23 return (GpxLayer)layer; -
applications/editors/josm/plugins/NanoLog/src/nanolog/NanoLogLayer.java
r31981 r32329 298 298 public void mousePressed( MouseEvent e ) { 299 299 int nearest = nearestEntry(e); 300 if( nearest > 0 && Main. map.mapView.getActiveLayer() == NanoLogLayer.this ) {300 if( nearest > 0 && Main.getLayerManager().getActiveLayer() == NanoLogLayer.this ) { 301 301 dragging = nearest; 302 302 doDrag(e); -
applications/editors/josm/plugins/NanoLog/src/nanolog/NanoLogPanel.java
r30737 r32329 37 37 public void updateMarkers() { 38 38 List<NanoLogEntry> entries = new ArrayList<>(); 39 for( NanoLogLayer l : Main. map.mapView.getLayersOfType(NanoLogLayer.class) ) {39 for( NanoLogLayer l : Main.getLayerManager().getLayersOfType(NanoLogLayer.class) ) { 40 40 entries.addAll(l.getEntries()); 41 41 }
Note:
See TracChangeset
for help on using the changeset viewer.