Changeset 27847 in osm for applications


Ignore:
Timestamp:
2012-02-17T23:09:13+01:00 (13 years ago)
Author:
stoecker
Message:

readd shortcut

Location:
applications/editors/josm/plugins/ext_tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ext_tools/build.xml

    r27569 r27847  
    3232    <property name="commit.message" value="ExtTools: help shortcut paser, rebuild"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4847"/>
     34    <property name="plugin.main.version" value="4969"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/ext_tools/src/ext_tools/ExtToolAction.java

    r27838 r27847  
    2121
    2222    public ExtToolAction(ExtTool tool) {
    23         super(tr(tool.name), "empty", tool.description, null
    24                 null,
    25                 ImageProvider.getCursor("crosshair", null));
     23        super(tr(tool.name), "empty", tool.description,
     24            Shortcut.registerShortcut(tr("exttool:{0}", tool.name), tr("External Tool: {0}", tool.name),
     25                KeyEvent.CHAR_UNDEFINED, Shortcut.NONE),
     26            null, ImageProvider.getCursor("crosshair", null));
    2627        this.tool = tool;
    2728        setEnabled(true);
Note: See TracChangeset for help on using the changeset viewer.