Changeset 32463 in osm for applications/editors/josm/plugins
- Timestamp:
- 2016-06-30T19:57:15+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/openvisible
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openvisible/build.xml
r32306 r32463 5 5 <property name="commit.message" value="Changed the constructor signature of the plugin main class; updated build.xml"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value=" 7001"/>7 <property name="plugin.main.version" value="10279"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java
r29222 r32463 109 109 DataSet dataSet = OsmReader.parseDataSet(new FileInputStream(file), NullProgressMonitor.INSTANCE); 110 110 OsmDataLayer layer = new OsmDataLayer(dataSet, fn, file); 111 Main. main.addLayer(layer);111 Main.getLayerManager().addLayer(layer); 112 112 } 113 113 else … … 131 131 r.getGpxData().storageFile = file; 132 132 GpxLayer gpxLayer = new GpxLayer(r.getGpxData(), fn); 133 Main. main.addLayer(gpxLayer);134 Main. main.addLayer(new MarkerLayer(r.getGpxData(), tr("Markers from {0}", fn), file, gpxLayer));133 Main.getLayerManager().addLayer(gpxLayer); 134 Main.getLayerManager().addLayer(new MarkerLayer(r.getGpxData(), tr("Markers from {0}", fn), file, gpxLayer)); 135 135 136 136 } else {
Note:
See TracChangeset
for help on using the changeset viewer.