Ignore:
Timestamp:
2012-01-22T16:23:53+01:00 (12 years ago)
Author:
akks
Message:

'Utilsplugin2: help shortcut parser'

Location:
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/SplitObjectAction.java

    r27547 r27564  
    4242    public SplitObjectAction() {
    4343        super(tr("Split Object"), "splitobject", tr("Split an object at the selected nodes."),
    44                 Shortcut.registerShortcut("tools:splitobject", tr("Tool: {0}", "Split Object"),
     44                Shortcut.registerShortcut("tools:splitobject", tr("Tool: {0}", tr("Split Object")),
    4545                KeyEvent.VK_P,  Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT)
    4646                , true);
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/AlignWayNodesAction.java

    r27543 r27564  
    2323    public AlignWayNodesAction() {
    2424        super(TITLE, "dumbutils/alignwaynodes", tr("Align nodes in a way"),
    25                 Shortcut.registerShortcut("tools:alignwaynodes", tr("Tool: {0}", TITLE), KeyEvent.VK_L, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT)
     25                Shortcut.registerShortcut("tools:alignwaynodes", tr("Tool: {0}", tr("Align Way Nodes")), KeyEvent.VK_L, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT)
    2626                , true);
    2727    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/PasteRelationsAction.java

    r27543 r27564  
    2121    public PasteRelationsAction() {
    2222        super(TITLE, "dumbutils/pasterelations", tr("Paste relation membership from objects in the buffer onto selected object(s)"),
    23                 Shortcut.registerShortcut("tools:pasterelations", tr("Tool: {0}", TITLE), KeyEvent.VK_V, Shortcut.GROUP_MENU, KeyEvent.ALT_DOWN_MASK | KeyEvent.CTRL_DOWN_MASK), true);
     23                Shortcut.registerShortcut("tools:pasterelations", tr("Tool: {0}",  tr("Paste Relations")), KeyEvent.VK_V, Shortcut.GROUP_MENU, KeyEvent.ALT_DOWN_MASK | KeyEvent.CTRL_DOWN_MASK), true);
    2424    }
    2525
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/ReplaceGeometryAction.java

    r27543 r27564  
    2828    public ReplaceGeometryAction() {
    2929        super(TITLE, "dumbutils/replacegeometry", tr("Replace geometry of selected object with a new one"),
    30                 Shortcut.registerShortcut("tools:replacegeometry", tr("Tool: {0}", TITLE), KeyEvent.VK_G, Shortcut.GROUP_HOTKEY, Shortcut.SHIFT_DEFAULT)
     30                Shortcut.registerShortcut("tools:replacegeometry", tr("Tool: {0}", tr("Replace Geometry")), KeyEvent.VK_G, Shortcut.GROUP_HOTKEY, Shortcut.SHIFT_DEFAULT)
    3131                , true);
    3232    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/SplitOnIntersectionsAction.java

    r27543 r27564  
    2626    public SplitOnIntersectionsAction() {
    2727        super(TITLE, "dumbutils/splitonintersections", tr("Split adjacent ways on T-intersections"),
    28                 Shortcut.registerShortcut("tools:splitonintersections", tr("Tool: {0}", TITLE), KeyEvent.VK_P, Shortcut.GROUP_MENU, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK| KeyEvent.SHIFT_DOWN_MASK)
     28                Shortcut.registerShortcut("tools:splitonintersections", tr("Tool: {0}", tr("Split adjacent ways")), KeyEvent.VK_P, Shortcut.GROUP_MENU, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK| KeyEvent.SHIFT_DOWN_MASK)
    2929                , true);
    3030    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/TagBufferAction.java

    r27543 r27564  
    2424    public TagBufferAction() {
    2525        super(TITLE, "dumbutils/tagbuffer", tr("Pastes tags of previously selected object(s)"),
    26                 Shortcut.registerShortcut("tools:tagbuffer", tr("Tool: {0}", TITLE), KeyEvent.VK_R, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
     26                Shortcut.registerShortcut("tools:tagbuffer", tr("Tool: {0}", tr("Copy tags from previous selection")), KeyEvent.VK_R, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT)
     27                , true);
    2728    }
    2829
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/TagSourceAction.java

    r27543 r27564  
    2424    public TagSourceAction() {
    2525        super(TITLE, "dumbutils/sourcetag", tr("Add remembered source tag"),
    26                 Shortcut.registerShortcut("tools:sourcetag", tr("Tool: {0}", TITLE), KeyEvent.VK_S, Shortcut.GROUP_MENU, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK)
     26                Shortcut.registerShortcut("tools:sourcetag", tr("Tool: {0}", tr("Add Source Tag")), KeyEvent.VK_S, Shortcut.GROUP_MENU, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK)
    2727                , true);
    2828        source = Main.pref.get("sourcetag.value");
Note: See TracChangeset for help on using the changeset viewer.