Changeset 17536 in osm for applications
- Timestamp:
- 2009-09-08T23:45:45+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/openvisible
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openvisible/build.xml
r16587 r17536 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=" 1813"/>28 <attribute name="Plugin-Mainversion" value="2082"/> 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
r16587 r17536 30 30 import org.openstreetmap.josm.io.GpxImporter; 31 31 import org.openstreetmap.josm.io.GpxReader; 32 import org.openstreetmap.josm.io.IllegalDataException; 32 33 import org.openstreetmap.josm.io.OsmImporter; 33 34 import org.openstreetmap.josm.io.OsmReader; 34 35 import org.openstreetmap.josm.tools.Shortcut; 35 36 import org.xml.sax.SAXException; 37 38 import at.dallermassl.josm.plugin.openvisible.OsmGpxBounds; 36 39 37 40 /** … … 94 97 } catch (SAXException e1) { 95 98 e1.printStackTrace(); 99 } catch(IllegalDataException e1) { 100 e1.printStackTrace(); 96 101 } 97 102 } … … 99 104 } 100 105 101 private void openAsData(File file) throws SAXException, IOException, FileNotFoundException {106 private void openAsData(File file) throws SAXException, IOException, FileNotFoundException, IllegalDataException { 102 107 String fn = file.getName(); 103 108 if (new OsmImporter().acceptFile(file)) { -
applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisiblePlugin.java
r14120 r17536 7 7 import org.openstreetmap.josm.gui.MainMenu; 8 8 import org.openstreetmap.josm.plugins.Plugin; 9 import org.openstreetmap.josm.actions.JosmAction;10 9 11 10 /**
Note:
See TracChangeset
for help on using the changeset viewer.