Changeset 27269 in osm for applications/editors
- Timestamp:
- 2011-12-17T19:04:21+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/routing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/build.xml
r27119 r27269 26 26 --> 27 27 <project name="routing" default="dist" basedir="."> 28 <property name="commit.message" value=" Changed the constructor signature of the plugin main class"/>29 <property name="plugin.main.version" value="4 549"/>28 <property name="commit.message" value="fixed NPE at startup"/> 29 <property name="plugin.main.version" value="4666"/> 30 30 <!-- Define some properties --> 31 31 <property name="josm" location="../../core/dist/josm-custom.jar"/> -
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java
r26119 r27269 198 198 newFrame.addMapMode(removeRouteNodeButton); 199 199 newFrame.addMapMode(moveRouteNodeButton); 200 newFrame.toolGroup.add(addRouteNodeButton);201 newFrame.toolGroup.add(removeRouteNodeButton);202 newFrame.toolGroup.add(moveRouteNodeButton);200 // newFrame.toolGroup.add(addRouteNodeButton); 201 // newFrame.toolGroup.add(removeRouteNodeButton); 202 // newFrame.toolGroup.add(moveRouteNodeButton); 203 203 // Hide them by default 204 204 addRouteNodeButton.setVisible(false); … … 216 216 */ 217 217 public void activeLayerChange(Layer oldLayer, Layer newLayer) { 218 218 if (addRouteNodeButton==null) return; 219 219 if (newLayer instanceof RoutingLayer) { /* show Routing toolbar and dialog window */ 220 220 addRouteNodeButton.setVisible(true);
Note:
See TracChangeset
for help on using the changeset viewer.