Changeset 18404 in osm for applications/editors/josm/plugins/routing/src
- Timestamp:
- 2009-11-01T13:19:59+01:00 (15 years ago)
- 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 137 137 layers = new ArrayList<RoutingLayer>(); 138 138 // Add menu 139 menu = new RoutingMenu( marktr("Routing"));139 menu = new RoutingMenu(); 140 140 // Register this class as LayerChangeListener 141 141 Layer.listeners.add(this); -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/gui/RoutingMenu.java
r15710 r18404 28 28 package com.innovant.josm.plugin.routing.gui; 29 29 30 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 30 31 import static org.openstreetmap.josm.tools.I18n.tr; 31 32 … … 71 72 * @param s 72 73 */ 73 public RoutingMenu( final String name) {74 public RoutingMenu() { 74 75 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")); 76 77 77 78 startMI = new JMenuItem(tr("Add routing layer"));
Note:
See TracChangeset
for help on using the changeset viewer.