Ignore:
Timestamp:
2012-02-18T13:40:52+01:00 (13 years ago)
Author:
stoecker
Message:

fix shortcut deprecation

Location:
applications/editors/josm/plugins/reltoolbox/src/relcontext
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/RelContextDialog.java

    r27818 r27852  
    545545            super("…", null, tr("Enter role for selected members"),
    546546                    Shortcut.registerShortcut("reltoolbox:changerole", tr("Relation Toolbox: {0}", tr("Enter role for selected members")),
    547                     KeyEvent.VK_R, Shortcut.GROUPS_ALT2+Shortcut.GROUP_DIRECT2), true);
     547                    KeyEvent.VK_R, Shortcut.ALT_CTRL), true);
    548548            chosenRelation.addChosenRelationListener(this);
    549549            updateEnabledState();
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/AddRemoveMemberAction.java

    r25751 r27852  
    3434        super(null, "relcontext/addremove", tr("Add/remove members from the chosen relation"),
    3535                Shortcut.registerShortcut("reltoolbox:addremove", tr("Relation Toolbox: {0}", tr("Add/remove members from the chosen relation")),
    36                 KeyEvent.VK_EQUALS, Shortcut.GROUP_EDIT), true);
     36                KeyEvent.VK_EQUALS, Shortcut.DIRECT), true);
    3737        this.rel = rel;
    3838        rel.addChosenRelationListener(this);
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/CreateMultipolygonAction.java

    r26887 r27852  
    3131        super("Multi", "data/multipolygon", tr("Create a multipolygon from selected objects"),
    3232                Shortcut.registerShortcut("reltoolbox:multipolygon", tr("Relation Toolbox: {0}", tr("Create multipolygon")),
    33                 KeyEvent.VK_B, Shortcut.GROUP_HOTKEY), true);
     33                KeyEvent.VK_B, Shortcut.CTRL), true);
    3434        this.chRel = chRel;
    3535        updateEnabledState();
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/CreateRelationAction.java

    r27813 r27852  
    3939        super(tr("New"), "data/relation", tr("Create a relation from selected objects"),
    4040                Shortcut.registerShortcut("reltoolbox:create", tr("Relation Toolbox: {0}", tr("Create a new relation")),
    41                 KeyEvent.VK_N, Shortcut.GROUP_HOTKEY+Shortcut.GROUPS_ALT2), true);
     41                KeyEvent.VK_N, Shortcut.ALT_CTRL), true);
    4242        this.chRel = chRel;
    4343        updateEnabledState();
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/FindRelationAction.java

    r27813 r27852  
    2929        super("Find", "relcontext/find", tr("Find a relation"),
    3030                Shortcut.registerShortcut("reltoolbox:find", tr("Relation Toolbox: {0}", tr("Find a relation")),
    31                 KeyEvent.VK_F, Shortcut.GROUP_HOTKEY+Shortcut.GROUPS_ALT2), true);
     31                KeyEvent.VK_F, Shortcut.ALT_CTRL), true);
    3232        this.chRel = chRel;
    3333    }
Note: See TracChangeset for help on using the changeset viewer.