Changeset 1433 in josm
- Timestamp:
- 2009-02-21T14:33:19+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java
r1230 r1433 33 33 new Visitor() { 34 34 public void visit(Node n) { 35 if(n.id <= 0) return; 35 36 OpenBrowser.displayUrl("http://www.openstreetmap.org/browse/node/" + n.id + "/history"); 36 37 sel.add(n); … … 38 39 39 40 public void visit(Way w) { 41 if(w.id <= 0) return; 40 42 OpenBrowser.displayUrl("http://www.openstreetmap.org/browse/way/" + w.id + "/history"); 41 43 sel.add(w); … … 43 45 44 46 public void visit(Relation e) { 47 if(e.id <= 0) return; 45 48 OpenBrowser.displayUrl("http://www.openstreetmap.org/browse/relation/" + e.id + "/history"); 46 49 sel.add(e); … … 55 58 if (sel.isEmpty()) { 56 59 JOptionPane.showMessageDialog(Main.parent, 57 tr("Please select at least one node, way or relation.")); 60 tr("Please select at least one node, way or relation. Only already uploaded elements have a history.")); 58 61 return; 59 62 }
Note:
See TracChangeset
for help on using the changeset viewer.