Changeset 27852 in osm for applications


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

fix shortcut deprecation

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

Legend:

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

    r27242 r27852  
    44    <property name="commit.message" value="Moar bugfixes"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="4645"/>
     6    <property name="plugin.main.version" value="4980"/>
    77    <!--
    88      ************************************************
  • applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLineAction.java

    r27597 r27852  
    4141        public CommandLineAction(CommandLine parentPlugin) {
    4242                super(tr("Command line"), "blankmenu", tr("Set input focus to the command line."),
    43                 Shortcut.registerShortcut("edit:simplifyArea", tr("Tool: {0}", tr("Command line")), KeyEvent.VK_ENTER, Shortcut.GROUP_DIRECT), true);
     43                Shortcut.registerShortcut("edit:simplifyArea", tr("Tool: {0}", tr("Command line")), KeyEvent.VK_ENTER, Shortcut.DIRECT), true);
    4444                this.parentPlugin = parentPlugin;
    4545        }
  • applications/editors/josm/plugins/Create_grid_of_ways/build.xml

    r27831 r27852  
    3232    <property name="commit.message" value="Changed constructor signature, updated build.xml"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3636    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/Create_grid_of_ways/src/CreateGridOfWaysPlugin/CreateGridOfWaysAction.java

    r27831 r27852  
    3333    public CreateGridOfWaysAction() {
    3434        super(tr("Create grid of ways"), "creategridofways", tr("Forms a grid of ways in base to two existing that have various nodes and one in common"), Shortcut.registerShortcut("tools:CreateGridOfWays", tr("Tool: {0}", tr("Create grid of ways")),
    35         KeyEvent.VK_G, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT1), true);
    36 /* en mis otras pruebas esto terminaba : Shortcut.GROUP_EDIT), true);
    37 /* le puse tecla G de shortcut pero parece que esta usado por tools:unglue , buscar otro */
     35        KeyEvent.VK_G, Shortcut.SHIFT), true);
    3836    }
    3937
  • applications/editors/josm/plugins/DirectUpload/build.xml

    r27019 r27852  
    2727<project name="DirectUpload" default="dist" basedir=".">
    2828    <property name="commit.message" value="applied JOSM Ticket 4498 (patch by ax) - oauth support for gpx upload (I accidentally committed parts of the path in [24236])"/>
    29     <property name="plugin.main.version" value="4549"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/DirectUpload/src/org/openstreetmap/josm/plugins/DirectUpload/UploadDataGuiPlugin.java

    r24236 r27852  
    3737            super(tr("Upload Traces"), "UploadAction", tr("Uploads traces to openstreetmap.org"),
    3838                Shortcut.registerShortcut("tools:uploadtraces", tr("Tool: {0}", tr("Upload Traces")),
    39                 KeyEvent.VK_G, Shortcut.GROUP_MENU), false);
     39                KeyEvent.VK_G, Shortcut.CTRL), false);
    4040        }
    4141       
  • applications/editors/josm/plugins/FastDraw/build.xml

    r27826 r27852  
    3232    <property name="commit.message" value="FastDraw: shortcut parsing"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawingMode.java

    r27841 r27852  
    9393    FastDrawingMode(MapFrame mapFrame) {
    9494        super(tr("FastDrawing"), "turbopen.png", tr("Fast drawing mode"),
    95                 Shortcut.registerShortcut("mapmode:fastdraw", tr("Mode: {0}", tr("Fast drawing mode")), KeyEvent.VK_F, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT1)
     95                Shortcut.registerShortcut("mapmode:fastdraw", tr("Mode: {0}", tr("Fast drawing mode")), KeyEvent.VK_F, Shortcut.SHIFT)
    9696                ,mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    9797        line=new DrawnPolyLine();
  • applications/editors/josm/plugins/FixAddresses/build.xml

    r27824 r27852  
    9696                <attribute name="de_Plugin-Description" value="Findet ungültige Addressen und bietet Unterstützung zur deren Korrektur."/>
    9797                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/FixAddresses"/>
    98                 <attribute name="Plugin-Mainversion" value="4549"/>
     98                <attribute name="Plugin-Mainversion" value="4980"/>
    9999                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    100100                <attribute name="Plugin-Icon" value="images/fixaddresses.png"/>
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixUnresolvedStreetsAction.java

    r27825 r27852  
    3131                                tr("Find and fix addresses without (valid) streets."),
    3232                                Shortcut.registerShortcut("tools:AddressEdit", tr("Tool: {0}",
    33                                 tr("Address Edit")), KeyEvent.VK_X, Shortcut.GROUPS_ALT1+Shortcut.GROUP_MENU), false);
     33                                tr("Address Edit")), KeyEvent.VK_X, Shortcut.CTRL_SHIFT), false);
    3434
    3535                setEnabled(false);
  • applications/editors/josm/plugins/HouseNumberTaggingTool/build.xml

    r27650 r27852  
    3232    <property name="commit.message" value="Initial version."/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4789"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!-- should not be necessary to change the following properties -->
    3636    <property name="josm" location="../../core/dist/josm-custom.jar"/>
  • applications/editors/josm/plugins/HouseNumberTaggingTool/src/org/openstreetmap/josm/plugins/housenumbertool/LaunchAction.java

    r27768 r27852  
    2727            "home-icon32",
    2828            "Launches the HouseNumberTaggingTool dialog",
    29             Shortcut.registerShortcut("edit:housenumbertaggingtool", "HouseNumberTaggingTool", KeyEvent.VK_K, Shortcut.GROUP_EDIT),
     29            Shortcut.registerShortcut("edit:housenumbertaggingtool", "HouseNumberTaggingTool", KeyEvent.VK_K, Shortcut.DIRECT),
    3030            true);
    3131
  • applications/editors/josm/plugins/OpeningHoursEditor/build.xml

    r27805 r27852  
    3232    <property name="commit.message" value="fixed main version"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/OhePlugin.java

    r27808 r27852  
    8888                    tr("Edit time-tag of selected element in a graphical interface"), Shortcut.registerShortcut(
    8989                            "tools:opening_hourseditor", tr("Tool: {0}", tr("Edit opening hours")), KeyEvent.VK_O,
    90                             Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), false);
     90                            Shortcut.ALT_CTRL_SHIFT), false);
    9191        }
    9292
  • applications/editors/josm/plugins/addrinterpolation/build.xml

    r27834 r27852  
    2323<project name="AddrInterpolation" default="dist" basedir=".">
    2424    <property name="commit.message" value="Impoved Icon"/>
    25     <property name="plugin.main.version" value="4928"/>
     25    <property name="plugin.main.version" value="4980"/>
    2626    <!--
    2727      ************************************************
  • applications/editors/josm/plugins/addrinterpolation/src/org/openstreetmap/josm/plugins/AddrInterpolation/AddrInterpolationAction.java

    r27834 r27852  
    2525        super(tr("Address Interpolation"), "AddrInterpolation", tr("Handy Address Interpolation Functions"),
    2626                Shortcut.registerShortcut("tools:AddressInterpolation", tr("Tool: {0}", tr("Address Interpolation")),
    27                         KeyEvent.VK_Z, Shortcut.GROUP_MENU+Shortcut.GROUPS_ALT2), false);
     27                        KeyEvent.VK_Z, Shortcut.ALT_CTRL), false);
    2828        setEnabled(false);
    2929        DataSet.addSelectionListener(this);
  • applications/editors/josm/plugins/alignways/build.xml

    r27810 r27852  
    3535        with
    3636    -->
    37     <property name="plugin.main.version" value="4928"/>
     37    <property name="plugin.main.version" value="4980"/>
    3838    <!--
    3939        ************************************************ ** should not be
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysAction.java

    r27810 r27852  
    3333                        + "around a chosen pivot."),
    3434                                Shortcut.registerShortcut("tools:alignways", tr("Tool: {0}", tr("Align Ways")),
    35                                 KeyEvent.VK_SPACE, Shortcut.GROUP_DIRECT+Shortcut.GROUPS_ALT1)
     35                                KeyEvent.VK_SPACE, Shortcut.SHIFT)
    3636                                , true);
    3737        setEnabled(false);
  • applications/editors/josm/plugins/alignways/src/com/tilusnet/josm/plugins/alignways/AlignWaysMode.java

    r27810 r27852  
    4545                Shortcut.registerShortcut("mapmode:alignways",
    4646                        tr("Mode: {0}", tr("Align Ways")),
    47                         KeyEvent.VK_N, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT1),
     47                        KeyEvent.VK_N, Shortcut.SHIFT),
    4848                        mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    4949        noneSelected = new AlignWaysSelNoneState();
  • applications/editors/josm/plugins/buildings_tools/build.xml

    r27791 r27852  
    3232    <property name="commit.message" value="BuildingTools: shortcut changes - binary"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/buildings_tools/src/buildings_tools/BuildingSizeAction.java

    r27793 r27852  
    1515        super(tr("Set buildings size"), "mapmode/building", tr("Set buildings size"),
    1616                Shortcut.registerShortcut("edit:buildingsdialog", tr("Edit: {0}", tr("Set buildings size")),
    17                 KeyEvent.VK_B, Shortcut.GROUP_DIRECT2+Shortcut.GROUPS_ALT2),
     17                KeyEvent.VK_B, Shortcut.ALT_CTRL),
    1818                true);
    1919    }
  • applications/editors/josm/plugins/buildings_tools/src/buildings_tools/DrawBuildingAction.java

    r27587 r27852  
    6767                Shortcut.registerShortcut("mapmode:buildings",
    6868                        tr("Mode: {0}", tr("Draw buildings")),
    69                         KeyEvent.VK_B, Shortcut.GROUP_EDIT),
     69                        KeyEvent.VK_B, Shortcut.DIRECT),
    7070                mapFrame, getCursor());
    7171
  • applications/editors/josm/plugins/cadastre-fr/build.xml

    r27788 r27852  
    3232    <property name="ant.build.javac.target" value="1.5"/>
    3333    <property name="commit.message" value="Changed constructor for Plugin"/>
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <target name="init">
    3636        <mkdir dir="${plugin.build.dir}"/>
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/Address.java

    r27827 r27852  
    9595        super(tr("Add address"), "buildings",
    9696                tr("Helping tool for tag address"),
    97                 Shortcut.registerShortcut("mapmode:buildings", tr("Mode: {0}", tr("Buildings")), KeyEvent.VK_E, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1),
     97                Shortcut.registerShortcut("mapmode:buildings", tr("Mode: {0}", tr("Buildings")), KeyEvent.VK_E, Shortcut.ALT_CTRL_SHIFT),
    9898                mapFrame, getCursor());
    9999    }
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePreferenceSetting.java

    r27484 r27852  
    1010
    1111import org.openstreetmap.josm.Main;
    12 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
     12import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting;
    1313import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
    1414import org.openstreetmap.josm.tools.GBC;
     
    2121 * @author Pieren <pieren3@gmail.com>
    2222 */
    23 public class CadastrePreferenceSetting implements PreferenceSetting {
     23public class CadastrePreferenceSetting extends DefaultTabPreferenceSetting {
    2424
    2525    static final int TRANS_MIN = 1;
     
    9191    static final int DEFAULT_CROSSPIECES = 0;
    9292
    93     public void addGui(final PreferenceTabbedPane gui) {
    94 
    95         String description = tr("A special handler of the French cadastre wms at www.cadastre.gouv.fr" + "<BR><BR>"
     93    public CadastrePreferenceSetting() {
     94        super("cadastrewms.gif", I18n.tr("French cadastre WMS"),
     95            tr("A special handler of the French cadastre wms at www.cadastre.gouv.fr" + "<BR><BR>"
    9696                + "Please read the Terms and Conditions of Use here (in French): <br>"
    9797                + "<a href=\"http://www.cadastre.gouv.fr/scpc/html/CU_01_ConditionsGenerales_fr.html\"> "
    9898                + "http://www.cadastre.gouv.fr/scpc/html/CU_01_ConditionsGenerales_fr.html</a> <BR>"
    99                 + "before any upload of data created by this plugin.");
    100         JPanel cadastrewmsMast = gui.createPreferenceTab("cadastrewms.gif", I18n.tr("French cadastre WMS"), description);
     99                + "before any upload of data created by this plugin.")
     100        );
     101    }
     102
     103
     104    public void addGui(final PreferenceTabbedPane gui) {
     105        JPanel cadastrewmsMast = gui.createPreferenceTab(this);
    101106
    102107        JPanel cadastrewms = new JPanel(new GridBagLayout());
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java

    r27788 r27852  
    2626        super(tr(name), "cadastre_small", tr("Download Image from French Cadastre WMS"),
    2727                Shortcut.registerShortcut("cadastre:grab", tr("Cadastre: {0}", tr("Download Image from French Cadastre WMS")),
    28                 KeyEvent.VK_F10, Shortcut.GROUP_DIRECT), false);
     28                KeyEvent.VK_F10, Shortcut.DIRECT), false);
    2929    }
    3030
  • applications/editors/josm/plugins/conflation/build.xml

    r27837 r27852  
    3232    <property name="commit.message" value="Commit message"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/conflation/src/org/openstreetmap/josm/plugins/conflation/ConflationAction.java

    r27837 r27852  
    2121        super(tr("Conflation"), "conflation", tr("Conflation tool for merging data"),
    2222                Shortcut.registerShortcut("tool:conflation", tr("Tool: {0}", tr("Conflation")),
    23                 KeyEvent.VK_A, Shortcut.GROUP_MENU+Shortcut.GROUPS_ALT1), true);
     23                KeyEvent.VK_A, Shortcut.CTRL_SHIFT), true);
    2424        //setEnabled(false);
    2525        //DataSet.selListeners.add(this);
  • applications/editors/josm/plugins/czechaddress/build.xml

    r27807 r27852  
    3333            <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/CS:JOSM/Plugins/CzechAddress"/>
    3434            <attribute name="Plugin-Icon" value="images/preferences/czech_flag.png"/>
    35             <attribute name="Plugin-Mainversion" value="4928"/>
     35            <attribute name="Plugin-Mainversion" value="4980"/>
    3636            <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3737        </manifest>
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/actions/ConflictResolveAction.java

    r15558 r27852  
    2727              Shortcut.registerShortcut("address:resolveconflict",
    2828                        "Adresy: Zobrazit konflikty",
    29                         KeyEvent.VK_R, Shortcut.GROUP_NONE, Shortcut.SHIFT_DEFAULT),
     29                        KeyEvent.CHAR_UNDEFINED, Shortcut.NONE),
    3030              true);
    3131    }
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/actions/FactoryAction.java

    r27815 r27852  
    4040              Shortcut.registerShortcut( "mapmode:clickaddress",
    4141                  "Sputit továrnu na adresy",
    42                   KeyEvent.VK_K, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT2),
     42                  KeyEvent.VK_K, Shortcut.ALT_SHIFT),
    4343              frame,
    4444              ImageProvider.getCursor("crosshair", "envelope-star-small"));
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/actions/GroupManipulatorAction.java

    r15166 r27852  
    2828              Shortcut.registerShortcut("address:assignaddress",
    2929                        "Adresy: Přiřadit adresy",
    30                         KeyEvent.VK_P, Shortcut.GROUP_DIRECT, Shortcut.SHIFT_DEFAULT),
     30                        KeyEvent.VK_P, Shortcut.SHIFT),
    3131              true);
    3232    }
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/actions/PointManipulatorAction.java

    r27839 r27852  
    3030                Shortcut.registerShortcut("tools:newaddress",
    3131                        "Adresy: Vytvořit/upravit adres",
    32                         KeyEvent.VK_W, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1),
     32                        KeyEvent.VK_W, Shortcut.ALT_CTRL_SHIFT),
    3333                true);
    3434    }
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/actions/SplitAreaByEmptyWayAction.java

    r27807 r27852  
    4343              Shortcut.registerShortcut("tools:splitarea",
    4444                    tr("Tool: {0}", tr("Split area")),
    45                     KeyEvent.VK_W, Shortcut.GROUP_DIRECT2+Shortcut.GROUPS_ALT1),
     45                    KeyEvent.VK_W, Shortcut.ALT_SHIFT),
    4646              true);
    4747    }
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/FactoryDialog.java

    r27612 r27852  
    6262               "Umožňuje rychlé vytváření adresních bodů „jedním kliknutím.“",
    6363                Shortcut.registerShortcut("subwindow:addressfactory","Přepnout: Továrna na adresy",
    64                     KeyEvent.VK_T, Shortcut.GROUP_LAYER),
     64                    KeyEvent.VK_T, Shortcut.ALT),
    6565                200);
    6666
  • applications/editors/josm/plugins/download_along/build.xml

    r27832 r27852  
    3232    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/download_along/src/org/openstreetmap/josm/plugin/download_along/DownloadAlong.java

    r27832 r27852  
    5656          tr("Download OSM data along the selected ways."),
    5757          Shortcut.registerShortcut("tools:download_along", tr("Tool: {0}",
    58           tr("Download Along")), KeyEvent.VK_D, Shortcut.GROUP_EDIT+
    59           Shortcut.GROUPS_ALT2), true);
     58          tr("Download Along")), KeyEvent.VK_D, Shortcut.ALT_SHIFT), true);
    6059    }
    6160
  • applications/editors/josm/plugins/globalsat/build.xml

    r27834 r27852  
    3232    <property name="commit.message" value="Changed constructor signature of plugin main class"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3636    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatPlugin.java

    r27836 r27852  
    108108            tr("Import Data from Globalsat Datalogger DG100 into GPX layer."),
    109109            Shortcut.registerShortcut("menu:globalsatimport", tr("Menu: {0}", tr("Globalsat Import")),
    110             KeyEvent.VK_G, Shortcut.GROUP_MENU+Shortcut.GROUPS_ALT2), false);
     110            KeyEvent.VK_G, Shortcut.ALT_CTRL), false);
    111111        }
    112112        public void actionPerformed(ActionEvent e){
  • applications/editors/josm/plugins/gpxfilter/build.xml

    r27820 r27852  
    3232    <property name="commit.message" value="GPXFilter: moved to Alt-Shift-X"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4960"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/gpxfilter/src/gpxfilter/AddEGpxLayerAction.java

    r27820 r27852  
    1515    public AddEGpxLayerAction() {
    1616        super(tr("Add EGPX layer"),null,tr("Add EGPX layer"),
    17                 Shortcut.registerShortcut("gpxfilter:egpx", tr("Tool: {0}", tr("Add EGPX layer")),
    18                         KeyEvent.VK_X, Shortcut.GROUPS_ALT1+Shortcut.GROUP_LAYER), true);
     17            Shortcut.registerShortcut("gpxfilter:egpx", tr("Tool: {0}", tr("Add EGPX layer")),
     18                 KeyEvent.VK_X, Shortcut.ALT_SHIFT),
     19            true, "gpxfilter/addegpxlayer", true);
    1920    }
    2021
  • applications/editors/josm/plugins/imageryadjust/build.xml

    r27769 r27852  
    3232    <property name="commit.message" value="ImageryAdjust: Adjust while holding Y"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/imageryadjust/src/imageryadjust/ImageryAdjustMapMode.java

    r27769 r27852  
    3737                tr("Adjust the position of the selected imagery layer"),
    3838                Shortcut.registerShortcut("imageryadjust:adjustmode", tr("Mode: {0}", tr("Adjust imagery")),
    39                 KeyEvent.VK_Y, Shortcut.GROUP_DIRECT2+Shortcut.GROUPS_ALT2),
     39                KeyEvent.VK_Y, Shortcut.ALT_CTRL),
    4040                mapFrame,
    4141                ImageProvider.getCursor("normal", "move"));
  • applications/editors/josm/plugins/imagewaypoint/build.xml

    r27768 r27852  
    3232    <property name="commit.message" value="Updated the constructor signature of the plugin main class"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3636    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointDialog.java

    r27768 r27852  
    189189        tr("Display non-geotagged photos"),
    190190        Shortcut.registerShortcut("subwindow:imagewaypoint", tr("Toggle: {0}", tr("WayPoint Image")),
    191         KeyEvent.VK_Y, Shortcut.GROUP_LAYER+Shortcut.GROUPS_ALT1),
     191        KeyEvent.VK_Y, Shortcut.ALT_SHIFT),
    192192        200);
    193193
  • applications/editors/josm/plugins/importvec/build.xml

    r27826 r27852  
    3232    <property name="commit.message" value="Commit message"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/ImportVectorAction.java

    r27841 r27852  
    4545    public ImportVectorAction() {
    4646        super(tr("Import..."), "open", tr("Import vector graphics."),
    47                 Shortcut.registerShortcut("system:import", tr("File: {0}", tr("Import...")), KeyEvent.VK_I, Shortcut.GROUP_MENU+Shortcut.GROUPS_ALT2), false);
     47                Shortcut.registerShortcut("system:import", tr("File: {0}", tr("Import...")), KeyEvent.VK_I, Shortcut.ALT_CTRL), false);
    4848        // Avoid to override "open" toolbar function
    4949        putValue("toolbar", "importvec");
  • applications/editors/josm/plugins/infomode/build.xml

    r27557 r27852  
    3232    <property name="commit.message" value="InfoMode : for shortcurt parser"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4667"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!-- should not be necessary to change the following properties -->
    3636    <property name="josm" location="../../core/dist/josm-custom.jar"/>
  • applications/editors/josm/plugins/infomode/src/org/openstreetmap/josm/plugins/infomode/InfoMode.java

    r27591 r27852  
    5959    InfoMode(MapFrame mapFrame) {
    6060        super(tr("InfoMode"), "infomode.png", tr("GPX info mode"),
    61                 Shortcut.registerShortcut("mapmode:infomode", tr("Mode: {0}", tr("GPX info mode")), KeyEvent.VK_BACK_SLASH, Shortcut.GROUP_EDIT), mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
     61                Shortcut.registerShortcut("mapmode:infomode", tr("Mode: {0}", tr("GPX info mode")), KeyEvent.VK_BACK_SLASH, Shortcut.DIRECT), mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    6262        infoPanel=new InfoPanel();
    6363       
  • applications/editors/josm/plugins/irsrectify/build.xml

    r27821 r27852  
    3232    <property name="commit.message" value="irsrectify shortcut confilct"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4960"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/irsrectify/src/irsrectify/IRSRectifyPlugin.java

    r27821 r27852  
    4343        public IRSRectifyAction() {
    4444            super(tr("Update IRS adjustment layer"), "irsrectify.png", tr("Update IRS adjustment layer"),
    45                     Shortcut.registerShortcut("menu:irsrectify", tr("Update IRS adjustment layer"), KeyEvent.VK_MULTIPLY, Shortcut.GROUP_DIRECT), false);
     45                    Shortcut.registerShortcut("menu:irsrectify", tr("Update IRS adjustment layer"), KeyEvent.VK_MULTIPLY, Shortcut.DIRECT), false);
    4646        }
    4747
  • applications/editors/josm/plugins/junctionchecking/build.xml

    r27817 r27852  
    2727<project name="junctionchecking" default="dist" basedir=".">
    2828    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4928"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.build.dir" value="build"/>
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckDialog.java

    r27817 r27852  
    4848                super(tr("JunctionChecking"), "junctionchecker", tr("Open the junctionchecking window."),
    4949                                Shortcut.registerShortcut("subwindow:junctionchecker", tr("Toggle: {0}", tr("junctions")),
    50                                                 KeyEvent.VK_J, Shortcut.GROUP_LAYER+Shortcut.GROUPS_ALT1), 150);
     50                                                KeyEvent.VK_J, Shortcut.ALT_SHIFT), 150);
    5151                plugin = junctionCheckerGuiPlugin;
    5252                //das Digraph Create Panel
  • applications/editors/josm/plugins/lakewalker/build.xml

    r27765 r27852  
    2727<project name="lakewalker" default="dist" basedir=".">
    2828    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4928"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerAction.java

    r27766 r27852  
    5252        super(name, "lakewalker-sml", tr("Lake Walker."),
    5353        Shortcut.registerShortcut("tools:lakewalker", tr("Tool: {0}", tr("Lake Walker")),
    54         KeyEvent.VK_L, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), true);
     54        KeyEvent.VK_L, Shortcut.ALT_CTRL_SHIFT), true);
    5555        this.name = name;
    5656        setEnabled(true);
  • applications/editors/josm/plugins/licensechange/build.xml

    r27766 r27852  
    2626    -->
    2727    <property name="commit.message" value=""/>
    28     <property name="plugin.main.version" value="4928"/>
     28    <property name="plugin.main.version" value="4980"/>
    2929    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3030    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/licensechange/src/org/openstreetmap/josm/plugins/licensechange/CheckAction.java

    r27828 r27852  
    3838    {
    3939        super(tr("License Check"), "licensechange", tr("Performs the license check"),
    40         Shortcut.registerShortcut("tools:licensechange", tr("Tool: {0}", tr("License Check")), KeyEvent.VK_C, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), true);
     40        Shortcut.registerShortcut("tools:licensechange", tr("Tool: {0}", tr("License Check")), KeyEvent.VK_C, Shortcut.ALT_CTRL_SHIFT), true);
    4141        this.plugin = plugin;
    4242    }
  • applications/editors/josm/plugins/licensechange/src/org/openstreetmap/josm/plugins/licensechange/LicenseChangeDialog.java

    r27766 r27852  
    7676        super(tr("Relicensing problems"), "licensechange", tr("Open the relicensing window."),
    7777                Shortcut.registerShortcut("subwindow:licensechange", tr("Toggle: {0}", tr("Relicensing problems")),
    78                         KeyEvent.VK_L, Shortcut.GROUP_DIRECT2+Shortcut.GROUPS_ALT2), 150);
     78                        KeyEvent.VK_L, Shortcut.ALT_CTRL), 150);
    7979
    8080        this.plugin = plugin;
  • applications/editors/josm/plugins/livegps/build.xml

    r27830 r27852  
    2727<project name="livegps" default="dist" basedir=".">
    2828    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4928"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsDialog.java

    r27830 r27852  
    4545        super(tr("Live GPS"), "livegps", tr("Show GPS data."),
    4646        Shortcut.registerShortcut("subwindow:livegps", tr("Toggle: {0}", tr("Live GPS")),
    47         KeyEvent.VK_G, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), 100);
     47        KeyEvent.VK_G, Shortcut.ALT_CTRL_SHIFT), 100);
    4848        panel = new JPanel();
    4949        panel.setLayout(new GridLayout(6,2));
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsPlugin.java

    r26217 r27852  
    4949                    Shortcut.registerShortcut("menu:livegps:capture", tr(
    5050                            "Menu: {0}", tr("Capture GPS Track")),
    51                             KeyEvent.VK_R, Shortcut.GROUP_MENU), true);
     51                            KeyEvent.VK_R, Shortcut.CTRL), true);
    5252        }
    5353
     
    6363                    Shortcut.registerShortcut("edit:centergps", tr("Edit: {0}",
    6464                            tr("Center Once")), KeyEvent.VK_HOME,
    65                             Shortcut.GROUP_EDIT), true);
     65                            Shortcut.DIRECT), true);
    6666        }
    6767
     
    8181                    Shortcut.registerShortcut("menu:livegps:autocenter", tr(
    8282                            "Menu: {0}", tr("Capture GPS Track")),
    83                             KeyEvent.VK_HOME, Shortcut.GROUP_MENU), true);
     83                            KeyEvent.VK_HOME, Shortcut.CTRL), true);
    8484        }
    8585
  • applications/editors/josm/plugins/mapdust/build.xml

    r27767 r27852  
    33    <!-- properties -->
    44    <property name="commit.message" value="MapDust bug reporter plugin"/>
    5     <property name="plugin.main.version" value="4928"/>
     5    <property name="plugin.main.version" value="4980"/>
    66    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    77    <property name="plugin.build.dir" value="build/classes"/>
  • applications/editors/josm/plugins/mapdust/src/org/openstreetmap/josm/plugins/mapdust/MapdustPlugin.java

    r27767 r27852  
    125125        /* create MapDust GUI */
    126126        Shortcut shortcut = Shortcut.registerShortcut("MapDust", tr("Toggle: {0}", tr("Open MapDust")),
    127                 KeyEvent.VK_0, Shortcut.GROUP_LAYER+Shortcut.GROUPS_ALT1);
     127                KeyEvent.VK_0, Shortcut.ALT_SHIFT);
    128128        String name = "MapDust bug reports";
    129129        String tooltip = "Activates the MapDust bug reporter plugin";
  • applications/editors/josm/plugins/measurement/build.xml

    r27826 r27852  
    2727<project name="measurement" default="dist" basedir=".">
    2828    <property name="commit.message" value="recompile dure to core change"/>
    29     <property name="plugin.main.version" value="4928"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java

    r27826 r27852  
    6767        super(tr("Measured values"), "measure", tr("Open the measurement window."),
    6868        Shortcut.registerShortcut("subwindow:measurement", tr("Toggle: {0}", tr("Measured values")),
    69         KeyEvent.VK_U, Shortcut.GROUP_DIRECT3), 150);
     69        KeyEvent.VK_U, Shortcut.CTRL_SHIFT), 150);
    7070
    7171        resetButton = new SideButton(marktr("Reset"), "select", "Measurement",
  • applications/editors/josm/plugins/merge-overlap/build.xml

    r27802 r27852  
    3232    <property name="commit.message" value="MergeOverlap: help shortcut parser, rebuild"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535
    3636    <import file="../build-common.xml"/>
  • applications/editors/josm/plugins/merge-overlap/src/mergeoverlap/MergeOverlapAction.java

    r27802 r27852  
    5555                                tr("Merge overlap of ways."),
    5656                                Shortcut.registerShortcut("tools:mergeoverlap",tr("Tool: {0}", tr("Merge overlap")), KeyEvent.VK_O,
    57                                 Shortcut.GROUP_HOTKEY+Shortcut.GROUPS_ALT2)
     57                                Shortcut.ALT_CTRL)
    5858                                , true);
    5959        }
  • applications/editors/josm/plugins/michigan_left/build.xml

    r27797 r27852  
    3232    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/michigan_left/src/MichiganLeft/MichiganLeft.java

    r27797 r27852  
    5050          tr("Adds no left turn for sets of 4 or 5 ways."),
    5151          Shortcut.registerShortcut("tools:michigan_left", tr("Tool: {0}",
    52           tr("Michigan Left")), KeyEvent.VK_N, Shortcut.GROUP_EDIT
    53           +Shortcut.GROUPS_ALT2), true);
     52          tr("Michigan Left")), KeyEvent.VK_N, Shortcut.ALT_SHIFT), true);
    5453    }
    5554
  • applications/editors/josm/plugins/mirrored_download/build.xml

    r27678 r27852  
    8686                <attribute name="Plugin-Description" value="Simplifies download from different read-only APIs."/>
    8787                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/mirrored_download"/>
    88                 <attribute name="Plugin-Mainversion" value="4549"/>
     88                <attribute name="Plugin-Mainversion" value="4980"/>
    8989                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    9090            </manifest>
  • applications/editors/josm/plugins/mirrored_download/src/mirrored_download/DownloadAction2.java

    r27843 r27852  
    2929    public DownloadAction2() {
    3030        super(tr("Download from OSM mirror..."), null, tr("Download map data from the OSM server."),
    31                 Shortcut.registerShortcut("mirror:download", tr("File: {0}", tr("Download from OSM mirror...")), KeyEvent.VK_DOWN, Shortcut.GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);
     31                Shortcut.registerShortcut("mirror:download", tr("File: {0}", tr("Download from OSM mirror...")), KeyEvent.VK_DOWN, Shortcut.ALT_SHIFT), true);
    3232        putValue("help", ht("/Action/MirroredDownload"));
    3333    }
  • applications/editors/josm/plugins/mirrored_download/src/mirrored_download/UrlSelectionAction.java

    r27691 r27852  
    2525    public UrlSelectionAction() {
    2626        super(tr("Select URL..."), null, tr("Select URL to download from."),
    27                 Shortcut.registerShortcut("file:selecturl", tr("File: {0}", tr("Select URL...")), KeyEvent.VK_D, Shortcut.GROUPS_ALT1+Shortcut.GROUP_HOTKEY), true);
     27                Shortcut.registerShortcut("file:selecturl", tr("File: {0}", tr("Select URL...")), KeyEvent.VK_D, Shortcut.CTRL_SHIFT), true);
    2828        putValue("help", ht("/Action/SelectUrl"));
    2929    }
  • applications/editors/josm/plugins/multipoly-convert/build.xml

    r27796 r27852  
    3232    <property name="commit.message" value="Mulpipoly-convert: help shortcut parser, rebuild"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535
    3636    <import file="../build-common.xml"/>
  • applications/editors/josm/plugins/multipoly-convert/src/converttomultipoly/MultipolyAction.java

    r27796 r27852  
    4040                Shortcut.registerShortcut("tools:multipolyconv", tr("Tool: {0}",
    4141                    tr("Convert to multipolygon")), KeyEvent.VK_M,
    42                     Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), true);
     42                    Shortcut.ALT_CTRL_SHIFT), true);
    4343    }
    4444
  • applications/editors/josm/plugins/openstreetbugs/build.xml

    r27817 r27852  
    2727<project name="openstreetbugs" default="dist" basedir=".">
    2828    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4928"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java

    r27817 r27852  
    115115                tr("Opens the OpenStreetBugs window and activates the automatic download"), Shortcut.registerShortcut(
    116116                        "view:openstreetbugs", tr("Toggle: {0}", tr("Open OpenStreetBugs")), KeyEvent.VK_B,
    117                         Shortcut.GROUP_LAYER+Shortcut.GROUPS_ALT1), 150);
     117                        Shortcut.ALT_SHIFT), 150);
    118118
    119119        osbPlugin = plugin;
  • applications/editors/josm/plugins/openvisible/build.xml

    r27826 r27852  
    3232    <property name="commit.message" value="Changed the constructor signature of the plugin main class; updated build.xml"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3636    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/openvisible/src/at/dallermassl/josm/plugin/openvisible/OpenVisibleAction.java

    r27826 r27852  
    4949        tr("Open only files that are visible in current view."),
    5050        Shortcut.registerShortcut("tools:openvisible", tr("Menu: {0}", tr("Open Visible...")),
    51         KeyEvent.VK_I, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), true);
     51        KeyEvent.VK_I, Shortcut.ALT_CTRL_SHIFT), true);
    5252    }
    5353
  • applications/editors/josm/plugins/pdfimport/build.xml

    r27119 r27852  
    3333    <property name="commit.message" value="Initial pdfimport version"/>
    3434    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35     <property name="plugin.main.version" value="4549"/>
     35    <property name="plugin.main.version" value="4980"/>
    3636    <!-- compilation properties -->
    3737    <property name="josm.build.dir" value="../../core"/>
  • applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfImportAction.java

    r27592 r27852  
    2020                    tr("Import PDF file."),
    2121                    Shortcut.registerShortcut("tools:pdfimport", tr("Tool: {0}",tr("Import PDF file")),
    22                     KeyEvent.VK_P,Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT)
     22                    KeyEvent.VK_P, Shortcut.SHIFT)
    2323                    , true);
    2424        }
  • applications/editors/josm/plugins/print/build.xml

    r27466 r27852  
    3232    <property name="commit.message" value="Added a field to specify the map scale."/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4733"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!-- should not be necessary to change the following properties -->
    3636    <property name="josm" location="../../core/dist/josm-custom.jar"/>
  • applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintAction.java

    r27593 r27852  
    4747        super(tr("Print..."), null, tr("Print the map"),
    4848        Shortcut.registerShortcut("print:print", tr("File: {0}", tr("Print...")),
    49         KeyEvent.VK_P, Shortcut.GROUP_MENU),
     49        KeyEvent.VK_P, Shortcut.CTRL),
    5050        true, "print/print", true);
    5151    }
  • applications/editors/josm/plugins/reltoolbox/build.xml

    r27813 r27852  
    3232    <property name="commit.message" value="RelToolbox"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • 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    }
  • applications/editors/josm/plugins/restart/build.xml

    r27833 r27852  
    3232    <property name="commit.message" value="Commit message"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/restart/src/josmrestartplugin/RestartJosmAction.java

    r27833 r27852  
    1818                Shortcut.registerShortcut("file:restart",
    1919                tr("File: {0}", tr("Restart JOSM")),
    20                 KeyEvent.VK_J, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1),
     20                KeyEvent.VK_J, Shortcut.ALT_CTRL_SHIFT),
    2121                false);
    2222        putValue("toolbar", "action/restart");
  • applications/editors/josm/plugins/reverter/build.xml

    r27794 r27852  
    3232    <property name="commit.message" value="Reverter: moved menu to Alt-Y (conflicts), recompile"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/reverter/src/reverter/ObjectsHistoryAction.java

    r27794 r27852  
    1616            Shortcut.registerShortcut("tool:history",
    1717                "Tool: Display objects history dialog",
    18                 KeyEvent.VK_H, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1),
     18                KeyEvent.VK_H, Shortcut.ALT_CTRL_SHIFT),
    1919                true);
    2020        setEnabled(false);
  • applications/editors/josm/plugins/reverter/src/reverter/RevertChangesetAction.java

    r27795 r27852  
    1919            Shortcut.registerShortcut("tool:revert",
    2020                tr("Tool: {0}", tr("Revert changeset")),
    21                 KeyEvent.VK_T, Shortcut.GROUP_DIRECT3),
     21                KeyEvent.VK_T, Shortcut.CTRL_SHIFT),
    2222                true);
    2323    }
  • applications/editors/josm/plugins/roadsigns/build.xml

    r27675 r27852  
    3030    <property name="commit.message" value="preset maintenance (Fahrradstraße)"/>
    3131    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    32     <property name="plugin.main.version" value="4721"/>
     32    <property name="plugin.main.version" value="4980"/>
    3333
    3434    <!--
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignsPlugin.java

    r22420 r27852  
    5252        public RoadSignAction() {
    5353            super(tr("Roadsign tagging"), "pref/roadsigns-small", tr("Add tags by clicking on road signs"),
    54                     Shortcut.registerShortcut("plugin:roadsigns:dialog", tr("Roadsigns plugin: open dialog"), KeyEvent.VK_R, Shortcut.GROUP_LAYER), false);
     54                    Shortcut.registerShortcut("plugin:roadsigns:dialog", tr("Roadsigns plugin: open dialog"), KeyEvent.VK_R, Shortcut.ALT), false);
    5555        }
    5656
  • applications/editors/josm/plugins/routes/build.xml

    r27019 r27852  
    2727<project name="routes" default="dist" basedir=".">
    2828    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    29     <property name="plugin.main.version" value="4549"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RelationEditMode.java

    r23189 r27852  
    2727    public RelationEditMode(MapFrame mapFrame) {
    2828        super(tr("Edit relation"), "node/autonode", tr("Edit relations"),
    29                 Shortcut.registerShortcut("mapmode:editRelation", tr("Mode: {0}", tr("Edit relation")), KeyEvent.VK_H, Shortcut.GROUP_EDIT),
     29                Shortcut.registerShortcut("mapmode:editRelation", tr("Mode: {0}", tr("Edit relation")), KeyEvent.VK_H, Shortcut.DIRECT),
    3030                mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    3131    }
  • applications/editors/josm/plugins/routing/build.xml

    r27288 r27852  
    2727<project name="routing" default="dist" basedir=".">
    2828    <property name="commit.message" value="fixed NPE at startup"/>
    29     <property name="plugin.main.version" value="4669"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <!-- Define some properties -->
    3131    <property name="josm" location="../../core/dist/josm-custom.jar"/>
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/gui/RoutingDialog.java

    r27466 r27852  
    6868    public RoutingDialog() {
    6969        super(tr("Routing"), "routing", tr("Open a list of routing nodes"),
    70                 Shortcut.registerShortcut("subwindow:relations", tr("Toggle: {0}", tr("Routing")), KeyEvent.VK_R, Shortcut.GROUP_LAYER), 150);
     70                Shortcut.registerShortcut("subwindow:relations", tr("Toggle: {0}", tr("Routing")), KeyEvent.VK_R, Shortcut.ALT), 150);
    7171        model = new DefaultListModel();
    7272        createLayout(getJScrollPane(), false, null);
  • applications/editors/josm/plugins/simplifyarea/build.xml

    r27816 r27852  
    3232    <property name="commit.message" value="Initial commit"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/simplifyarea/src/sk/zdila/josm/plugin/simplify/SimplifyAreaAction.java

    r27841 r27852  
    4747    public SimplifyAreaAction() {
    4848        super(tr("Simplify Area"), "simplify", tr("Delete unnecessary nodes from an area."),
    49                 Shortcut.registerShortcut("tools:simplifyArea", tr("Tool: {0}", tr("Simplify Area")), KeyEvent.VK_Y, Shortcut.GROUP_MENU+Shortcut.GROUPS_ALT1), true);
     49                Shortcut.registerShortcut("tools:simplifyArea", tr("Tool: {0}", tr("Simplify Area")), KeyEvent.VK_Y, Shortcut.CTRL_SHIFT), true);
    5050    }
    5151
  • applications/editors/josm/plugins/smed/build.xml

    r27811 r27852  
    3232    <property name="commit.message" value="New release"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!-- should not be necessary to change the following properties -->
    3636    <property name="josm" location="../../core/dist/josm-custom.jar"/>
  • applications/editors/josm/plugins/smed/src/smed/tabs/SmedTabAction.java

    r27811 r27852  
    3838        super( editor, "Smed",editor,
    3939            Shortcut.registerShortcut("tools:Seamaps", tr("Tool: {0}", tr("SeaMap Editor")),
    40             KeyEvent.VK_K, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT1),
     40            KeyEvent.VK_K, Shortcut.SHIFT),
    4141            true);  //$NON-NLS-1$ //$NON-NLS-2$
    4242    }
  • applications/editors/josm/plugins/surveyor/build.xml

    r27806 r27852  
    3232    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3636    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveAction.java

    r27812 r27852  
    3838        super(tr("AutoSave LiveData"), "autosave.png", tr("Save captured data to file every minute."),
    3939        Shortcut.registerShortcut("surveyor:autosave", tr("Tool: {0}", tr("AutoSave LiveData")),
    40         KeyEvent.VK_S, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), true);
     40        KeyEvent.VK_S, Shortcut.ALT_CTRL_SHIFT), true);
    4141    }
    4242
  • applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorShowAction.java

    r16290 r27852  
    4646        super(tr("Surveyor..."), "surveyormenu.png", tr("Open surveyor tool."),
    4747        Shortcut.registerShortcut("surveyor:open", tr("Tool: {0}", tr("Surveyor...")),
    48         KeyEvent.VK_R, Shortcut.GROUP_MENU, Shortcut.SHIFT_DEFAULT), true);
     48        KeyEvent.VK_R, Shortcut.CTRL_SHIFT), true);
    4949        this.gpsPlugin = gpsPlugin;
    5050    }
  • applications/editors/josm/plugins/tageditor/build.xml

    r27576 r27852  
    2727<project name="tageditor" default="dist" basedir=".">
    2828    <property name="commit.message" value="Tageditor:  help shortcut parser, rebuild"/>
    29     <property name="plugin.main.version" value="4847"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <!--
    3131      ************************************************
  • applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/LaunchAction.java

    r27675 r27852  
    2727                tr("Launches the tag editor dialog"),
    2828                Shortcut.registerShortcut("edit:launchtageditor", tr("Launches the tag editor dialog"),
    29                         KeyEvent.VK_T,Shortcut.GROUP_EDIT)
     29                        KeyEvent.VK_T,Shortcut.DIRECT)
    3030                , true, "tageditor/launch", true);
    3131
  • applications/editors/josm/plugins/tagging-preset-tester/build.xml

    r27823 r27852  
    2727<project name="tagging-preset-tester" default="dist" basedir=".">
    2828    <property name="commit.message" value="fix shortcuts conflict"/>
    29     <property name="plugin.main.version" value="4960"/>
     29    <property name="plugin.main.version" value="4980"/>
    3030    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    3131    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTesterAction.java

    r27840 r27852  
    2828        Shortcut.registerShortcut("tools:taggingpresettester",
    2929        tr("Tool: {0}", tr("Tagging Preset Tester")),
    30         KeyEvent.VK_T, Shortcut.GROUPS_ALT1+Shortcut.GROUP_DIRECT3), true);
     30        KeyEvent.VK_T, Shortcut.ALT_CTRL_SHIFT), true);
    3131        Main.main.menu.helpMenu.addSeparator();
    3232        MainMenu.add(Main.main.menu.helpMenu, this);
  • applications/editors/josm/plugins/terracer/build.xml

    r27826 r27852  
    3232    <property name="ant.build.javac.target" value="1.5"/>
    3333    <property name="commit.message" value="applied #j5760 (patch by robome) - Order of housenumbers not correct"/>
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <target name="init">
    3636        <mkdir dir="${plugin.build.dir}"/>
  • applications/editors/josm/plugins/terracer/src/terracer/ReverseTerraceAction.java

    r27834 r27852  
    4141            Shortcut.registerShortcut("tools:ReverseTerrace",
    4242                    tr("Tool: {0}", tr("Reverse a Terrace")),
    43                     KeyEvent.VK_V, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1),
     43                    KeyEvent.VK_V, Shortcut.ALT_CTRL_SHIFT),
    4444                        true);
    4545    }
  • applications/editors/josm/plugins/terracer/src/terracer/TerracerAction.java

    r27826 r27852  
    7171                Shortcut.registerShortcut("tools:Terracer", tr("Tool: {0}",
    7272                        tr("Terrace a building")), KeyEvent.VK_T,
    73                         Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT1), true);
     73                        Shortcut.SHIFT), true);
    7474    }
    7575
  • applications/editors/josm/plugins/tracer/build.xml

    r27354 r27852  
    3232    <property name="commit.message" value="adapt to latest josm (getNodePairs changed)"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4549"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/TracerAction.java

    r26610 r27852  
    4242
    4343    public TracerAction(MapFrame mapFrame) {
    44         super(tr("Tracer"), "tracer-sml", tr("Tracer."), Shortcut.registerShortcut("tools:tracer", tr("Tool: {0}", tr("Tracer")), KeyEvent.VK_T, Shortcut.GROUP_EDIT), mapFrame, getCursor());
     44        super(tr("Tracer"), "tracer-sml", tr("Tracer."), Shortcut.registerShortcut("tools:tracer", tr("Tool: {0}", tr("Tracer")), KeyEvent.VK_T, Shortcut.DIRECT), mapFrame, getCursor());
    4545    }
    4646
  • applications/editors/josm/plugins/trustosm/build.xml

    r27819 r27852  
    3232    <property name="commit.message" value="New plugin for digital signing osm data"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4961"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/actions/ExportSigsAction.java

    r27819 r27852  
    1717        public ExportSigsAction() {
    1818                super(tr("Export sigs..."), "exportsigs", tr("Export all signatures to XML file."),
    19                                 Shortcut.registerShortcut("file:exportsigs", tr("Export sigs to XML..."), KeyEvent.VK_X, Shortcut.GROUPS_ALT2+Shortcut.GROUP_MENU));
     19                                Shortcut.registerShortcut("file:exportsigs", tr("Export sigs to XML..."), KeyEvent.VK_X, Shortcut.ALT_CTRL));
    2020        }
    2121
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/actions/GetMissingDataAction.java

    r25785 r27852  
    2323        public GetMissingDataAction() {
    2424                super(tr("Download OSM"),"getmissing",tr("Get all referenced but not actually present OSM objects from OSM server."),
    25                                 Shortcut.registerShortcut("gpg:download", tr("Download referenced osm objects..."), KeyEvent.VK_T, Shortcut.GROUP_MENU),true);
     25                                Shortcut.registerShortcut("gpg:download", tr("Download referenced osm objects..."), KeyEvent.VK_T, Shortcut.CTRL),true);
    2626        }
    2727
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/gui/dialogs/TrustDialog.java

    r27819 r27852  
    187187                super(tr("Object signatures"), "trustosm", tr("Open object signing window."),
    188188                                Shortcut.registerShortcut("subwindow:trustosm", tr("Toggle: {0}", tr("Object signatures")),
    189                                                 KeyEvent.VK_T, Shortcut.GROUPS_ALT2+Shortcut.GROUP_DIRECT2), 150);
     189                                                KeyEvent.VK_T, Shortcut.ALT_CTRL), 150);
    190190
    191191                Main.map.mapView.addTemporaryLayer(this);
  • applications/editors/josm/plugins/undelete/build.xml

    r27803 r27852  
    3232    <property name="commit.message" value="adapt to core changes (backwards compatible)"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/Undelete.java

    r27803 r27852  
    6868        public UndeleteAction() {
    6969        super(tr("Undelete object..."), "undelete", tr("Undelete object by id"), Shortcut.registerShortcut("tools:undelete", tr("File: {0}", tr("Undelete object...")),
    70         KeyEvent.VK_U, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT2), true);
     70        KeyEvent.VK_U, Shortcut.ALT_SHIFT), true);
    7171      }
    7272
  • applications/editors/josm/plugins/utilsplugin2/build.xml

    r27761 r27852  
    3232    <property name="commit.message" value="Utilsplugin2: fixing shortcut deprecation"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4937"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/AddIntersectionsAction.java

    r27835 r27852  
    2929    public AddIntersectionsAction() {
    3030        super(tr("Add nodes at intersections"), "addintersect", tr("Add missing nodes at intersections of selected ways."),
    31                 Shortcut.registerShortcut("tools:addintersect", tr("Tool: {0}", tr("Add nodes at intersections")), KeyEvent.VK_N, Shortcut.GROUPS_ALT1+Shortcut.GROUP_DIRECT3), true);
     31                Shortcut.registerShortcut("tools:addintersect", tr("Tool: {0}", tr("Add nodes at intersections")), KeyEvent.VK_N, Shortcut.ALT_CTRL_SHIFT), true);
    3232        putValue("help", ht("/Action/AddIntersections"));
    3333    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/ExtractPointAction.java

    r27761 r27852  
    3434                tr("Extracts node from a way"),
    3535                Shortcut.registerShortcut("tools:extnode", tr("Tool: {0}","Extract node"),
    36                 KeyEvent.VK_J, Shortcut.GROUP_DIRECT2  ), true);
     36                KeyEvent.VK_J, Shortcut.ALT), true);
    3737        putValue("help", ht("/Action/ExtractNode"));
    3838    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/LatLonAction.java

    r27761 r27852  
    3131    public LatLonAction() {
    3232        super(tr("Lat Lon tool"), "latlon", tr("Create geometry by entering lat lon coordinates for it."),
    33                 Shortcut.registerShortcut("latlon", tr("Edit: {0}", tr("Lat Lon tool")), KeyEvent.VK_L, Shortcut.GROUP_DIRECT3), true);
     33                Shortcut.registerShortcut("latlon", tr("Edit: {0}", tr("Lat Lon tool")), KeyEvent.VK_L, Shortcut.CTRL_SHIFT), true);
    3434        putValue("help", ht("/Action/AddNode"));
    3535    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/SplitObjectAction.java

    r27616 r27852  
    4343        super(tr("Split Object"), "splitobject", tr("Split an object at the selected nodes."),
    4444                Shortcut.registerShortcut("tools:splitobject", tr("Tool: {0}", tr("Split Object")),
    45                 KeyEvent.VK_P,  Shortcut.GROUP_MENU)
     45                KeyEvent.VK_P,  Shortcut.CTRL)
    4646                , true);
    4747        putValue("help", ht("/Action/SplitObject"));
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/SymmetryAction.java

    r27761 r27852  
    3636        super(tr("Symmetry"), "symmetry", tr("Mirror selected nodes and ways."),
    3737                Shortcut.registerShortcut("tools:symmetry", tr("Tool: {0}", tr("Symmetry")),
    38                         KeyEvent.VK_S, Shortcut.GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);
     38                        KeyEvent.VK_S, Shortcut.ALT_SHIFT), true);
    3939        putValue("help", ht("/Action/Symmetry"));
    4040    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/UnGlueRelationAction.java

    r27761 r27852  
    4343    public UnGlueRelationAction() {
    4444        super(tr("UnGlue Relation"), "ungluerelations", tr("Duplicate nodes, ways and relations that are used by multiple relations."),
    45               Shortcut.registerShortcut("tools:ungluerelation", tr("Tool: {0}", tr("UnGlue Relations")), KeyEvent.VK_G, Shortcut.GROUPS_ALT1+Shortcut.GROUP_DIRECT2 ), true);
     45              Shortcut.registerShortcut("tools:ungluerelation", tr("Tool: {0}", tr("UnGlue Relations")), KeyEvent.VK_G, Shortcut.ALT_SHIFT ), true);
    4646        putValue("help", ht("/Action/UnGlueRelation"));
    4747    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/curves/CurveAction.java

    r27761 r27852  
    3131        super(tr("Circle arc"), "circlearc", tr("Create a circle arc"),
    3232                Shortcut.registerShortcut("tools:createcurve", tr("Tool: {0}", tr("Create a circle arc")), KeyEvent.VK_C,
    33                         Shortcut.GROUPS_ALT1+Shortcut.GROUP_EDIT), true);
     33                        Shortcut.SHIFT), true);
    3434        putValue("help", ht("/Action/CreateCircleArc"));
    3535        updatePreferences();
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/customurl/OpenPageAction.java

    r27761 r27852  
    3636                tr("Opens specified URL browser"),
    3737                Shortcut.registerShortcut("tools:openurl", tr("Tool: {0}", tr("Open custom URL")),
    38                 KeyEvent.VK_H, Shortcut.GROUPS_ALT1+Shortcut.GROUP_EDIT), true);
     38                KeyEvent.VK_H, Shortcut.SHIFT), true);
    3939        putValue("help", ht("/Action/OpenPage"));
    4040    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/AlignWayNodesAction.java

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

    r27761 r27852  
    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}",  tr("Paste Relations")), KeyEvent.VK_V, Shortcut.GROUPS_ALT2+Shortcut.GROUP_MENU), true);
     23                Shortcut.registerShortcut("tools:pasterelations", tr("Tool: {0}",  tr("Paste Relations")), KeyEvent.VK_V, Shortcut.ALT_CTRL), true);
    2424    }
    2525
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/ReplaceGeometryAction.java

    r27761 r27852  
    3333    public ReplaceGeometryAction() {
    3434        super(TITLE, "dumbutils/replacegeometry", tr("Replace geometry of selected object with a new one"),
    35                 Shortcut.registerShortcut("tools:replacegeometry", tr("Tool: {0}", tr("Replace Geometry")), KeyEvent.VK_G, Shortcut.GROUPS_ALT1+Shortcut.GROUP_MENU)
     35                Shortcut.registerShortcut("tools:replacegeometry", tr("Tool: {0}", tr("Replace Geometry")), KeyEvent.VK_G, Shortcut.CTRL_SHIFT)
    3636                , true);
    3737    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/SplitOnIntersectionsAction.java

    r27764 r27852  
    2727        super(TITLE, "dumbutils/splitonintersections", tr("Split adjacent ways on T-intersections"),
    2828                Shortcut.registerShortcut("tools:splitonintersections", tr("Tool: {0}", tr("Split adjacent ways")),
    29                 KeyEvent.VK_P, Shortcut.GROUP_DIRECT3+Shortcut.GROUPS_ALT1), true);
     29                KeyEvent.VK_P, Shortcut.ALT_CTRL_SHIFT), true);
    3030    }
    3131
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/TagBufferAction.java

    r27761 r27852  
    2424    public TagBufferAction() {
    2525        super(TITLE, "dumbutils/tagbuffer", tr("Pastes tags of previously selected object(s)"),
    26                 Shortcut.registerShortcut("tools:tagbuffer", tr("Tool: {0}", tr("Copy tags from previous selection")), KeyEvent.VK_R, Shortcut.GROUPS_ALT1+Shortcut.GROUP_EDIT)
     26                Shortcut.registerShortcut("tools:tagbuffer", tr("Tool: {0}", tr("Copy tags from previous selection")), KeyEvent.VK_R, Shortcut.SHIFT)
    2727                , true);
    2828    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/TagSourceAction.java

    r27761 r27852  
    2424    public TagSourceAction() {
    2525        super(TITLE, "dumbutils/sourcetag", tr("Add remembered source tag"),
    26                 Shortcut.registerShortcut("tools:sourcetag", tr("Tool: {0}", tr("Add Source Tag")), KeyEvent.VK_S, Shortcut.GROUPS_ALT2+Shortcut.GROUP_MENU)
     26                Shortcut.registerShortcut("tools:sourcetag", tr("Tool: {0}", tr("Add Source Tag")), KeyEvent.VK_S, Shortcut.ALT_CTRL)
    2727                , true);
    2828        source = Main.pref.get("sourcetag.value");
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/AdjacentNodesAction.java

    r25876 r27852  
    2525        super(tr("Adjacent nodes"), "adjnodes", tr("Select adjacent nodes"),
    2626                Shortcut.registerShortcut("tools:adjnodes", tr("Tool: {0}","Adjacent nodes"),
    27                 KeyEvent.VK_E, Shortcut.GROUP_EDIT), true);
     27                KeyEvent.VK_E, Shortcut.DIRECT), true);
    2828        putValue("help", ht("/Action/AdjacentNodes"));
    2929    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/AdjacentWaysAction.java

    r27761 r27852  
    2626                tr("Adjacent ways will be selected. Nodes will be deselected."),
    2727                Shortcut.registerShortcut("tools:adjways", tr("Tool: {0}","Adjacent ways"),
    28                 KeyEvent.VK_E, Shortcut.GROUPS_ALT1+Shortcut.GROUP_EDIT), true);
     28                KeyEvent.VK_E, Shortcut.SHIFT), true);
    2929        putValue("help", ht("/Action/AdjacentWays"));
    3030    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/ConnectedWaysAction.java

    r27761 r27852  
    2323        super(tr("All connected ways"), "adjwaysall", tr("Select all connected ways"),
    2424                Shortcut.registerShortcut("tools:adjwaysall", tr("Tool: {0}","All connected ways"),
    25                 KeyEvent.VK_E, Shortcut.GROUPS_ALT1+Shortcut.GROUP_MENU), true);
     25                KeyEvent.VK_E, Shortcut.CTRL_SHIFT), true);
    2626        putValue("help", ht("/Action/SelectConnectedWays"));
    2727    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/IntersectedWaysAction.java

    r26644 r27852  
    2525        super(tr("Intersecting ways"), "intway", tr("Select intersecting ways"),
    2626                Shortcut.registerShortcut("tools:intway", tr("Tool: {0}","Intersecting ways"),
    27                 KeyEvent.VK_I, Shortcut.GROUP_EDIT), true);
     27                KeyEvent.VK_I, Shortcut.DIRECT), true);
    2828        putValue("help", ht("/Action/SelectIntersectingWays"));
    2929    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/IntersectedWaysRecursiveAction.java

    r27841 r27852  
    2525        super(tr("All intersecting ways"), "intwayall", tr("Select all intersecting ways"),
    2626                Shortcut.registerShortcut("tools:intwayall", tr("Tool: {0}","All intersecting ways"),
    27                 KeyEvent.VK_MULTIPLY, Shortcut.GROUP_MENU), true);
     27                KeyEvent.VK_MULTIPLY, Shortcut.CTRL), true);
    2828        putValue("help", ht("/Action/SelectAllIntersectingWays"));
    2929
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/MiddleNodesAction.java

    r27761 r27852  
    2727        super(tr("Middle nodes"), "midnodes", tr("Select middle nodes"),
    2828                Shortcut.registerShortcut("tools:midnodes", tr("Tool: {0}","Middle nodes"),
    29                 KeyEvent.VK_E,  Shortcut.GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);
     29                KeyEvent.VK_E,  Shortcut.ALT_SHIFT), true);
    3030        putValue("help", ht("/Action/MiddleNodes"));
    3131    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectAllInsideAction.java

    r27761 r27852  
    2929        super(tr("All inside [testing]"), "selinside", tr("Select all inside selected polygons"),
    3030                Shortcut.registerShortcut("tools:selinside", tr("Tool: {0}","All inside"),
    31                 KeyEvent.VK_I, Shortcut.GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);
     31                KeyEvent.VK_I, Shortcut.ALT_SHIFT), true);
    3232        putValue("help", ht("/Action/SelectAllInside"));
    3333    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectBoundaryAction.java

    r27761 r27852  
    3636        super(tr("Area boundary [testing]"), "selboundary", tr("Select relation or all ways that forms area boundary"),
    3737                Shortcut.registerShortcut("tools:selboundary", tr("Tool: {0}","Area boundary [testing]"),
    38                 KeyEvent.VK_SLASH, Shortcut.GROUPS_ALT1+Shortcut.GROUP_EDIT), true);
     38                KeyEvent.VK_SLASH, Shortcut.SHIFT), true);
    3939        putValue("help", ht("/Action/SelectAreaBoundary"));
    4040    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectHighwayAction.java

    r27761 r27852  
    2424        super(tr("Select Highway"), "selecthighway", tr("Select highway for the name/ref given"),
    2525                Shortcut.registerShortcut("tools:selecthighway", tr("Tool: {0}","Select Highway"),
    26                 KeyEvent.VK_W, Shortcut.GROUPS_ALT2+Shortcut.GROUP_MENU), true);
     26                KeyEvent.VK_W, Shortcut.ALT_CTRL), true);
    2727    }
    2828
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectModNodesAction.java

    r27761 r27852  
    2828                tr("Select last modified nodes"),
    2929                Shortcut.registerShortcut("tools:selmodnodes", tr("Tool: {0}","Select last modified nodes"),
    30                 KeyEvent.VK_Z, Shortcut.GROUPS_ALT1+Shortcut.GROUP_EDIT), true);
     30                KeyEvent.VK_Z, Shortcut.SHIFT), true);
    3131        putValue("help", ht("/Action/SelectLastModifiedNodes"));
    3232    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectModWaysAction.java

    r27834 r27852  
    2828                tr("Select last modified ways"),
    2929                Shortcut.registerShortcut("tools:selmodways", tr("Tool: {0}","Select last modified ways"),
    30                 KeyEvent.VK_Z,  Shortcut.GROUP_DIRECT2+Shortcut.GROUPS_ALT1), true);
     30                KeyEvent.VK_Z,  Shortcut.ALT_SHIFT), true);
    3131        putValue("help", ht("/Action/SelectLastModifiedWays"));
    3232    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectWayNodesAction.java

    r27761 r27852  
    3131    public SelectWayNodesAction() {
    3232        super(tr("Select Way Nodes"),"selectwaynodes" , tr("Select all nodes of a selected way."),
    33                 Shortcut.registerShortcut("tools:selectwaynodes", tr("Tool: {0}", tr("Select Way Nodes")), KeyEvent.VK_N, Shortcut.GROUPS_ALT1+Shortcut.GROUP_MENU), true);
     33                Shortcut.registerShortcut("tools:selectwaynodes", tr("Tool: {0}", tr("Select Way Nodes")), KeyEvent.VK_N, Shortcut.CTRL_SHIFT), true);
    3434        putValue("help", ht("/Action/SelectWayNodes"));
    3535    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/UndoSelectionAction.java

    r27761 r27852  
    2727                tr("Reselect last added object or selection form history"),
    2828                Shortcut.registerShortcut("tools:undoselection", tr("Tool: {0}","Undo selection"),
    29                 KeyEvent.VK_Z, Shortcut.GROUPS_ALT1+Shortcut.GROUP_MENU), true);
     29                KeyEvent.VK_Z, Shortcut.CTRL_SHIFT), true);
    3030        putValue("help", ht("/Action/UndoSelection"));
    3131    }
  • applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/UnselectNodesAction.java

    r27761 r27852  
    2424                tr("Removes all nodes from selection"),
    2525                Shortcut.registerShortcut("tools:unsnodes", tr("Tool: {0}","Unselect nodes"),
    26                 KeyEvent.VK_U, Shortcut.GROUPS_ALT1+Shortcut.GROUP_EDIT), true);
     26                KeyEvent.VK_U, Shortcut.SHIFT), true);
    2727        putValue("help", ht("/Action/UnselectNodes"));
    2828    }
  • applications/editors/josm/plugins/videomapping/build.xml

    r27354 r27852  
    3232    <property name="commit.message" value="videomapping"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4549"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPlugin.java

    r27786 r27852  
    100100        };       
    101101        VStart = new JosmAction(tr("Play/Pause"), "audio-playpause", tr("starts/pauses video playback"),
    102                 Shortcut.registerShortcut("videomapping:startstop",tr("Video: {0}", tr("Play/Pause")),KeyEvent.VK_NUMPAD5, Shortcut.GROUP_DIRECT), false) {           
     102                Shortcut.registerShortcut("videomapping:startstop",tr("Video: {0}", tr("Play/Pause")),KeyEvent.VK_NUMPAD5, Shortcut.DIRECT), false) {           
    103103            public void actionPerformed(ActionEvent e) {
    104104                gpsVideoPlayer.pause();               
     
    106106        };
    107107        Vbackward = new JosmAction(tr("Backward"), "audio-prev", tr("jumps n sec back"),
    108                 Shortcut.registerShortcut("videomapping:backward",tr("Video: {0}", tr("Backward")),KeyEvent.VK_NUMPAD4, Shortcut.GROUP_DIRECT), false) {
     108                Shortcut.registerShortcut("videomapping:backward",tr("Video: {0}", tr("Backward")),KeyEvent.VK_NUMPAD4, Shortcut.DIRECT), false) {
    109109            public void actionPerformed(ActionEvent e) {
    110110                gpsVideoPlayer.backward();
     
    112112        };
    113113        Vforward= new JosmAction(tr("Forward"), "audio-next", tr("jumps n sec forward"),
    114                 Shortcut.registerShortcut("videomapping:forward",tr("Video: {0}", tr("Forward")),KeyEvent.VK_NUMPAD6, Shortcut.GROUP_DIRECT), false) {           
     114                Shortcut.registerShortcut("videomapping:forward",tr("Video: {0}", tr("Forward")),KeyEvent.VK_NUMPAD6, Shortcut.DIRECT), false) {           
    115115            public void actionPerformed(ActionEvent e) {
    116116                gpsVideoPlayer.forward();
     
    119119        };
    120120        Vfaster= new JosmAction(tr("Faster"), "audio-faster", tr("faster playback"),
    121                 Shortcut.registerShortcut("videomapping:faster",tr("Video: {0}", tr("Faster")),KeyEvent.VK_NUMPAD8, Shortcut.GROUP_DIRECT), false) {
     121                Shortcut.registerShortcut("videomapping:faster",tr("Video: {0}", tr("Faster")),KeyEvent.VK_NUMPAD8, Shortcut.DIRECT), false) {
    122122           
    123123            public void actionPerformed(ActionEvent e) {
     
    127127        };
    128128        Vslower= new JosmAction(tr("Slower"), "audio-slower", tr("slower playback"),
    129                 Shortcut.registerShortcut("videomapping:slower",tr("Video: {0}", tr("Slower")),KeyEvent.VK_NUMPAD2, Shortcut.GROUP_DIRECT), false) {
     129                Shortcut.registerShortcut("videomapping:slower",tr("Video: {0}", tr("Slower")),KeyEvent.VK_NUMPAD2, Shortcut.DIRECT), false) {
    130130           
    131131            public void actionPerformed(ActionEvent e) {
     
    142142        };
    143143        Vloop= new JosmAction(tr("Loop"), "loop", tr("loops n sec around current position"),
    144                 Shortcut.registerShortcut("videomapping:loop",tr("Video: {0}", tr("Loop")),KeyEvent.VK_NUMPAD7, Shortcut.GROUP_DIRECT), false) {           
     144                Shortcut.registerShortcut("videomapping:loop",tr("Video: {0}", tr("Loop")),KeyEvent.VK_NUMPAD7, Shortcut.DIRECT), false) {           
    145145            public void actionPerformed(ActionEvent e) {
    146146                gpsVideoPlayer.toggleLooping();
  • applications/editors/josm/plugins/waydownloader/build.xml

    r27803 r27852  
    2626    -->
    2727    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    28     <property name="plugin.main.version" value="4928"/>
     28    <property name="plugin.main.version" value="4980"/>
    2929    <!--
    3030      ************************************************
  • applications/editors/josm/plugins/waydownloader/src/org/openstreetmap/josm/plugins/waydownloader/WayDownloaderPlugin.java

    r27803 r27852  
    5757                    "way-download",
    5858                    tr("Download map data on the end of selected way"),
    59                     Shortcut.registerShortcut("waydownloader:waydownload", tr("Way Download"), KeyEvent.VK_W, Shortcut.GROUP_MENU+Shortcut.GROUPS_ALT1),
     59                    Shortcut.registerShortcut("waydownloader:waydownload", tr("Way Download"), KeyEvent.VK_W, Shortcut.CTRL_SHIFT),
    6060                    true);
    6161        }
  • applications/editors/josm/plugins/wayselector/build.xml

    r27803 r27852  
    3232    <property name="commit.message" value="recompile due to core change"/>
    3333    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    34     <property name="plugin.main.version" value="4928"/>
     34    <property name="plugin.main.version" value="4980"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/wayselector/src/org/openstreetmap/josm/plugins/wayselector/WaySelectorPlugin.java

    r27803 r27852  
    4545                  "way-select",
    4646                  tr("Select non-branching sequences of ways"),
    47                   Shortcut.registerShortcut("wayselector:wayselect", tr("Way Select"), KeyEvent.VK_W, Shortcut.GROUP_EDIT+Shortcut.GROUPS_ALT1),
     47                  Shortcut.registerShortcut("wayselector:wayselect", tr("Way Select"), KeyEvent.VK_W, Shortcut.SHIFT),
    4848                  true);
    4949        }
Note: See TracChangeset for help on using the changeset viewer.