Changeset 34117 in osm for applications/editors/josm
- Timestamp:
- 2018-03-25T17:46:29+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/pt_assistant
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/build.xml
r33860 r34117 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 2840"/>7 <property name="plugin.main.version" value="13558"/> 8 8 9 9 <property name="plugin.author" value="Darya Golovko darya0705@gmail.com"/> -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/AddStopPositionAction.java
r33988 r34117 139 139 } 140 140 141 MainApplication.getLayerManager().getEdit Layer().data.setSelected(newStopPos);141 MainApplication.getLayerManager().getEditDataSet().setSelected(newStopPos); 142 142 143 143 //join the node to the way only if the node is new -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/EdgeSelectionAction.java
r33989 r34117 135 135 public void mouseClicked(MouseEvent e) { 136 136 137 DataSet ds = MainApplication.getLayerManager().getEdit Layer().data;137 DataSet ds = MainApplication.getLayerManager().getEditDataSet(); 138 138 Way initial = MainApplication.getMap().mapView.getNearestWay(e.getPoint(), OsmPrimitive::isUsable); 139 139 if (initial != null) { -
applications/editors/josm/plugins/pt_assistant/test/unit/org/openstreetmap/josm/plugins/pt_assistant/ImportUtils.java
r33571 r34117 33 33 OsmImporterData oid = importer.loadLayer(in, file, layerName, progressMonitor); 34 34 OsmDataLayer layer = oid.getLayer(); 35 return layer. data;35 return layer.getDataSet(); 36 36 37 37 } catch (FileNotFoundException e) {
Note:
See TracChangeset
for help on using the changeset viewer.