Changeset 25338 in osm for applications/editors/josm/plugins/ext_tools/src/ext_tools/ExtToolAction.java
- Timestamp:
- 2011-02-16T13:29:23+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ext_tools/src/ext_tools/ExtToolAction.java
r21930 r25338 4 4 5 5 import java.awt.event.ActionEvent; 6 import java.awt.event.KeyEvent; 6 7 import java.awt.event.MouseEvent; 7 8 … … 11 12 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 12 13 import org.openstreetmap.josm.tools.ImageProvider; 14 import org.openstreetmap.josm.tools.Shortcut; 13 15 14 16 // TODO: Merge with ExtTool class? … … 20 22 public ExtToolAction(ExtTool tool) { 21 23 super(tr(tool.name), "empty", tool.description, 24 Shortcut.registerShortcut(tr("exttool:{0}", tool.name), tr("External Tool: {0}", tool.name), 25 KeyEvent.VK_K, Shortcut.GROUP_NONE, KeyEvent.CTRL_DOWN_MASK), 22 26 null, 23 27 ImageProvider.getCursor("crosshair", null));
Note:
See TracChangeset
for help on using the changeset viewer.