Ignore:
Timestamp:
2013-07-25T21:57:38+02:00 (12 years ago)
Author:
akks
Message:

[josm_plugins]: see #josm6355 - Move most of the other plugins to suitable menus, add Netbeans projects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/FixAddressesPlugin.java

    r29500 r29778  
    1414package org.openstreetmap.josm.plugins.fixAddresses;
    1515
     16import javax.swing.JMenu;
    1617import org.openstreetmap.josm.Main;
    1718import org.openstreetmap.josm.gui.IconToggleButton;
     19import org.openstreetmap.josm.gui.MainMenu;
    1820import org.openstreetmap.josm.gui.MapFrame;
    1921import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
     
    4143
    4244                // ... and add them to the tools menu in main
    43                 Main.main.menu.toolsMenu.addSeparator();
    44                 Main.main.menu.toolsMenu.add(action);
    45                 Main.main.menu.toolsMenu.add(incAddrAction);
     45                MainMenu.add(Main.main.menu.dataMenu, action, false, 0);
     46                MainMenu.add(Main.main.menu.selectionMenu, incAddrAction);
    4647
    4748                // create preferences instance
Note: See TracChangeset for help on using the changeset viewer.