Changeset 26138 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-06-17T10:04:21+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/toms/src/toms/seamarks/buoys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/Buoy.java
r25549 r26138 505 505 if (key.equals("ref")) 506 506 setLitRef(value); 507 if (key.equals("inform "))507 if (key.equals("information")) 508 508 setLitInf(value); 509 509 if (key.equals("category")) … … 930 930 if (!LitInf.isEmpty()) 931 931 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 932 "seamark:light:inform ", LitInf));932 "seamark:light:information", LitInf)); 933 933 934 934 if (!LitCat.isEmpty()) -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyLat.java
r25542 r26138 281 281 } 282 282 283 if (keys.containsKey("seamark:buoy_lateral: marsys")) //$NON-NLS-1$284 setRegion(keys.get("seamark:buoy_lateral: marsys").equals("B")); //$NON-NLS-1$285 else if (keys.containsKey("seamark:beacon_lateral: marsys")) //$NON-NLS-1$286 setRegion(keys.get("seamark:beacon_lateral: marsys").equals("B")); //$NON-NLS-1$287 else if (keys.containsKey("seamark:light_float: marsys")) //$NON-NLS-1$288 setRegion(keys.get("seamark:light_float: marsys").equals("B")); //$NON-NLS-1$283 if (keys.containsKey("seamark:buoy_lateral:system")) //$NON-NLS-1$ 284 setRegion(keys.get("seamark:buoy_lateral:system").equals("iala-b")); //$NON-NLS-1$ 285 else if (keys.containsKey("seamark:beacon_lateral:system")) //$NON-NLS-1$ 286 setRegion(keys.get("seamark:beacon_lateral:system").equals("iala-b")); //$NON-NLS-1$ 287 else if (keys.containsKey("seamark:light_float:system")) //$NON-NLS-1$ 288 setRegion(keys.get("seamark:light_float:system").equals("iala-b")); //$NON-NLS-1$ 289 289 290 290 refreshStyles(); … … 1081 1081 case LAT_SPAR: 1082 1082 Main.main.undoRedo.add(new ChangePropertyCommand(node, 1083 "seamark:buoy_lateral: marsys", (getRegion() ? "B" : "A"))); //$NON-NLS-1$ //$NON-NLS-2$1083 "seamark:buoy_lateral:system", (getRegion() ? "iala-b" : "iala-a"))); //$NON-NLS-1$ //$NON-NLS-2$ 1084 1084 break; 1085 1085 case LAT_BEACON: 1086 1086 case LAT_TOWER: 1087 1087 Main.main.undoRedo.add(new ChangePropertyCommand(node, 1088 "seamark:beacon_lateral: marsys", (getRegion() ? "B" : "A"))); //$NON-NLS-1$ //$NON-NLS-2$1088 "seamark:beacon_lateral:system", (getRegion() ? "iala-b" : "iala-a"))); //$NON-NLS-1$ //$NON-NLS-2$ 1089 1089 break; 1090 1090 case LAT_FLOAT: 1091 1091 Main.main.undoRedo.add(new ChangePropertyCommand(node, 1092 "seamark:light_float: marsys", (getRegion() ? "B" : "A"))); //$NON-NLS-1$ //$NON-NLS-2$1092 "seamark:light_float:system", (getRegion() ? "iala-b" : "iala-a"))); //$NON-NLS-1$ //$NON-NLS-2$ 1093 1093 break; 1094 1094 } … … 1098 1098 saveRadarFogData(); 1099 1099 1100 Main.pref.put("tomsplugin.IALA", getRegion() ? " B" : "A"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$1100 Main.pref.put("tomsplugin.IALA", getRegion() ? "iala-b" : "iala-a"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ 1101 1101 } 1102 1102 }
Note:
See TracChangeset
for help on using the changeset viewer.