Changeset 33178 in osm for applications/editors/josm/plugins/smed
- Timestamp:
- 2017-03-06T02:47:45+01:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/smed/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/panels/PanelChan.java
r33054 r33178 156 156 } 157 157 break; 158 default: 159 break; 158 160 } 159 161 break; … … 180 182 } 181 183 break; 184 default: 185 break; 182 186 } 187 break; 188 default: 183 189 break; 184 190 } … … 215 221 dlg.panelMain.mark.setLightAtt(Att.COL, 0, Col.GREEN); 216 222 break; 223 default: 224 break; 217 225 } 218 226 break; … … 227 235 dlg.panelMain.mark.setLightAtt(Att.COL, 0, Col.RED); 228 236 break; 237 default: 238 break; 229 239 } 240 break; 241 default: 230 242 break; 231 243 } -
applications/editors/josm/plugins/smed/src/panels/PanelMain.java
r33054 r33178 349 349 panelLights.syncPanel(); 350 350 break; 351 default: 352 break; 351 353 } 352 354 panelMore.syncPanel(); -
applications/editors/josm/plugins/smed/src/panels/PanelMore.java
r33054 r33178 152 152 dlg.panelMain.mark.setObjPattern(Pat.HSTRP); 153 153 break; 154 default: 155 break; 154 156 } 155 157 regionAButton.setBorderPainted(true); … … 180 182 dlg.panelMain.mark.setObjPattern(Pat.HSTRP); 181 183 break; 184 default: 185 break; 182 186 } 183 187 regionBButton.setBorderPainted(true); … … 207 211 dlg.panelMain.mark.addObjColour(Col.GREEN); 208 212 dlg.panelMain.mark.addObjColour(Col.WHITE); 213 break; 214 default: 209 215 break; 210 216 } -
applications/editors/josm/plugins/smed/src/panels/PanelPat.java
r33054 r33178 59 59 panelCol.trimStack(2); 60 60 break; 61 default: 62 break; 61 63 } 62 64 } -
applications/editors/josm/plugins/smed/src/panels/PanelPort.java
r33054 r33178 69 69 SmedAction.panelMain.mark.addObjColour(Col.WHITE); 70 70 break; 71 default: 72 break; 71 73 } 72 74 } else { … … 88 90 SmedAction.panelMain.mark.addObjColour(Col.RED); 89 91 SmedAction.panelMain.mark.addObjColour(Col.GREEN); 92 break; 93 default: 90 94 break; 91 95 } -
applications/editors/josm/plugins/smed/src/panels/PanelStbd.java
r33054 r33178 69 69 SmedAction.panelMain.mark.addObjColour(Col.WHITE); 70 70 break; 71 default: 72 break; 71 73 } 72 74 } else { … … 88 90 SmedAction.panelMain.mark.addObjColour(Col.RED); 89 91 SmedAction.panelMain.mark.addObjColour(Col.GREEN); 92 break; 93 default: 90 94 break; 91 95 } -
applications/editors/josm/plugins/smed/src/seamarks/SeaMark.java
r33054 r33178 1388 1388 tmp = true; 1389 1389 } 1390 break; 1390 1391 case LNDMRK: 1391 1392 if ((getCategory() != Cat.NOCAT) || (getFunc() != Fnc.UNKFNC)) { 1392 1393 tmp = true; 1393 1394 } 1395 break; 1396 default: 1394 1397 break; 1395 1398 } … … 1743 1746 } 1744 1747 break; 1748 default: 1749 break; 1745 1750 } 1746 1751 } … … 2080 2085 } 2081 2086 break; 2087 default: 2088 break; 2082 2089 } 2083 2090 colStr = imgStr; … … 2136 2143 colStr += "_Pink"; 2137 2144 lblStr += "Pk"; 2145 break; 2146 default: 2138 2147 break; 2139 2148 } … … 2242 2251 imgStr += "Spire"; 2243 2252 break; 2244 } 2253 default: 2254 break; 2255 } 2256 break; 2257 default: 2258 break; 2245 2259 } 2246 2260 break; … … 2287 2301 imgStr += "Sphere"; 2288 2302 break; 2303 default: 2304 break; 2289 2305 } 2290 2306 break; … … 2305 2321 imgStr += "Signal_Station"; 2306 2322 g2.drawImage(new ImageIcon(getClass().getResource("/images/Radar_Station.png")).getImage(), 7, -15, null); 2323 break; 2324 default: 2307 2325 break; 2308 2326 } … … 2347 2365 imgStr += "Isol"; 2348 2366 break; 2367 default: 2368 break; 2349 2369 } 2350 2370 colStr = imgStr; … … 2377 2397 case BLACK: 2378 2398 colStr += "_Black"; 2399 break; 2400 default: 2379 2401 break; 2380 2402 } … … 2409 2431 imgStr += "_Beacon"; 2410 2432 colStr += "_Beacon"; 2433 break; 2434 default: 2411 2435 break; 2412 2436 } … … 2551 2575 c += ".Vi"; 2552 2576 break; 2577 default: 2578 break; 2553 2579 } 2554 2580 switch ((Col) getLightAtt(Att.ALT, 0)) { … … 2576 2602 case VIOLET: 2577 2603 c += "Vi"; 2604 break; 2605 default: 2578 2606 break; 2579 2607 } … … 2589 2617 case HORIZ: 2590 2618 c += "(Horiz)"; 2619 break; 2620 default: 2591 2621 break; 2592 2622 } … … 2624 2654 case EXPLOS: 2625 2655 str = "Explos"; 2656 break; 2657 default: 2626 2658 break; 2627 2659 } … … 2726 2758 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":system", "other")); 2727 2759 break; 2760 default: 2761 break; 2728 2762 } 2729 2763 }
Note:
See TracChangeset
for help on using the changeset viewer.