Changeset 17210 in osm for applications/editors/josm/plugins/graphview
- Timestamp:
- 2009-08-22T12:05:10+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/graphview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/graphview/build.xml
r16836 r17210 57 57 <attribute name="Plugin-Description" value="Visualizes routing information as a routing graph."/> 58 58 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Graphview"/> 59 <attribute name="Plugin-Mainversion" value="1 893"/>59 <attribute name="Plugin-Mainversion" value="1986"/> 60 60 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 61 61 </manifest> -
applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/plugin/GraphViewPlugin.java
r16520 r17210 67 67 } 68 68 69 private final GraphViewDialog laneDialog;70 71 69 private final GraphViewPreferences preferences; 72 70 … … 79 77 preferences = GraphViewPreferences.getInstance(); 80 78 this.preferences.addObserver(this); 81 82 laneDialog = new GraphViewDialog(this);83 79 84 80 } … … 235 231 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 236 232 if (newFrame != null) { 237 newFrame.addToggleDialog(laneDialog); 233 if (oldFrame == null) { 234 final GraphViewDialog laneDialog 235 = new GraphViewDialog(this); 236 newFrame.addToggleDialog(laneDialog); 237 } 238 238 Layer.listeners.add(this); 239 239 } else {
Note:
See TracChangeset
for help on using the changeset viewer.