Changeset 13043 in josm
- Timestamp:
- 2017-10-27T00:59:01+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/OpenChangesetPopupMenu.java
r13041 r13043 56 56 new ChangesetViewerEntry(tr("Open {0}", "OSMCha (OSM Changeset Analyzer)"), "https://osmcha.mapbox.com/changesets/{0}"), 57 57 new ChangesetViewerEntry(tr("Open {0}", "OSM History Viewer"), "http://osmhv.openstreetmap.de/changeset.jsp?id={0}"), 58 new ChangesetViewerEntry(tr("Open {0}", "WhoDidIt (OSM Changeset Analyzer)"), "http://simon04.dev.openstreetmap.org/whodidit/index.html?changeset={0}&show=1") 58 new ChangesetViewerEntry(tr("Open {0}", "WhoDidIt (OSM Changeset Analyzer)"), 59 "http://simon04.dev.openstreetmap.org/whodidit/index.html?changeset={0}&show=1") 59 60 ); 60 61 … … 63 64 */ 64 65 public static class ChangesetViewerEntry { 66 /** Name to be displayed in popup menu */ 65 67 @StructEntry 66 68 public String name; 69 /** Templated service url. <code>{0}</code> will be replaced by changeset id */ 67 70 @StructEntry 68 71 public String url; … … 80 83 81 84 Action toAction(final long changesetId) { 82 final String url = MessageFormat.format(this.url, Long.toString(changesetId)); 83 return new OpenBrowserAction(name, url); 85 return new OpenBrowserAction(name, MessageFormat.format(this.url, Long.toString(changesetId))); 84 86 } 85 87 }
Note:
See TracChangeset
for help on using the changeset viewer.