Changeset 27526 in osm for applications/editors


Ignore:
Timestamp:
2012-01-21T14:30:39+01:00 (13 years ago)
Author:
stoecker
Message:

make Shortcut parsing easier

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

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/download_along/src/org/openstreetmap/josm/plugin/download_along/DownloadAlong.java

    r24986 r27526  
    5454    public DownloadAlongAction() {
    5555      super(tr("Download along..."), "download_along",
    56           tr("Download OSM data along the selected ways."), Shortcut
    57               .registerShortcut("tools:download_along", tr("Tool: {0}",
    58                   tr("Download Along")), KeyEvent.VK_D, Shortcut.GROUP_EDIT,
    59                   KeyEvent.SHIFT_DOWN_MASK | KeyEvent.ALT_DOWN_MASK), true);
     56          tr("Download OSM data along the selected ways."),
     57          Shortcut.registerShortcut("tools:download_along", tr("Tool: {0}",
     58          tr("Download Along")), KeyEvent.VK_D, Shortcut.GROUP_EDIT,
     59          KeyEvent.SHIFT_DOWN_MASK | KeyEvent.ALT_DOWN_MASK), true);
    6060    }
    6161
  • applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeft.java

    r23193 r27526  
    4848    public MichiganLeftAction() {
    4949      super(tr("Michigan Left"), "michigan_left",
    50           tr("Adds no left turn for sets of 4 or 5 ways."), Shortcut
    51               .registerShortcut("tools:michigan_left", tr("Tool: {0}",
    52                   tr("Michigan Left")), KeyEvent.VK_M, Shortcut.GROUP_EDIT,
    53                   KeyEvent.SHIFT_DOWN_MASK | KeyEvent.ALT_DOWN_MASK), true);
     50          tr("Adds no left turn for sets of 4 or 5 ways."),
     51          Shortcut.registerShortcut("tools:michigan_left", tr("Tool: {0}",
     52          tr("Michigan Left")), KeyEvent.VK_M, Shortcut.GROUP_EDIT,
     53          KeyEvent.SHIFT_DOWN_MASK | KeyEvent.ALT_DOWN_MASK), true);
    5454    }
    5555
Note: See TracChangeset for help on using the changeset viewer.