Ignore:
Timestamp:
2008-12-25T14:36:26+01:00 (17 years ago)
Author:
stoecker
Message:

updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/UtilsPlugin.java

    r11974 r12579  
    1717import org.openstreetmap.josm.plugins.Plugin;
    1818import org.openstreetmap.josm.gui.MapFrame;
     19import org.openstreetmap.josm.gui.MainMenu;
    1920import org.openstreetmap.josm.gui.IconToggleButton;
    2021import org.openstreetmap.josm.actions.JosmAction;
     
    2425
    2526        public UtilsPlugin() {
    26                 JosmAction action;
    27                
    28                 action = new SimplifyWayAction();
    29                 SimplifyWay = Main.main.menu.toolsMenu.add(action);
    30                 SimplifyWay.setAccelerator(action.shortcut);
     27                SimplifyWay = MainMenu.add(Main.main.menu.toolsMenu, new SimplifyWayAction());
    3128                SimplifyWay.setEnabled(false);
    3229        }
Note: See TracChangeset for help on using the changeset viewer.