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

save

Location:
applications/editors/josm/plugins/smed2/src/panels
Files:
2 edited

Legend:

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

    r30037 r30150  
    2222import s57.S57att.Att;
    2323import s57.S57obj.Obj;
    24 import seamap.Renderer;
    25 import seamap.SeaMap.*;
     24import s57.S57map.*;
     25import render.Renderer;
    2626import smed2.Smed2Action;
    2727
     
    4848        int returnVal = ifc.showOpenDialog(Main.parent);
    4949        if (returnVal == JFileChooser.APPROVE_OPTION) {
    50           Smed2Action.panelS57.startImport(ifc.getSelectedFile());
     50//          xxx.startImport(ifc.getSelectedFile());
    5151         } else {
    5252           messageBar.setText("");
     
    6464        int returnVal = efc.showOpenDialog(Main.parent);
    6565        if (returnVal == JFileChooser.APPROVE_OPTION) {
    66           Smed2Action.panelS57.startExport(efc.getSelectedFile());
     66//          xxx.startExport(efc.getSelectedFile());
    6767         } else {
    6868           messageBar.setText("");
     
    113113                decode.setBounds(0, 0, 480, 420);
    114114                decode.setTabSize(1);
    115 //              add(decode);
     115                add(decode);
    116116        }
    117117       
  • 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.