Changeset 33178 in osm for applications/editors/josm/plugins/smed/src/seamarks
- Timestamp:
- 2017-03-06T02:47:45+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.