Changeset 24875 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-12-25T14:21:00+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src/oseam
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChan.java
r24872 r24875 20 20 import oseam.seamarks.SeaMark.Cat; 21 21 import oseam.seamarks.SeaMark.Col; 22 import oseam.seamarks.SeaMark.Obj; 22 23 import oseam.seamarks.MarkLat; 23 24 import oseam.seamarks.MarkSaw; … … 41 42 dlg.mark.setCategory(Cat.LAT_PORT); 42 43 if (dlg.mark.getRegion() == SeaMark.IALA_A) { 43 dlg.mark.setColour( Col.RED);44 dlg.mark.setColour(Obj.BODY, Col.RED); 44 45 panelPort.regionAButton.doClick(); 45 46 } else { 46 dlg.mark.setColour( Col.GREEN);47 dlg.mark.setColour(Obj.BODY, Col.GREEN); 47 48 panelPort.regionBButton.doClick(); 48 49 } … … 59 60 dlg.mark.setCategory(Cat.LAT_STBD); 60 61 if (dlg.mark.getRegion() == SeaMark.IALA_A) { 61 dlg.mark.setColour( Col.GREEN);62 dlg.mark.setColour(Obj.BODY, Col.GREEN); 62 63 panelStbd.regionAButton.doClick(); 63 64 } else { 64 dlg.mark.setColour( Col.RED);65 dlg.mark.setColour(Obj.BODY, Col.RED); 65 66 panelStbd.regionBButton.doClick(); 66 67 } … … 77 78 dlg.mark.setCategory(Cat.LAT_PREF_PORT); 78 79 if (dlg.mark.getRegion() == SeaMark.IALA_A) { 79 dlg.mark.setColour( Col.RED_GREEN_RED);80 dlg.mark.setColour(Obj.BODY, Col.RED_GREEN_RED); 80 81 panelPrefPort.regionAButton.doClick(); 81 82 } else { 82 dlg.mark.setColour( Col.GREEN_RED_GREEN);83 dlg.mark.setColour(Obj.BODY, Col.GREEN_RED_GREEN); 83 84 panelPrefPort.regionBButton.doClick(); 84 85 } … … 95 96 dlg.mark.setCategory(Cat.LAT_PREF_STBD); 96 97 if (dlg.mark.getRegion() == SeaMark.IALA_A) { 97 dlg.mark.setColour( Col.GREEN_RED_GREEN);98 dlg.mark.setColour(Obj.BODY, Col.GREEN_RED_GREEN); 98 99 panelPrefStbd.regionAButton.doClick(); 99 100 } else { 100 dlg.mark.setColour( Col.RED_GREEN_RED);101 dlg.mark.setColour(Obj.BODY, Col.RED_GREEN_RED); 101 102 panelPrefStbd.regionBButton.doClick(); 102 103 } … … 111 112 if (!(dlg.mark instanceof MarkSaw)) 112 113 dlg.mark = new MarkSaw(dlg); 113 dlg.mark.setColour( Col.RED_WHITE);114 dlg.mark.setColour(Obj.BODY, Col.RED_WHITE); 114 115 safeWaterButton.setBorderPainted(true); 115 116 panelSafeWater.setVisible(true); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelCol.java
r24873 r24875 18 18 import oseam.dialogs.OSeaMAction; 19 19 import oseam.seamarks.SeaMark.Col; 20 import oseam.seamarks.SeaMark.Obj; 20 21 21 22 public class PanelCol extends JPanel { 22 23 23 24 private OSeaMAction dlg; 25 private Obj obj; 24 26 private ButtonGroup colourButtons = new ButtonGroup(); 25 27 public JRadioButton offButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/OffButton.png"))); … … 41 43 JRadioButton button = colours.get(col); 42 44 if (button.isSelected()) { 45 if (dlg.mark != null) dlg.mark.setColour(obj, col); 43 46 button.setBorderPainted(true); 44 47 } else … … 48 51 }; 49 52 50 public PanelCol(OSeaMAction dia ) {53 public PanelCol(OSeaMAction dia, Obj object) { 51 54 dlg = dia; 55 obj = object; 52 56 this.setLayout(null); 53 57 this.add(getColButton(offButton, 0, 0, 34, 16, "No colour", Col.UNKNOWN), null); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelHaz.java
r24872 r24875 17 17 import oseam.seamarks.SeaMark.Cat; 18 18 import oseam.seamarks.SeaMark.Col; 19 import oseam.seamarks.SeaMark.Obj; 19 20 import oseam.seamarks.SeaMark.Shp; 20 21 … … 40 41 } 41 42 dlg.mark.setCategory(Cat.CARD_NORTH); 42 dlg.mark.setColour( Col.BLACK_YELLOW);43 dlg.mark.setColour(Obj.BODY, Col.BLACK_YELLOW); 43 44 dlg.panelMain.panelTop.northTopButton.doClick(); 44 45 dlg.panelMain.panelTop.panelCol.blackButton.doClick(); … … 53 54 } 54 55 dlg.mark.setCategory(Cat.CARD_SOUTH); 55 dlg.mark.setColour( Col.YELLOW_BLACK);56 dlg.mark.setColour(Obj.BODY, Col.YELLOW_BLACK); 56 57 dlg.panelMain.panelTop.southTopButton.doClick(); 57 58 dlg.panelMain.panelTop.panelCol.blackButton.doClick(); … … 66 67 } 67 68 dlg.mark.setCategory(Cat.CARD_EAST); 68 dlg.mark.setColour( Col.BLACK_YELLOW_BLACK);69 dlg.mark.setColour(Obj.BODY, Col.BLACK_YELLOW_BLACK); 69 70 dlg.panelMain.panelTop.eastTopButton.doClick(); 70 71 dlg.panelMain.panelTop.panelCol.blackButton.doClick(); … … 79 80 } 80 81 dlg.mark.setCategory(Cat.CARD_WEST); 81 dlg.mark.setColour( Col.YELLOW_BLACK_YELLOW);82 dlg.mark.setColour(Obj.BODY, Col.YELLOW_BLACK_YELLOW); 82 83 dlg.panelMain.panelTop.westTopButton.doClick(); 83 84 dlg.panelMain.panelTop.panelCol.blackButton.doClick(); … … 91 92 alShape.actionPerformed(null); 92 93 } 93 dlg.mark.setColour( Col.BLACK_RED_BLACK);94 dlg.mark.setColour(Obj.BODY, Col.BLACK_RED_BLACK); 94 95 dlg.panelMain.panelTop.spheres2TopButton.doClick(); 95 96 dlg.panelMain.panelTop.panelCol.blackButton.doClick(); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLit.java
r24839 r24875 3 3 import javax.swing.JPanel; 4 4 5 import java.awt.Color;6 import java.awt.Dimension;7 5 import java.awt.Rectangle; 8 import java.awt.Font;9 10 import javax.swing.ButtonGroup;11 import javax.swing.ImageIcon;12 import javax.swing.JLabel;13 import javax.swing.JTextField;14 import javax.swing.JComboBox;15 import javax.swing.JCheckBox;16 import javax.swing.JRadioButton;17 6 18 7 import oseam.Messages; 19 8 import oseam.dialogs.OSeaMAction; 20 21 import java.awt.Cursor; 22 import java.awt.event.ActionListener; 9 import oseam.seamarks.SeaMark.Obj; 23 10 24 11 public class PanelLit extends JPanel { … … 29 16 public PanelLit(OSeaMAction dia) { 30 17 dlg = dia; 31 panelCol = new PanelCol(dlg );18 panelCol = new PanelCol(dlg, Obj.LIGHT); 32 19 panelCol.setBounds(new Rectangle(0, 0, 34, 160)); 33 20 this.setLayout(null); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSpec.java
r24870 r24875 20 20 import oseam.dialogs.OSeaMAction; 21 21 import oseam.seamarks.SeaMark.Shp; 22 import oseam.seamarks.SeaMark.Obj; 22 23 23 24 public class PanelSpec extends JPanel { … … 56 57 public PanelSpec(OSeaMAction dia) { 57 58 dlg = dia; 58 panelCol = new PanelCol(dlg );59 panelCol = new PanelCol(dlg, Obj.BODY); 59 60 panelCol.setBounds(new Rectangle(9, 0, 34, 160)); 60 61 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelTop.java
r24873 r24875 16 16 import oseam.dialogs.OSeaMAction; 17 17 import oseam.seamarks.SeaMark.Top; 18 import oseam.seamarks.SeaMark.Obj; 18 19 19 20 public class PanelTop extends JPanel { … … 46 47 JRadioButton button = tops.get(top); 47 48 if (button.isSelected()) { 49 dlg.mark.setTopMark(top); 48 50 button.setBorderPainted(true); 49 51 } else … … 55 57 public PanelTop(OSeaMAction dia) { 56 58 dlg = dia; 57 panelCol = new PanelCol(dlg );59 panelCol = new PanelCol(dlg, Obj.TOPMARK); 58 60 panelCol.setBounds(new Rectangle(0, 0, 34, 160)); 59 61 this.setLayout(null); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/MarkCard.java
r24870 r24875 101 101 102 102 public void setLightColour() { 103 super.setLightColour( "W");103 super.setLightColour(Col.WHITE); 104 104 } 105 105 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/MarkIsol.java
r24870 r24875 10 10 import oseam.dialogs.OSeaMAction; 11 11 import oseam.seamarks.SeaMark; 12 import oseam.seamarks.SeaMark.Col; 12 13 13 14 public class MarkIsol extends SeaMark { … … 69 70 70 71 public void setLightColour() { 71 super.setLightColour( "W");72 super.setLightColour(Col.WHITE); 72 73 } 73 74 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/MarkLat.java
r24870 r24875 9 9 10 10 import oseam.dialogs.OSeaMAction; 11 import oseam.seamarks.SeaMark.Col; 11 12 12 13 public class MarkLat extends SeaMark { … … 157 158 if (getRegion() == IALA_A) { 158 159 if (getCategory() == Cat.LAT_PORT || getCategory() == Cat.LAT_PREF_PORT) 159 super.setLightColour( "R");160 super.setLightColour(Col.RED); 160 161 else 161 super.setLightColour( "G");162 super.setLightColour(Col.GREEN); 162 163 } else { 163 164 if (getCategory() == Cat.LAT_PORT || getCategory() == Cat.LAT_PREF_PORT) 164 super.setLightColour( "G");165 super.setLightColour(Col.GREEN); 165 166 else 166 super.setLightColour( "R");167 super.setLightColour(Col.RED); 167 168 } 168 169 } -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/MarkSpec.java
r24870 r24875 10 10 import oseam.dialogs.OSeaMAction; 11 11 import oseam.seamarks.SeaMark; 12 import oseam.seamarks.SeaMark.Col; 12 13 13 14 public class MarkSpec extends SeaMark { … … 91 92 92 93 public void setLightColour() { 93 super.setLightColour( "W");94 super.setLightColour(Col.WHITE); 94 95 } 95 96 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r24872 r24875 45 45 46 46 public enum Col { 47 UNKNOWN, WHITE, RED, ORANGE, AMBER, YELLOW, GREEN, BLUE, VIOLET, 48 BLACK,RED_GREEN_RED, GREEN_RED_GREEN, RED_WHITE,47 UNKNOWN, WHITE, RED, ORANGE, AMBER, YELLOW, GREEN, BLUE, VIOLET, BLACK, 48 RED_GREEN_RED, GREEN_RED_GREEN, RED_WHITE, 49 49 BLACK_YELLOW, BLACK_YELLOW_BLACK, YELLOW_BLACK, YELLOW_BLACK_YELLOW, BLACK_RED_BLACK 50 50 } 51 51 52 private Col colour = Col.UNKNOWN; 53 54 public Col getColour() { 55 return colour; 56 } 57 58 public void setColour(Col col) { 59 colour = col; 52 public enum Obj { 53 BODY, TOPMARK, LIGHT 54 } 55 56 private Col bodyColour = Col.UNKNOWN; 57 58 public Col getColour(Obj obj) { 59 switch (obj) { 60 case BODY: 61 return bodyColour; 62 case TOPMARK: 63 return topColour; 64 case LIGHT: 65 return lightColour[sectorIndex]; 66 } 67 return Col.UNKNOWN; 68 } 69 70 public void setColour(Obj obj, Col col) { 71 switch (obj) { 72 case BODY: 73 bodyColour = col; 74 break; 75 case TOPMARK: 76 topColour = col; 77 break; 78 case LIGHT: 79 lightColour[sectorIndex] = col; 80 break; 81 } 60 82 } 61 83 … … 87 109 88 110 public enum Shp { 89 UNKNOWN, PILLAR, SPAR, CAN, CONE, SPHERE, BARREL, FLOAT, SUPER, BEACON, TOWER, STAKE, PERCH 111 UNKNOWN, PILLAR, SPAR, CAN, CONE, SPHERE, BARREL, FLOAT, SUPER, 112 BEACON, TOWER, STAKE, PERCH 90 113 } 91 114 … … 101 124 102 125 public enum Top { 103 NONE, CAN, CONE, SPHERE, X_SHAPE, NORTH, SOUTH, EAST, WEST, SPHERES2, BOARD, DIAMOND, TRIANGLE, TRIANGLE_INV, SQUARE, MOORING 104 } 105 106 private Top TopMark = Top.NONE; 126 NONE, CAN, CONE, SPHERE, X_SHAPE, NORTH, SOUTH, EAST, WEST, SPHERES2, 127 BOARD, DIAMOND, TRIANGLE, TRIANGLE_INV, SQUARE, MOORING 128 } 129 130 private Top topMark = Top.NONE; 131 private Col topColour = Col.UNKNOWN; 107 132 108 133 public boolean hasTopMark() { 109 return ( TopMark != Top.NONE);134 return (topMark != Top.NONE); 110 135 } 111 136 112 137 public void setTopMark(Top top) { 113 TopMark = top;138 topMark = top; 114 139 } 115 140 … … 221 246 Sectored = sectored; 222 247 if (sectored) { 223 LightColour[0] = "";248 lightColour[0] = Col.UNKNOWN; 224 249 } else { 225 set SectorIndex(0);250 setsectorIndex(0); 226 251 setLightChar(""); 227 setLightColour( "");252 setLightColour(Col.UNKNOWN); 228 253 setLightGroup(""); 229 254 setHeight(""); … … 235 260 } 236 261 237 private int SectorIndex = 0;238 239 public int get SectorIndex() {240 return SectorIndex;241 } 242 243 public void set SectorIndex(int sector) {244 SectorIndex = sector;262 private int sectorIndex = 0; 263 264 public int getsectorIndex() { 265 return sectorIndex; 266 } 267 268 public void setsectorIndex(int sector) { 269 sectorIndex = sector; 245 270 } 246 271 … … 248 273 249 274 public String getLightChar() { 250 if (LightChar[ SectorIndex] == null)275 if (LightChar[sectorIndex] == null) 251 276 return (LightChar[0]); 252 return LightChar[ SectorIndex];277 return LightChar[sectorIndex]; 253 278 } 254 279 255 280 public void setLightChar(String lightChar) { 256 if ( SectorIndex == 0) {281 if (sectorIndex == 0) { 257 282 LightChar = new String[10]; 258 283 LightChar[0] = lightChar; 259 284 } else if (LightChar[0].isEmpty()) 260 LightChar[ SectorIndex] = lightChar;261 } 262 263 private String[] LightColour = new String[10];264 265 public StringgetLightColour() {266 if ( LightColour[SectorIndex] == null)267 return ( LightColour[0]);268 return LightColour[SectorIndex];269 } 270 271 public void setLightColour( String lightColour) {272 LightColour[SectorIndex] = lightColour;285 LightChar[sectorIndex] = lightChar; 286 } 287 288 private Col[] lightColour = new Col[10]; 289 290 public Col getLightColour() { 291 if (lightColour[sectorIndex] == null) 292 return (lightColour[0]); 293 return lightColour[sectorIndex]; 294 } 295 296 public void setLightColour(Col col) { 297 lightColour[sectorIndex] = col; 273 298 } 274 299 … … 276 301 277 302 public String getLightGroup() { 278 if (LightGroup[ SectorIndex] == null)303 if (LightGroup[sectorIndex] == null) 279 304 return (LightGroup[0]); 280 return LightGroup[ SectorIndex];305 return LightGroup[sectorIndex]; 281 306 } 282 307 283 308 public void setLightGroup(String lightGroup) { 284 if ( SectorIndex == 0)309 if (sectorIndex == 0) 285 310 LightGroup = new String[10]; 286 LightGroup[ SectorIndex] = lightGroup;311 LightGroup[sectorIndex] = lightGroup; 287 312 } 288 313 … … 298 323 299 324 public String getHeight() { 300 if (Height[ SectorIndex] == null)325 if (Height[sectorIndex] == null) 301 326 return (Height[0]); 302 return Height[ SectorIndex];327 return Height[sectorIndex]; 303 328 } 304 329 305 330 public void setHeight(String height) { 306 if ( SectorIndex == 0)331 if (sectorIndex == 0) 307 332 Height = new String[10]; 308 Height[ SectorIndex] = height;333 Height[sectorIndex] = height; 309 334 } 310 335 … … 312 337 313 338 public String getRange() { 314 if (Range[ SectorIndex] == null)339 if (Range[sectorIndex] == null) 315 340 return (Range[0]); 316 return Range[ SectorIndex];341 return Range[sectorIndex]; 317 342 } 318 343 319 344 public void setRange(String range) { 320 if ( SectorIndex == 0)345 if (sectorIndex == 0) 321 346 Range = new String[10]; 322 Range[ SectorIndex] = range;347 Range[sectorIndex] = range; 323 348 } 324 349 … … 326 351 327 352 public String getBearing1() { 328 if (Bearing1[ SectorIndex] == null)353 if (Bearing1[sectorIndex] == null) 329 354 return (Bearing1[0]); 330 return Bearing1[ SectorIndex];355 return Bearing1[sectorIndex]; 331 356 } 332 357 333 358 public void setBearing1(String bearing) { 334 if ( SectorIndex == 0)359 if (sectorIndex == 0) 335 360 Bearing1 = new String[10]; 336 Bearing1[ SectorIndex] = bearing;361 Bearing1[sectorIndex] = bearing; 337 362 } 338 363 … … 340 365 341 366 public String getBearing2() { 342 if (Bearing2[ SectorIndex] == null)367 if (Bearing2[sectorIndex] == null) 343 368 return (Bearing2[0]); 344 return Bearing2[ SectorIndex];369 return Bearing2[sectorIndex]; 345 370 } 346 371 347 372 public void setBearing2(String bearing) { 348 if ( SectorIndex == 0)373 if (sectorIndex == 0) 349 374 Bearing2 = new String[10]; 350 Bearing2[ SectorIndex] = bearing;375 Bearing2[sectorIndex] = bearing; 351 376 } 352 377 … … 354 379 355 380 public String getRadius() { 356 if (Radius[ SectorIndex] == null)381 if (Radius[sectorIndex] == null) 357 382 return (Radius[0]); 358 return Radius[ SectorIndex];383 return Radius[sectorIndex]; 359 384 } 360 385 361 386 public void setRadius(String radius) { 362 if ( SectorIndex == 0)387 if (sectorIndex == 0) 363 388 Radius = new String[10]; 364 Radius[ SectorIndex] = radius;389 Radius[sectorIndex] = radius; 365 390 } 366 391 … … 368 393 369 394 public String getLightPeriod() { 370 if (LightPeriod[ SectorIndex] == null)395 if (LightPeriod[sectorIndex] == null) 371 396 return (LightPeriod[0]); 372 return LightPeriod[ SectorIndex];397 return LightPeriod[sectorIndex]; 373 398 } 374 399 … … 389 414 } 390 415 } 391 if ( SectorIndex == 0)416 if (sectorIndex == 0) 392 417 LightPeriod = new String[10]; 393 LightPeriod[ SectorIndex] = lightPeriod;418 LightPeriod[sectorIndex] = lightPeriod; 394 419 } 395 420 … … 415 440 String values[] = value.split(":"); 416 441 if (values[0].equals("red")) 417 LightColour[index] = "R";442 lightColour[index] = Col.RED; 418 443 else if (values[0].equals("green")) 419 LightColour[index] = "G";444 lightColour[index] = Col.GREEN; 420 445 else if (values[0].equals("white")) 421 LightColour[index] = "W";446 lightColour[index] = Col.WHITE; 422 447 if (values.length > 1) 423 448 Bearing1[index] = values[1]; … … 433 458 if (key.equals("colour")) { 434 459 if (value.equals("red")) 435 LightColour[index] = "R";460 lightColour[index] = Col.RED; 436 461 else if (value.equals("green")) 437 LightColour[index] = "G";462 lightColour[index] = Col.GREEN; 438 463 else if (value.equals("white")) 439 LightColour[index] = "W";464 lightColour[index] = Col.WHITE; 440 465 } else if (key.equals("character")) { 441 466 LightChar[index] = value; … … 585 610 * dlg.tfM01RepeatTime.setVisible(true); if (isSectored()) { 586 611 * dlg.rbM01Fired1.setSelected(false); dlg.rbM01FiredN.setSelected(true); if 587 * ((get SectorIndex() != 0) && (!LightChar[0].isEmpty()))612 * ((getsectorIndex() != 0) && (!LightChar[0].isEmpty())) 588 613 * dlg.cbM01Kennung.setEnabled(false); else 589 614 * dlg.cbM01Kennung.setEnabled(true); 590 * dlg.cbM01Kennung.setSelectedItem(getLightChar()); if ((get SectorIndex()615 * dlg.cbM01Kennung.setSelectedItem(getLightChar()); if ((getsectorIndex() 591 616 * != 0) && (!LightGroup[0].isEmpty())) dlg.tfM01Group.setEnabled(false); 592 617 * else dlg.tfM01Group.setEnabled(true); 593 * dlg.tfM01Group.setText(getLightGroup()); if ((get SectorIndex() != 0) &&618 * dlg.tfM01Group.setText(getLightGroup()); if ((getsectorIndex() != 0) && 594 619 * (!LightPeriod[0].isEmpty())) dlg.tfM01RepeatTime.setEnabled(false); else 595 620 * dlg.tfM01RepeatTime.setEnabled(true); 596 * dlg.tfM01RepeatTime.setText(getLightPeriod()); if ((get SectorIndex() !=621 * dlg.tfM01RepeatTime.setText(getLightPeriod()); if ((getsectorIndex() != 597 622 * 0) && (!Height[0].isEmpty())) dlg.tfM01Height.setEnabled(false); else 598 623 * dlg.tfM01Height.setEnabled(true); dlg.tfM01Height.setText(getHeight()); 599 * if ((get SectorIndex() != 0) && (!Range[0].isEmpty()))624 * if ((getsectorIndex() != 0) && (!Range[0].isEmpty())) 600 625 * dlg.tfM01Range.setEnabled(false); else dlg.tfM01Range.setEnabled(true); 601 626 * dlg.tfM01Range.setText(getRange()); dlg.lM01Sector.setVisible(true); … … 685 710 * if (Bearing2[i] != null) Main.main.undoRedo.add(new 686 711 * ChangePropertyCommand(Node, "seamark:light:" + i + ":sector_end", 687 * Bearing2[i])); } } 688 * if (hasTopMark()) { Main.main.undoRedo.add(new 712 * Bearing2[i])); } } if (hasTopMark()) { Main.main.undoRedo.add(new 689 713 * ChangePropertyCommand(Node, "seamark:topmark:shape", shape)); 690 714 * Main.main.undoRedo.add(new ChangePropertyCommand(Node, 691 * "seamark:topmark:colour", colour)); } 692 * if (hasRadar()) {Main.main.undoRedo.add(new ChangePropertyCommand(Node,715 * "seamark:topmark:colour", colour)); } if (hasRadar()) { 716 * Main.main.undoRedo.add(new ChangePropertyCommand(Node, 693 717 * "seamark:radar_reflector", "yes")); } if (hasRacon()) { switch (RaType) { 694 718 * case RATYPE_RACON: Main.main.undoRedo.add(new ChangePropertyCommand(Node,
Note:
See TracChangeset
for help on using the changeset viewer.