Changeset 29710 in osm
- Timestamp:
- 2013-06-26T22:32:34+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/imagery-xml-bounds
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery-xml-bounds/build.xml
r29461 r29710 4 4 <property name="commit.message" value="Commit message"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 5821"/>6 <property name="plugin.main.version" value="6031"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/actions/downloadtask/DownloadXmlBoundsTask.java
r26896 r29710 15 15 // along with this program. If not, see <http://www.gnu.org/licenses/>. 16 16 package org.openstreetmap.josm.plugins.imageryxmlbounds.actions.downloadtask; 17 18 import static org.openstreetmap.josm.tools.I18n.tr; 17 19 18 20 import java.util.concurrent.Future; … … 48 50 49 51 @Override 50 public boolean acceptsUrl(String url) { 51 return url != null && (url.equals(XML_LOCATION) || url.matches("http://.*\\."+EXTENSION.replace(".", "\\."))); 52 public String[] getPatterns() { 53 return new String[]{ 54 XML_LOCATION.replace(".", "\\."), 55 "http://.*\\."+EXTENSION.replace(".", "\\.") 56 }; 57 } 58 59 @Override 60 public String getTitle() { 61 return tr("Download imagery XML bounds"); 52 62 } 53 63
Note:
See TracChangeset
for help on using the changeset viewer.