Changeset 30150 in osm for applications/editors/josm/plugins/smed2/src/panels/ShowFrame.java
- Timestamp:
- 2013-12-25T11:40:00+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/panels/ShowFrame.java
r30036 r30150 12 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 13 13 14 import seamap.MapContext;15 import seamap.Renderer;16 import s eamap.SeaMap;17 import s eamap.SeaMap.*;14 import render.MapContext; 15 import render.Renderer; 16 import s57.S57map; 17 import s57.S57map.*; 18 18 19 19 public class ShowFrame extends JFrame { 20 20 21 S eaMap showMap;21 S57map showMap; 22 22 Picture picture; 23 23 24 24 class Picture extends JPanel implements MapContext { 25 25 26 public void drawPicture(OsmPrimitive osm, S eaMap map) {26 public void drawPicture(OsmPrimitive osm, S57map map) { 27 27 long id; 28 28 Feature feature; … … 30 30 id = osm.getUniqueId(); 31 31 feature = map.index.get(id); 32 showMap = new S eaMap();32 showMap = new S57map(); 33 33 showMap.nodes = map.nodes; 34 34 showMap.edges = map.edges; … … 66 66 } 67 67 68 public void showFeature(OsmPrimitive osm, S eaMap map) {68 public void showFeature(OsmPrimitive osm, S57map map) { 69 69 picture.drawPicture(osm, map); 70 70 }
Note:
See TracChangeset
for help on using the changeset viewer.
