Changeset 26899 in osm for applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap
- Timestamp:
- 2011-10-17T02:54:59+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/ImageryXmlBoundsPlugin.java
r26896 r26899 18 18 import org.openstreetmap.josm.Main; 19 19 import org.openstreetmap.josm.actions.ExtensionFileFilter; 20 import org.openstreetmap.josm.data.Version; 20 21 import org.openstreetmap.josm.data.osm.DataSet; 21 22 import org.openstreetmap.josm.gui.MapFrame; 22 23 import org.openstreetmap.josm.plugins.Plugin; 23 24 import org.openstreetmap.josm.plugins.PluginInformation; 25 import org.openstreetmap.josm.plugins.graphview.plugin.data.JOSMDataSource; 24 26 import org.openstreetmap.josm.plugins.imageryxmlbounds.actions.ShowBoundsListAction; 25 27 import org.openstreetmap.josm.plugins.imageryxmlbounds.actions.ShowBoundsPropertiesAction; … … 74 76 Main.toolbar.register(selectionAction); 75 77 // Allow JOSM to download *.imagery.xml files 76 Main.main.menu.openLocation.addDownloadTaskClass(DownloadXmlBoundsTask.class); 78 if (Version.getInstance().getVersion() >= 4523) { 79 Main.main.menu.openLocation.addDownloadTaskClass(DownloadXmlBoundsTask.class); 80 } 77 81 } 78 82
Note:
See TracChangeset
for help on using the changeset viewer.