Changeset 36144 in osm for applications/editors/josm
- Timestamp:
- 2023-09-18T20:32:00+02:00 (16 months ago)
- Location:
- applications/editors/josm/plugins/pmtiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pmtiles/build.xml
r36112 r36144 8 8 <property name="commit.message" value="Commit message"/> 9 9 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 10 <property name="plugin.main.version" value="1 0580"/>10 <property name="plugin.main.version" value="18830"/> 11 11 12 12 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/pmtiles/src/main/java/org/openstreetmap/josm/plugins/pmtiles/actions/downloadtasks/DownloadPMTilesTask.java
r36112 r36144 18 18 import org.openstreetmap.josm.gui.MainApplication; 19 19 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 20 import org.openstreetmap.josm.io.XmlWriter;21 20 import org.openstreetmap.josm.plugins.pmtiles.data.imagery.PMTilesImageryInfo; 22 21 import org.openstreetmap.josm.plugins.pmtiles.gui.layers.PMTilesImageLayer; … … 74 73 75 74 @Override 76 public String acceptsDocumentationSummary() {77 // I think this should be a "default" implementation in DownloadTask78 StringBuilder buff = new StringBuilder(128)79 .append("<tr><td>")80 .append(getTitle())81 .append(":</td><td>");82 String[] patterns = getPatterns();83 if (patterns.length > 0) {84 buff.append("<ul>");85 for (String pattern: patterns) {86 buff.append("<li>")87 .append(XmlWriter.encode(pattern))88 .append("</li>");89 }90 buff.append("</ul>");91 }92 buff.append("</td></tr>");93 return buff.toString();94 }95 96 @Override97 75 public String getTitle() { 98 76 return tr("Add PMTiles layer");
Note:
See TracChangeset
for help on using the changeset viewer.