Changeset 7317 in osm for applications/editors/josm/plugins
- Timestamp:
- 2008-04-10T00:14:35+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java
r5669 r7317 101 101 OsmDataLayer layer = new OsmDataLayer(dataSet, file.getName(), file); 102 102 Main.main.addLayer(layer); 103 } else if (ExtensionFileFilter.filters[ExtensionFileFilter.CSV].acceptName(fn)) 104 JOptionPane.showMessageDialog(Main.parent, fn+": "+tr("CSV Data import for non-GPS data is not implemented yet.")); 103 } 105 104 else 106 105 JOptionPane.showMessageDialog(Main.parent, fn+": "+tr("Unknown file extension: {0}", fn.substring(file.getName().lastIndexOf('.')+1))); … … 117 116 } 118 117 r.data.storageFile = file; 119 Main.main.addLayer(new GpxLayer(r.data, fn)); 120 Main.main.addLayer(new MarkerLayer(r.data, tr("Markers from {0}", fn), file)); 118 GpxLayer gpxLayer = new GpxLayer(r.data, fn); 119 Main.main.addLayer(gpxLayer); 120 Main.main.addLayer(new MarkerLayer(r.data, tr("Markers from {0}", fn), file, gpxLayer)); 121 121 122 122 } else {
Note:
See TracChangeset
for help on using the changeset viewer.