Changeset 16409 in osm for applications/editors/josm/plugins/surveyor/src/at
- Timestamp:
- 2009-07-09T14:36:03+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveEditLayerTimerTask.java
r14406 r16409 39 39 @Override 40 40 public void run() { 41 if(Main.map == null || Main.map.mapView == null || Main.map.mapView. editLayer== null) {41 if(Main.map == null || Main.map.mapView == null || Main.map.mapView.getEditLayer() == null) { 42 42 return; 43 43 } 44 OsmDataLayer layer = Main.map.mapView. editLayer;44 OsmDataLayer layer = Main.map.mapView.getEditLayer(); 45 45 try { 46 46 DataSet dataset = layer.data; -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetNodeAction.java
r13497 r16409 70 70 node.put("created_by", "JOSM-surveyor-plugin"); 71 71 synchronized(LiveGpsLock.class) { 72 Main.ma in.editLayer().data.nodes.add(node);72 Main.map.mapView.getEditLayer().data.nodes.add(node); 73 73 Main.ds.setSelected(node); 74 74 }
Note:
See TracChangeset
for help on using the changeset viewer.