Changeset 27546 in osm for applications/editors


Ignore:
Timestamp:
2012-01-21T23:19:40+01:00 (13 years ago)
Author:
stoecker
Message:

make shortcut parsing possible

Location:
applications/editors/josm/plugins/reverter/src/reverter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reverter/src/reverter/ObjectsHistoryAction.java

    r23192 r27546  
    1414    public ObjectsHistoryAction() {
    1515        super(tr("Objects history"),null,tr("History reverter"),
    16                 Shortcut.registerShortcut("tool:history",
    17                         "Tool: Display objects history dialog",
    18                         KeyEvent.VK_H, Shortcut.GROUP_EDIT,
    19                         Shortcut.SHIFT_DEFAULT),
     16            Shortcut.registerShortcut("tool:history",
     17                "Tool: Display objects history dialog",
     18                KeyEvent.VK_H, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT),
    2019                true);
    2120        setEnabled(false);
  • applications/editors/josm/plugins/reverter/src/reverter/RevertChangesetAction.java

    r27091 r27546  
    1717    public RevertChangesetAction() {
    1818        super(tr("Revert changeset"),"revert-changeset",tr("Revert changeset"),
    19                 Shortcut.registerShortcut("tool:revert",
    20                         tr("Tool: {0}", tr("Revert changeset")),
    21                         KeyEvent.VK_T, Shortcut.GROUP_EDIT,
    22                         Shortcut.SHIFT_DEFAULT),
     19            Shortcut.registerShortcut("tool:revert",
     20                tr("Tool: {0}", tr("Revert changeset")),
     21                KeyEvent.VK_T, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT),
    2322                true);
    2423    }
Note: See TracChangeset for help on using the changeset viewer.