Ignore:
Timestamp:
2013-12-25T11:40:00+01:00 (12 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/panels/ShowFrame.java

    r30036 r30150  
    1212import org.openstreetmap.josm.data.osm.OsmPrimitive;
    1313
    14 import seamap.MapContext;
    15 import seamap.Renderer;
    16 import seamap.SeaMap;
    17 import seamap.SeaMap.*;
     14import render.MapContext;
     15import render.Renderer;
     16import s57.S57map;
     17import s57.S57map.*;
    1818
    1919public class ShowFrame extends JFrame {
    2020       
    21         SeaMap showMap;
     21        S57map showMap;
    2222        Picture picture;
    2323
    2424        class Picture extends JPanel implements MapContext {
    2525
    26                 public void drawPicture(OsmPrimitive osm, SeaMap map) {
     26                public void drawPicture(OsmPrimitive osm, S57map map) {
    2727                        long id;
    2828                        Feature feature;
     
    3030                        id = osm.getUniqueId();
    3131                        feature = map.index.get(id);
    32                         showMap = new SeaMap();
     32                        showMap = new S57map();
    3333                        showMap.nodes = map.nodes;
    3434                        showMap.edges = map.edges;
     
    6666        }
    6767       
    68         public void showFeature(OsmPrimitive osm, SeaMap map) {
     68        public void showFeature(OsmPrimitive osm, S57map map) {
    6969                picture.drawPicture(osm, map);
    7070        }
Note: See TracChangeset for help on using the changeset viewer.