Changeset 16587 in osm for applications
- Timestamp:
- 2009-07-19T19:21:43+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/openvisible
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openvisible/build.xml
r15707 r16587 26 26 <attribute name="Plugin-Dependencies" value="jgrapht-jdk1.5"/> 27 27 <attribute name="Plugin-Description" value="Allows opening gpx/osm files that intersect the currently visible screen area"/> 28 <attribute name="Plugin-Mainversion" value="1 646"/>28 <attribute name="Plugin-Mainversion" value="1813"/> 29 29 <attribute name="Plugin-Stage" value="50"/> 30 30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> -
applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java
r15707 r16587 8 8 import java.awt.Rectangle; 9 9 import java.awt.event.ActionEvent; 10 import java.awt.event.InputEvent;11 10 import java.awt.event.KeyEvent; 12 11 import java.io.BufferedInputStream; … … 21 20 22 21 import org.openstreetmap.josm.Main; 23 import org.openstreetmap.josm.actions.ExtensionFileFilter;24 22 import org.openstreetmap.josm.actions.JosmAction; 25 23 import org.openstreetmap.josm.data.coor.LatLon; … … 29 27 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 30 28 import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer; 29 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 31 30 import org.openstreetmap.josm.io.GpxImporter; 32 31 import org.openstreetmap.josm.io.GpxReader; … … 103 102 String fn = file.getName(); 104 103 if (new OsmImporter().acceptFile(file)) { 105 DataSet dataSet = OsmReader.parseDataSet(new FileInputStream(file), null, Main.pleaseWaitDlg);104 DataSet dataSet = OsmReader.parseDataSet(new FileInputStream(file), NullProgressMonitor.INSTANCE); 106 105 OsmDataLayer layer = new OsmDataLayer(dataSet, fn, file); 107 106 Main.main.addLayer(layer);
Note:
See TracChangeset
for help on using the changeset viewer.