Changeset 18593 in osm for applications/editors/josm/plugins/graphview/src/org
- Timestamp:
- 2009-11-14T19:27:50+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.