Changeset 36144 in osm for applications/editors/josm/plugins/pmtiles/src/main
- Timestamp:
- 2023-09-18T20:32:00+02:00 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.