Changeset 26076 in osm for applications/editors/josm/plugins/smed
- Timestamp:
- 2011-05-29T22:12:14+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src/oseam
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelMain.java
r24931 r26076 56 56 dlg = dia; 57 57 panelChan = new PanelChan(dlg); 58 panelChan.setBounds(new Rectangle(65, 0, 335, 160));58 panelChan.setBounds(new Rectangle(65, 0, 205, 160)); 59 59 panelChan.setVisible(false); 60 60 panelHaz = new PanelHaz(dlg); 61 panelHaz.setBounds(new Rectangle(65, 0, 335, 160));61 panelHaz.setBounds(new Rectangle(65, 0, 205, 160)); 62 62 panelHaz.setVisible(false); 63 63 panelSpec = new PanelSpec(dlg); 64 panelSpec.setBounds(new Rectangle(65, 0, 335, 160));64 panelSpec.setBounds(new Rectangle(65, 0, 205, 160)); 65 65 panelSpec.setVisible(false); 66 66 panelLights = new PanelLights(dlg); 67 panelLights.setBounds(new Rectangle(65, 0, 335, 160));67 panelLights.setBounds(new Rectangle(65, 0, 205, 160)); 68 68 panelLights.setVisible(false); 69 69 panelTop = new PanelTop(dlg); 70 panelTop.setBounds(new Rectangle(40, 165, 220, 160));70 panelTop.setBounds(new Rectangle(40, 165, 360, 160)); 71 71 panelTop.setVisible(false); 72 72 panelFog = new PanelFog(dlg); 73 panelFog.setBounds(new Rectangle(40, 165, 220, 160));73 panelFog.setBounds(new Rectangle(40, 165, 360, 160)); 74 74 panelFog.setVisible(false); 75 75 panelRadar = new PanelRadar(dlg); 76 panelRadar.setBounds(new Rectangle(40, 165, 220, 160));76 panelRadar.setBounds(new Rectangle(40, 165, 360, 160)); 77 77 panelRadar.setVisible(false); 78 78 panelLit = new PanelLit(dlg); 79 panelLit.setBounds(new Rectangle(40, 165, 220, 160));79 panelLit.setBounds(new Rectangle(40, 165, 360, 160)); 80 80 panelLit.setVisible(false); 81 81 82 82 shapeIcon = new JLabel(); 83 shapeIcon.setBounds(new Rectangle(265, 170, 130, 185));83 shapeIcon.setBounds(new Rectangle(265, 0, 130, 185)); 84 84 this.add(shapeIcon, null); 85 85 lightIcon = new JLabel(); 86 lightIcon.setBounds(new Rectangle(265, 170, 125, 185));86 lightIcon.setBounds(new Rectangle(265, 0, 125, 185)); 87 87 this.add(lightIcon, null); 88 88 topIcon = new JLabel(); 89 topIcon.setBounds(new Rectangle(265, 170, 125, 185));89 topIcon.setBounds(new Rectangle(265, 0, 125, 185)); 90 90 this.add(topIcon, null); 91 91 radarIcon = new JLabel(); 92 radarIcon.setBounds(new Rectangle(265, 170, 130, 185));92 radarIcon.setBounds(new Rectangle(265, 0, 130, 185)); 93 93 this.add(radarIcon, null); 94 94 fogIcon = new JLabel(); 95 fogIcon.setBounds(new Rectangle(265, 170, 125, 185));95 fogIcon.setBounds(new Rectangle(265, 0, 125, 185)); 96 96 this.add(fogIcon, null); 97 97 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r25145 r26076 1073 1073 Main.pref.put("tomsplugin.IALA", getRegion() == Reg.A ? "A" : "B"); 1074 1074 1075 for (String str : node.getKeys().keySet()) { 1076 if (str.contains("seamark")) 1077 if (!str.equals("seamark")) { 1078 Main.main.undoRedo.add(new ChangePropertyCommand(node, str, null)); 1079 } 1080 } 1075 // for (String str : node.getKeys().keySet()) { 1076 // if (str.contains("seamark")) 1077 // if (!str.equals("seamark")) { 1078 // Main.main.undoRedo.add(new ChangePropertyCommand(node, str, null)); 1079 // } 1080 // } 1081 1081 1082 if (!name.isEmpty()) 1082 1083 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:name", name));
Note:
See TracChangeset
for help on using the changeset viewer.