Changeset 26307 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-07-12T14:48:22+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/Buoy.java
r26138 r26307 125 125 } 126 126 127 public void setRaconGroup(String raconGroup) { 128 RaconGroup = raconGroup; 127 public void setRaconGroup(String group) { 128 RaconGroup = group; 129 } 130 131 private String RaconPeriod = ""; 132 133 public String getRaconPeriod() { 134 return RaconPeriod; 135 } 136 137 public void setRaconPeriod(String period) { 138 RaconPeriod = period; 129 139 } 130 140 … … 591 601 if (k.containsKey("seamark:radar_transponder") 592 602 || k.containsKey("seamark:radar_transponder:category") 603 || k.containsKey("seamark:radar_transponder:period") 593 604 || k.containsKey("seamark:radar_transponder:group")) { 594 605 setRacon(true); … … 606 617 if (k.containsKey("seamark:radar_transponder:group")) 607 618 setRaconGroup(k.get("seamark:radar_transponder:group")); 619 if (k.containsKey("seamark:radar_transponder:period")) 620 setRaconPeriod(k.get("seamark:radar_transponder:period")); 608 621 } else if (k.containsKey("seamark:radar_reflector")) 609 622 setRadar(true); … … 1049 1062 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 1050 1063 "seamark:radar_transponder:group", getRaconGroup())); 1064 if (!getRaconPeriod().isEmpty()) 1065 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 1066 "seamark:radar_transponder:period", getRaconPeriod())); 1051 1067 break; 1052 1068 case RATYPE_RAMARK:
Note:
See TracChangeset
for help on using the changeset viewer.