Changeset 4418 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2011-09-13T10:26:37+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CopyCoordinatesAction.java
r4381 r4418 4 4 5 5 import java.awt.event.ActionEvent; 6 import java.awt.event.KeyEvent; 6 7 import java.util.Collection; 7 8 import java.util.Collections; 8 9 import org.openstreetmap.josm.data.osm.Node; 9 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 11 import org.openstreetmap.josm.tools.Shortcut; 10 12 import org.openstreetmap.josm.tools.Utils; 11 13 … … 14 16 public CopyCoordinatesAction() { 15 17 super(tr("Copy Coordinates"), null, 16 tr("Copy coordinates of selected nodes to clipboard."), null, false); 18 tr("Copy coordinates of selected nodes to clipboard."), 19 Shortcut.registerShortcut("copy:coordinates", tr("Edit: {0}", tr("Copy Coordinates")), KeyEvent.VK_C, Shortcut.GROUP_MENU, Shortcut.SHIFT_DEFAULT), 20 false); 17 21 putValue("toolbar", "copy/coordinates"); 18 22 }
Note:
See TracChangeset
for help on using the changeset viewer.