Changeset 1169 in josm for trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java
- Timestamp:
- 2008-12-23T15:07:05+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java
r1084 r1169 18 18 public class HistoryInfoAction extends JosmAction { 19 19 20 21 22 23 20 public HistoryInfoAction() { 21 super(tr("OSM History Information"), "about",tr("Display history information about OSM ways or nodes."), 22 Shortcut.registerShortcut("core:history", tr("OSM History Information"), KeyEvent.VK_H, Shortcut.GROUP_HOTKEY), true); 23 } 24 24 25 25 public void actionPerformed(ActionEvent e) { 26 26 new Visitor() { 27 27 public void visit(Node n) { 28 29 28 OpenBrowser.displayUrl("http://www.openstreetmap.org/browse/node/" + n.id + "/history"); 29 } 30 30 31 31 public void visit(Way w) { … … 43 43 }.visitAll(); 44 44 45 45 } 46 46 47 47 }
Note:
See TracChangeset
for help on using the changeset viewer.