Changeset 30773 in osm for applications
- Timestamp:
- 2014-10-28T21:33:34+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoAdjustMapMode.java
r30737 r30773 4 4 5 5 import java.awt.Cursor; 6 //import java.awt.event.KeyEvent;6 import java.awt.event.KeyEvent; 7 7 import java.awt.event.MouseAdapter; 8 8 import java.awt.event.MouseEvent; … … 20 20 import org.openstreetmap.josm.gui.layer.Layer; 21 21 import org.openstreetmap.josm.gui.layer.geoimage.GeoImageLayer; 22 //import org.openstreetmap.josm.tools.Shortcut;22 import org.openstreetmap.josm.tools.Shortcut; 23 23 24 24 /** … … 44 44 tr("Move and position photos"), 45 45 // It is almost impossible to find an unused shortcut. 46 //Shortcut.registerShortcut("mapmode:photoadjust",47 //tr("Mode: {0}", tr("Adjust photos")),48 // KeyEvent.VK_P,49 // Shortcut.DIRECT),46 Shortcut.registerShortcut("mapmode:photoadjust", 47 tr("Mode: {0}", tr("Adjust photos")), 48 KeyEvent.CHAR_UNDEFINED, 49 Shortcut.NONE), 50 50 mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); 51 51 GeoImageLayer.registerSupportedMapMode(this);
Note:
See TracChangeset
for help on using the changeset viewer.