Ignore:
Timestamp:
2009-11-01T13:19:59+01:00 (15 years ago)
Author:
stoecker
Message:

updated some stuff to current JOSM

Location:
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java

    r16799 r18404  
    137137        layers = new ArrayList<RoutingLayer>();
    138138        // Add menu
    139         menu = new RoutingMenu(marktr("Routing"));
     139        menu = new RoutingMenu();
    140140        // Register this class as LayerChangeListener
    141141        Layer.listeners.add(this);
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/gui/RoutingMenu.java

    r15710 r18404  
    2828package com.innovant.josm.plugin.routing.gui;
    2929
     30import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    3031import static org.openstreetmap.josm.tools.I18n.tr;
    3132
     
    7172     * @param s
    7273     */
    73     public RoutingMenu(final String name) {
     74    public RoutingMenu() {
    7475        MainMenu mm = Main.main.menu;
    75         menu = mm.addMenu(name, KeyEvent.VK_O, mm.defaultMenuPos);
     76        menu = mm.addMenu(tr("Routing"), KeyEvent.VK_O, mm.defaultMenuPos, ht("/Plugin/Routing"));
    7677
    7778        startMI = new JMenuItem(tr("Add routing layer"));
Note: See TracChangeset for help on using the changeset viewer.