Changeset 30150 in osm for applications/editors/josm/plugins/smed2/src/panels
- Timestamp:
- 2013-12-25T11:40:00+01:00 (11 years ago)
- 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 22 22 import s57.S57att.Att; 23 23 import s57.S57obj.Obj; 24 import s eamap.Renderer;25 import seamap.SeaMap.*;24 import s57.S57map.*; 25 import render.Renderer; 26 26 import smed2.Smed2Action; 27 27 … … 48 48 int returnVal = ifc.showOpenDialog(Main.parent); 49 49 if (returnVal == JFileChooser.APPROVE_OPTION) { 50 Smed2Action.panelS57.startImport(ifc.getSelectedFile());50 // xxx.startImport(ifc.getSelectedFile()); 51 51 } else { 52 52 messageBar.setText(""); … … 64 64 int returnVal = efc.showOpenDialog(Main.parent); 65 65 if (returnVal == JFileChooser.APPROVE_OPTION) { 66 Smed2Action.panelS57.startExport(efc.getSelectedFile());66 // xxx.startExport(efc.getSelectedFile()); 67 67 } else { 68 68 messageBar.setText(""); … … 113 113 decode.setBounds(0, 0, 480, 420); 114 114 decode.setTabSize(1); 115 //add(decode);115 add(decode); 116 116 } 117 117 -
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.