Changeset 16799 in osm
- Timestamp:
- 2009-08-03T12:05:48+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/routing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/build.xml
r16409 r16799 44 44 <attribute name="Plugin-Description" value="Provides routing capabilities."/> 45 45 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Routing"/> 46 <attribute name="Plugin-Mainversion" value="1 755"/>46 <attribute name="Plugin-Mainversion" value="1893"/> 47 47 <attribute name="Plugin-Stage" value="50"/> 48 48 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingLayer.java
r16294 r16799 48 48 import org.openstreetmap.josm.data.osm.Node; 49 49 import org.openstreetmap.josm.data.osm.Way; 50 import org.openstreetmap.josm.data.osm.WaySegment;51 50 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; 52 51 import org.openstreetmap.josm.gui.MapView; … … 184 183 public Component[] getMenuEntries() { 185 184 Collection<Component> components = new ArrayList<Component>(); 186 components.add(new JMenuItem( newLayerListDialog.ShowHideLayerAction(this)));185 components.add(new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this))); 187 186 // components.add(new JMenuItem(new LayerListDialog.ShowHideMarkerText(this))); 188 components.add(new JMenuItem( newLayerListDialog.DeleteLayerAction(this)));187 components.add(new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this))); 189 188 components.add(new JSeparator()); 190 189 components.add(new JMenuItem(new RenameLayerAction(getAssociatedFile(), this))); -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java
r16409 r16799 161 161 public void addLayer() { 162 162 OsmDataLayer osmLayer = Main.map.mapView.getEditLayer(); 163 RoutingLayer layer = new RoutingLayer(tr("Routing") + " [" + osmLayer. name+ "]", osmLayer);163 RoutingLayer layer = new RoutingLayer(tr("Routing") + " [" + osmLayer.getName() + "]", osmLayer); 164 164 layers.add(layer); 165 165 Main.main.addLayer(layer);
Note:
See TracChangeset
for help on using the changeset viewer.