Changeset 29784 in osm


Ignore:
Timestamp:
2013-07-26T21:06:52+02:00 (11 years ago)
Author:
akks
Message:

[josm_plugins]: use new core function for default menu position (see #josm8900)

Location:
applications/editors/josm/plugins
Files:
1 added
18 edited

Legend:

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

    r29780 r29784  
    44    <property name="commit.message" value="JOSM/CommandLine: fix exception after JOSM update"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5960"/>
     6    <property name="plugin.main.version" value="6088"/>
    77
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java

    r29771 r29784  
    190190
    191191        if ( Main.main.menu != null ) {
    192             commandMenu = Main.main.menu.addMenu(marktr("Commands") , KeyEvent.VK_O, Main.main.menu.defaultMenuPos, ht("/Plugin/CommandLine"));
     192            commandMenu = Main.main.menu.addMenu(marktr("Commands") , KeyEvent.VK_O, Main.main.menu.getDefaultMenuPos(), ht("/Plugin/CommandLine"));
    193193            MainMenu.add(commandMenu, new CommandLineAction(this));
    194194        }
  • applications/editors/josm/plugins/cadastre-fr/build.xml

    r29734 r29784  
    44    <property name="commit.message" value="Changed constructor for Plugin"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="5960"/>
     6    <property name="plugin.main.version" value="6088"/>
    77   
    88    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java

    r29714 r29784  
    210210
    211211        if (cadastreJMenu == null) {
    212             cadastreJMenu = menu.addMenu(marktr("Cadastre"), KeyEvent.VK_C, menu.defaultMenuPos, ht("/Plugin/CadastreFr"));
     212            cadastreJMenu = menu.addMenu(marktr("Cadastre"), KeyEvent.VK_C, menu.getDefaultMenuPos(), ht("/Plugin/CadastreFr"));
    213213            JosmAction grab = new MenuActionGrab();
    214214            JMenuItem menuGrab = new JMenuItem(grab);
  • applications/editors/josm/plugins/czechaddress/build.xml

    r29778 r29784  
    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="6082"/>
     35            <attribute name="Plugin-Mainversion" value="6088"/>
    3636            <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3737        </manifest>
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/CzechAddressPlugin.java

    r29778 r29784  
    188188            GuiHelper.runInEDTAndWait(new Runnable() {
    189189                @Override public void run() {
    190                     czechMenu = Main.main.menu.addMenu(marktr("Adress"), KeyEvent.VK_Z, 4, ht("/Plugin/CzechAddress"));
     190                    czechMenu = Main.main.menu.addMenu(marktr("Adress"), KeyEvent.VK_Z, Main.main.menu.getDefaultMenuPos(), ht("/Plugin/CzechAddress"));
    191191                    menuItems.add(MainMenu.add(czechMenu, new PointManipulatorAction()));
    192192                    menuItems.add(MainMenu.add(czechMenu, new GroupManipulatorAction()));
  • applications/editors/josm/plugins/piclayer/build.xml

    r29601 r29784  
    33    <property name="commit.message" value="PicLayer - #8743 - fixed NPE when removing last layer"/>
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    5     <property name="plugin.main.version" value="5960"/>
     5    <property name="plugin.main.version" value="6088"/>
    66       
    77    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerPlugin.java

    r29601 r29784  
    7474        // Create menu entry
    7575        if ( Main.main.menu != null ) {
    76             menu = Main.main.menu.addMenu(marktr("PicLayer") , KeyEvent.VK_L, Main.main.menu.defaultMenuPos, ht("/Plugin/PicLayer"));
     76            menu = Main.main.menu.addMenu(marktr("PicLayer") , KeyEvent.VK_L, Main.main.menu.getDefaultMenuPos(), ht("/Plugin/PicLayer"));
    7777        }
    7878
  • applications/editors/josm/plugins/public_transport/build.xml

    r29661 r29784  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6010"/>
     7    <property name="plugin.main.version" value="6088"/>
    88
    99    <property name="plugin.author" value="Roland M. Olbricht"/>
  • applications/editors/josm/plugins/public_transport/src/public_transport/PublicTransportPlugin.java

    r27877 r29784  
    3636
    3737    if (jMenu == null)
    38       jMenu = menu.addMenu(marktr("Public Transport"), KeyEvent.VK_COMMA, menu.defaultMenuPos, "help");
     38      jMenu = menu.addMenu(marktr("Public Transport"), KeyEvent.VK_COMMA, menu.getDefaultMenuPos(), "help");
    3939    else
    4040      jMenu.removeAll();
  • applications/editors/josm/plugins/routing/build.xml

    r29596 r29784  
    55    <property name="commit.message" value="added one-way support in roundabouts"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="5960"/>
     7    <property name="plugin.main.version" value="6088"/>
    88
    99    <!--
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/gui/RoutingMenu.java

    r28568 r29784  
    7575        public RoutingMenu() {
    7676                MainMenu mm = Main.main.menu;
    77                 menu = mm.addMenu(marktr("Routing"), KeyEvent.VK_O, mm.defaultMenuPos, ht("/Plugin/Routing"));
     77                menu = mm.addMenu(marktr("Routing"), KeyEvent.VK_O, mm.getDefaultMenuPos(), ht("/Plugin/Routing"));
    7878
    7979                startMI = new JMenuItem(tr("Add routing layer"));
  • applications/editors/josm/plugins/sds/build.xml

    r29684 r29784  
    55    <property name="commit.message" value=""/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="6010"/>
     7    <property name="plugin.main.version" value="6088"/>
    88
    99    <!--
  • applications/editors/josm/plugins/sds/src/org/openstreetmap/hot/sds/SdsMenu.java

    r28160 r29784  
    4040    public SdsMenu(final SeparateDataStorePlugin thePlugin) {
    4141        MainMenu mm = Main.main.menu;
    42         menu = mm.addMenu(marktr("SDS"), KeyEvent.VK_S, mm.defaultMenuPos, null);
     42        menu = mm.addMenu(marktr("SDS"), KeyEvent.VK_S, mm.getDefaultMenuPos(), null);
    4343        saveItem = new JMenuItem(new SdsSaveAction());
    4444        menu.add(saveItem);
  • applications/editors/josm/plugins/trustosm/build.xml

    r29435 r29784  
    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="4980"/>
     34    <property name="plugin.main.version" value="6088"/>
    3535    <!--
    3636      ************************************************
  • applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/TrustOSMplugin.java

    r27829 r29784  
    250250
    251251                if (gpgJMenu == null) {
    252                         gpgJMenu = menu.addMenu(marktr("GPG"), KeyEvent.VK_B, menu.defaultMenuPos, ht("/Plugin/TrustOSM"));
     252                        gpgJMenu = menu.addMenu(marktr("GPG"), KeyEvent.VK_B, menu.getDefaultMenuPos(), ht("/Plugin/TrustOSM"));
    253253                        gpgJMenu.add(new JMenuItem(new ExportSigsAction()));
    254254                }
  • applications/editors/josm/plugins/videomapping/build.xml

    r29782 r29784  
    3333    <property name="commit.message" value="fix after JOSM update"/>
    3434    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35     <property name="plugin.main.version" value="4980"/>
     35    <property name="plugin.main.version" value="6088"/>
    3636
    3737    <!--
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPlugin.java

    r29771 r29784  
    7878
    7979    private void createMenusAndShortCuts() {
    80         VMenu = Main.main.menu.addMenu(marktr("Video"), KeyEvent.VK_Q, Main.main.menu.defaultMenuPos,ht("/Plugin/Videomapping"));
     80        VMenu = Main.main.menu.addMenu(marktr("Video"), KeyEvent.VK_Q, Main.main.menu.getDefaultMenuPos(),ht("/Plugin/Videomapping"));
    8181        VMenu.setEnabled(false);
    8282        VAdd= new JosmAction(tr("Import Video"),"videomapping",tr("Sync a video against this GPS track"),null,false) {
Note: See TracChangeset for help on using the changeset viewer.