Changeset 25549 in osm for applications/editors/josm
- Timestamp:
- 2011-03-09T09:07:20+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/Buoy.java
r25542 r25549 39 39 } 40 40 41 private String Ref = "";42 43 public String getRef() {44 return Ref;45 }46 47 public void setRef(String ref) {48 Ref = ref;49 }50 51 private String Inf = "";52 53 public String getInf() {54 return Inf;55 }56 57 public void setInf(String inf) {58 Inf = inf;59 }60 61 41 private String Fixme = ""; 62 42 … … 197 177 public void setFired(boolean fired) { 198 178 Fired = fired; 179 } 180 181 private String LitRef = ""; 182 183 public String getLitRef() { 184 return LitRef; 185 } 186 187 public void setLitRef(String ref) { 188 LitRef = ref; 189 } 190 191 private String LitInf = ""; 192 193 public String getLitInf() { 194 return LitInf; 195 } 196 197 public void setLitInf(String inf) { 198 LitInf = inf; 199 } 200 201 private String LitCat = ""; 202 203 public String getLitCat() { 204 return LitCat; 205 } 206 207 public void setLitCat(String cat) { 208 LitCat = cat; 209 } 210 211 private String LitMul = ""; 212 213 public String getLitMul() { 214 return LitMul; 215 } 216 217 public void setLitMul(String mul) { 218 LitMul = mul; 199 219 } 200 220 … … 484 504 setSectored(true); 485 505 if (key.equals("ref")) 486 set Ref(value);506 setLitRef(value); 487 507 if (key.equals("inform")) 488 setInf(value); 508 setLitInf(value); 509 if (key.equals("category")) 510 setLitCat(value); 511 if (key.equals("multiple")) 512 setLitMul(value); 489 513 if (key.equals("colour")) { 490 514 if (value.equals("red")) … … 900 924 } 901 925 902 if (!Ref.isEmpty()) 903 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 904 "seamark:light:ref", Ref)); 905 906 if (!Inf.isEmpty()) 907 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 908 "seamark:light:inform", Inf)); 926 if (!LitRef.isEmpty()) 927 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 928 "seamark:light:ref", LitRef)); 929 930 if (!LitInf.isEmpty()) 931 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 932 "seamark:light:inform", LitInf)); 933 934 if (!LitCat.isEmpty()) 935 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 936 "seamark:light:category", LitCat)); 937 938 if (!LitMul.isEmpty()) 939 Main.main.undoRedo.add(new ChangePropertyCommand(Node, 940 "seamark:light:multiple", LitMul)); 909 941 910 942 if (!LightPeriod[0].isEmpty()) … … 1122 1154 setLongname(""); 1123 1155 setFixme(""); 1124 setRef(""); 1125 setInf(""); 1156 setLitRef(""); 1157 setLitInf(""); 1158 setLitCat(""); 1159 setLitMul(""); 1126 1160 dlg.cM01TopMark.setSelected(false); 1127 1161 dlg.cM01TopMark.setVisible(false);
Note:
See TracChangeset
for help on using the changeset viewer.