Changeset 27441 in osm
- Timestamp:
- 2012-01-14T10:03:12+01:00 (13 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/msg/messages.properties
r27423 r27441 301 301 SBM=SBM Buoy 302 302 303 CoastguardStation=Coastguard Station 304 PilotBoarding=Pilot Boarding 305 CruisingVessel=Cruising Vessel 306 Helicopter=Helicopter 307 FromShore=From Shore 308 RescueStation=Rescue Station 309 RadioStation=Radio Station 310 RadarStation=Radar Station 311 303 312 NotDecimal=Not a valid decimal string 304 313 TooBig=Maximum value exceeded -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLights.java
r27439 r27441 77 77 int idx = pilotCats.get(cat); 78 78 if (dlg.node != null && (idx == pilotCatBox.getSelectedIndex())) { 79 dlg.panelMain.mark.setCategory(cat); 80 dlg.panelMain.mark.testValid(); 81 } 82 } 83 } 84 }; 85 public JComboBox rescueCatBox; 86 public EnumMap<Cat, Integer> rescueCats = new EnumMap<Cat, Integer>(Cat.class); 87 private ActionListener alRescueCatBox = new ActionListener() { 88 public void actionPerformed(java.awt.event.ActionEvent e) { 89 for (Cat cat : rescueCats.keySet()) { 90 int idx = rescueCats.get(cat); 91 if (dlg.node != null && (idx == rescueCatBox.getSelectedIndex())) { 79 92 dlg.panelMain.mark.setCategory(cat); 80 93 dlg.panelMain.mark.testValid(); … … 158 171 add(getObjButton(trafficButton, 68, 35, 34, 32, "SSTraffic", Obj.SISTAT)); 159 172 add(getObjButton(warningButton, 102, 35, 34, 32, "SSWarning", Obj.SISTAW)); 160 add(getObjButton(coastguardButton, 0, 70, 34, 32, "Coastguard ", Obj.CGUSTA));173 add(getObjButton(coastguardButton, 0, 70, 34, 32, "CoastguardStation", Obj.CGUSTA)); 161 174 add(getObjButton(pilotButton, 34, 70, 34, 32, "PilotBoarding", Obj.PILBOP)); 162 175 add(getObjButton(rescueButton, 68, 70, 34, 32, "RescueStation", Obj.RSCSTA));
Note:
See TracChangeset
for help on using the changeset viewer.