Changeset 18593 in osm for applications/editors/josm/plugins/graphview
- Timestamp:
- 2009-11-14T19:27:50+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/graphview
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/graphview/build.xml
r18415 r18593 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="2 381"/>59 <attribute name="Plugin-Mainversion" value="2450"/> 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/layer/GraphViewLayer.java
r18130 r18593 19 19 import org.openstreetmap.josm.Main; 20 20 import org.openstreetmap.josm.actions.RenameLayerAction; 21 import org.openstreetmap.josm.data.Bounds; 21 22 import org.openstreetmap.josm.data.coor.EastNorth; 22 23 import org.openstreetmap.josm.data.coor.LatLon; … … 148 149 149 150 List<Segment> edgeSegments = e.getPropertyValue(GraphEdgeSegments.PROPERTY); 150 151 151 152 if (edgeSegments.size() > 0) { 152 153 … … 283 284 284 285 @Override 285 public void paint(final Graphics g, final MapView mv) { 286 287 assert g instanceof Graphics2D; 288 Graphics2D g2D = ((Graphics2D)g); 289 286 public void paint(final Graphics2D g, final MapView mv, Bounds bounds) { 290 287 if (wayGraph != null) { 291 288 … … 295 292 296 293 for (GraphEdge e : wayGraph.getEdges()) { 297 paintGraphEdge(e, g 2D, mv);294 paintGraphEdge(e, g, mv); 298 295 } 299 296
Note:
See TracChangeset
for help on using the changeset viewer.