Index: /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChan.java
===================================================================
--- /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChan.java	(revision 26548)
+++ /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChan.java	(revision 26549)
@@ -38,26 +38,7 @@
 	private ActionListener alCat = new ActionListener() {
 		public void actionPerformed(java.awt.event.ActionEvent e) {
-			Shp shp = null;
+			Shp shp = Shp.UNKNOWN;
 			if (dlg.mark != null)
 				shp = dlg.mark.getShape();
-			if (portButton.isSelected() || prefPortButton.isSelected()) {
-				dlg.panelMain.panelTop.enableAll(false);
-				dlg.panelMain.panelTop.noTopButton.setEnabled(true);
-				dlg.panelMain.panelTop.canTopButton.setEnabled(true);
-				dlg.panelMain.panelTop.panelCol.enableAll(false);
-				dlg.panelMain.panelLit.panelCol.enableAll(false);
-				dlg.panelMain.panelLit.panelCol.offButton.setEnabled(true);
-				if (dlg.mark.getRegion() == Reg.B) {
-					dlg.panelMain.panelTop.panelCol.greenButton.setEnabled(true);
-					dlg.panelMain.panelTop.panelCol.greenButton.doClick();
-					dlg.panelMain.panelLit.panelCol.greenButton.setEnabled(true);
-					dlg.panelMain.panelLit.panelCol.greenButton.doClick();
-				} else {
-					dlg.panelMain.panelTop.panelCol.redButton.setEnabled(true);
-					dlg.panelMain.panelTop.panelCol.redButton.doClick();
-					dlg.panelMain.panelLit.panelCol.redButton.setEnabled(true);
-					dlg.panelMain.panelLit.panelCol.redButton.doClick();
-				}
-			}
 			if (portButton.isSelected()) {
 				dlg.mark.setCategory(Cat.LAT_PORT);
@@ -68,9 +49,9 @@
 					dlg.mark.setShape(Shp.UNKNOWN);
 				}
-				if (dlg.mark.getRegion() == Reg.B) {
-					dlg.mark.setColour(Ent.BODY, Col.GREEN);
+				if (dlg.mark.getRegion() == Reg.C) {
+					panelPort.regionCButton.doClick();
+				} else if (dlg.mark.getRegion() == Reg.B) {
 					panelPort.regionBButton.doClick();
 				} else {
-					dlg.mark.setColour(Ent.BODY, Col.RED);
 					panelPort.regionAButton.doClick();
 				}
@@ -91,13 +72,9 @@
 					dlg.mark.setShape(Shp.UNKNOWN);
 				}
-				if (dlg.mark.getRegion() == Reg.B) {
-					dlg.mark.setColour(Ent.BODY, Col.GREEN);
-					dlg.mark.addColour(Ent.BODY, Col.RED);
-					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+				if (dlg.mark.getRegion() == Reg.C) {
+					panelPort.regionCButton.doClick();
+				} else if (dlg.mark.getRegion() == Reg.B) {
 					panelPort.regionBButton.doClick();
 				} else {
-					dlg.mark.setColour(Ent.BODY, Col.RED);
-					dlg.mark.addColour(Ent.BODY, Col.GREEN);
-					dlg.mark.addColour(Ent.BODY, Col.RED);
 					panelPort.regionAButton.doClick();
 				}
@@ -115,23 +92,4 @@
 					panelPort.setVisible(false);
 			}
-			if (stbdButton.isSelected() || prefStbdButton.isSelected()) {
-				dlg.panelMain.panelTop.enableAll(false);
-				dlg.panelMain.panelTop.noTopButton.setEnabled(true);
-				dlg.panelMain.panelTop.coneTopButton.setEnabled(true);
-				dlg.panelMain.panelTop.panelCol.enableAll(false);
-				dlg.panelMain.panelLit.panelCol.enableAll(false);
-				dlg.panelMain.panelLit.panelCol.offButton.setEnabled(true);
-				if (dlg.mark.getRegion() == Reg.B) {
-					dlg.panelMain.panelTop.panelCol.redButton.setEnabled(true);
-					dlg.panelMain.panelTop.panelCol.redButton.doClick();
-					dlg.panelMain.panelLit.panelCol.redButton.setEnabled(true);
-					dlg.panelMain.panelLit.panelCol.redButton.doClick();
-				} else {
-					dlg.panelMain.panelTop.panelCol.greenButton.setEnabled(true);
-					dlg.panelMain.panelTop.panelCol.greenButton.doClick();
-					dlg.panelMain.panelLit.panelCol.greenButton.setEnabled(true);
-					dlg.panelMain.panelLit.panelCol.greenButton.doClick();
-				}
-			}
 			if (stbdButton.isSelected()) {
 				dlg.mark.setCategory(Cat.LAT_STBD);
@@ -142,9 +100,9 @@
 					dlg.mark.setShape(Shp.UNKNOWN);
 				}
-				if (dlg.mark.getRegion() == Reg.B) {
-					dlg.mark.setColour(Ent.BODY, Col.RED);
+				if (dlg.mark.getRegion() == Reg.C) {
+					panelStbd.regionCButton.doClick();
+				} else if (dlg.mark.getRegion() == Reg.B) {
 					panelStbd.regionBButton.doClick();
 				} else {
-					dlg.mark.setColour(Ent.BODY, Col.GREEN);
 					panelStbd.regionAButton.doClick();
 				}
@@ -165,13 +123,9 @@
 					dlg.mark.setShape(Shp.UNKNOWN);
 				}
-				if (dlg.mark.getRegion() == Reg.B) {
-					dlg.mark.setColour(Ent.BODY, Col.RED);
-					dlg.mark.addColour(Ent.BODY, Col.GREEN);
-					dlg.mark.addColour(Ent.BODY, Col.RED);
+				if (dlg.mark.getRegion() == Reg.C) {
+					panelStbd.regionCButton.doClick();
+				} else if (dlg.mark.getRegion() == Reg.B) {
 					panelStbd.regionBButton.doClick();
 				} else {
-					dlg.mark.setColour(Ent.BODY, Col.GREEN);
-					dlg.mark.addColour(Ent.BODY, Col.RED);
-					dlg.mark.addColour(Ent.BODY, Col.GREEN);
 					panelStbd.regionAButton.doClick();
 				}
@@ -196,10 +150,4 @@
 					dlg.mark.setShape(Shp.UNKNOWN);
 				}
-				dlg.panelMain.panelTop.enableAll(false);
-				dlg.panelMain.panelTop.noTopButton.setEnabled(true);
-				dlg.panelMain.panelTop.sphereTopButton.setEnabled(true);
-				dlg.panelMain.panelTop.panelCol.enableAll(false);
-				dlg.panelMain.panelTop.panelCol.redButton.setEnabled(true);
-				dlg.panelMain.panelTop.panelCol.redButton.doClick();
 				dlg.mark.setColour(Ent.BODY, Col.RED);
 				dlg.mark.addColour(Ent.BODY, Col.WHITE);
Index: /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelPort.java
===================================================================
--- /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelPort.java	(revision 26548)
+++ /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelPort.java	(revision 26549)
@@ -15,4 +15,8 @@
 import oseam.Messages;
 import oseam.dialogs.OSeaMAction;
+import oseam.seamarks.SeaMark.Cat;
+import oseam.seamarks.SeaMark.Col;
+import oseam.seamarks.SeaMark.Pat;
+import oseam.seamarks.SeaMark.Ent;
 import oseam.seamarks.SeaMark.Reg;
 import oseam.seamarks.SeaMark.Shp;
@@ -30,18 +34,44 @@
 			if (regionAButton.isSelected()) {
 				dlg.mark.setRegion(Reg.A);
+				dlg.mark.setColour(Ent.BODY, Col.RED);
+				dlg.mark.setPattern(Ent.BODY, Pat.NONE);
+				if (dlg.mark.getCategory() == Cat.LAT_PREF_PORT) {
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+					dlg.mark.addColour(Ent.BODY, Col.RED);
+					dlg.mark.setPattern(Ent.BODY, Pat.HORIZ);
+				}
 				regionAButton.setBorderPainted(true);
-			} else { 
+			} else {
 				regionAButton.setBorderPainted(false);
 			}
 			if (regionBButton.isSelected()) {
 				dlg.mark.setRegion(Reg.B);
+				dlg.mark.setColour(Ent.BODY, Col.GREEN);
+				dlg.mark.setPattern(Ent.BODY, Pat.NONE);
+				if (dlg.mark.getCategory() == Cat.LAT_PREF_PORT) {
+					dlg.mark.addColour(Ent.BODY, Col.RED);
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+					dlg.mark.setPattern(Ent.BODY, Pat.HORIZ);
+				}
 				regionBButton.setBorderPainted(true);
-			} else { 
+			} else {
 				regionBButton.setBorderPainted(false);
 			}
 			if (regionCButton.isSelected()) {
 				dlg.mark.setRegion(Reg.C);
+				if (dlg.mark.getCategory() == Cat.LAT_PREF_PORT) {
+					dlg.mark.setColour(Ent.BODY, Col.RED);
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+					dlg.mark.addColour(Ent.BODY, Col.RED);
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+				} else {
+					dlg.mark.setColour(Ent.BODY, Col.RED);
+					dlg.mark.addColour(Ent.BODY, Col.WHITE);
+					dlg.mark.addColour(Ent.BODY, Col.RED);
+					dlg.mark.addColour(Ent.BODY, Col.WHITE);
+				}
+				dlg.mark.setPattern(Ent.BODY, Pat.HORIZ);
 				regionCButton.setBorderPainted(true);
-			} else { 
+			} else {
 				regionCButton.setBorderPainted(false);
 			}
Index: /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelStbd.java
===================================================================
--- /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelStbd.java	(revision 26548)
+++ /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelStbd.java	(revision 26549)
@@ -15,4 +15,8 @@
 import oseam.Messages;
 import oseam.dialogs.OSeaMAction;
+import oseam.seamarks.SeaMark.Cat;
+import oseam.seamarks.SeaMark.Col;
+import oseam.seamarks.SeaMark.Ent;
+import oseam.seamarks.SeaMark.Pat;
 import oseam.seamarks.SeaMark.Shp;
 import oseam.seamarks.SeaMark.Obj;
@@ -30,4 +34,11 @@
 			if (regionAButton.isSelected()) {
 				dlg.mark.setRegion(Reg.A);
+				dlg.mark.setColour(Ent.BODY, Col.GREEN);
+				dlg.mark.setPattern(Ent.BODY, Pat.NONE);
+				if (dlg.mark.getCategory() == Cat.LAT_PREF_STBD) {
+					dlg.mark.addColour(Ent.BODY, Col.RED);
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+					dlg.mark.setPattern(Ent.BODY, Pat.HORIZ);
+				}
 				regionAButton.setBorderPainted(true);
 			} else { 
@@ -36,4 +47,11 @@
 			if (regionBButton.isSelected()) {
 				dlg.mark.setRegion(Reg.B);
+				dlg.mark.setColour(Ent.BODY, Col.RED);
+				dlg.mark.setPattern(Ent.BODY, Pat.NONE);
+				if (dlg.mark.getCategory() == Cat.LAT_PREF_STBD) {
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+					dlg.mark.addColour(Ent.BODY, Col.RED);
+					dlg.mark.setPattern(Ent.BODY, Pat.HORIZ);
+				}
 				regionBButton.setBorderPainted(true);
 			} else { 
@@ -42,4 +60,16 @@
 			if (regionCButton.isSelected()) {
 				dlg.mark.setRegion(Reg.C);
+				if (dlg.mark.getCategory() == Cat.LAT_PREF_STBD) {
+					dlg.mark.setColour(Ent.BODY, Col.RED);
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+					dlg.mark.addColour(Ent.BODY, Col.RED);
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+				} else {
+					dlg.mark.setColour(Ent.BODY, Col.GREEN);
+					dlg.mark.addColour(Ent.BODY, Col.WHITE);
+					dlg.mark.addColour(Ent.BODY, Col.GREEN);
+					dlg.mark.addColour(Ent.BODY, Col.WHITE);
+				}
+				dlg.mark.setPattern(Ent.BODY, Pat.HORIZ);
 				regionCButton.setBorderPainted(true);
 			} else { 
Index: /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
===================================================================
--- /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java	(revision 26548)
+++ /applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java	(revision 26549)
@@ -5,9 +5,5 @@
 import java.util.ArrayList;
 import java.util.EnumMap;
-import java.util.EnumSet;
 import java.util.Map;
-import java.util.HashMap;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
 
 import org.openstreetmap.josm.Main;
@@ -15,5 +11,4 @@
 import org.openstreetmap.josm.command.ChangePropertyCommand;
 
-import oseam.Messages;
 import oseam.dialogs.OSeaMAction;
 import oseam.seamarks.Light;
@@ -41,5 +36,5 @@
 	}
 
-	private String name;
+	private String name = "";
 
 	public String getName() {
@@ -348,7 +343,7 @@
 	}
 
-	private Pat bodyPattern;
-	private Pat topPattern;
-	private Pat dayPattern;
+	private Pat bodyPattern = Pat.NONE;
+	private Pat topPattern = Pat.NONE;
+	private Pat dayPattern = Pat.NONE;
 
 	public Pat getPattern(Ent ent) {
@@ -581,4 +576,15 @@
 
 		for (Obj obj : ObjMAP.keySet()) {
+			if (keys.containsKey("seamark:" + ObjMAP.get(obj) + ":system")) {
+				str = keys.get("seamark:" + ObjMAP.get(obj) + ":system");
+				if (str.equals("iala-a"))
+					setRegion(Reg.A);
+				else if (str.equals("iala-b"))
+					setRegion(Reg.B);
+				else setRegion(Reg.C);
+			}
+		}
+
+		for (Obj obj : ObjMAP.keySet()) {
 			if (keys.containsKey("seamark:" + ObjMAP.get(obj) + ":category")) {
 				str = keys.get("seamark:" + ObjMAP.get(obj) + ":category");
@@ -602,5 +608,6 @@
 				}
 			}
-		} if (getShape() == Shp.UNKNOWN) {
+		}
+		if (getShape() == Shp.UNKNOWN) {
 			if (EntMAP.get(getObject()) == Ent.BEACON)
 				setShape(Shp.BEACON);
@@ -608,5 +615,4 @@
 				setShape(Shp.FLOAT);
 		}
-
 
 		for (Obj obj : ObjMAP.keySet()) {
@@ -635,6 +641,6 @@
 			}
 		}
-		
-		switch (GrpMAP.get(dlg.mark.getObject())) {
+
+		switch (GrpMAP.get(getObject())) {
 		case NUL:
 			dlg.panelMain.clearSelections();
@@ -758,38 +764,40 @@
 			break;
 		default:
-			if (EntMAP.get(dlg.mark.getObject()) == Ent.BEACON)
+			if (EntMAP.get(getObject()) == Ent.BEACON)
 				imgStr += "Beacon";
-			else
+			if (EntMAP.get(getObject()) == Ent.BUOY)
 				imgStr += "Pillar";
 		}
-		for (Col col : bodyColour) {
-			switch (col) {
-			case WHITE:
-				imgStr += "_White";
-				break;
-			case RED:
-				imgStr += "_Red";
-				break;
-			case ORANGE:
-				imgStr += "_Orange";
-				break;
-			case AMBER:
-				imgStr += "_Amber";
-				break;
-			case YELLOW:
-				imgStr += "_Yellow";
-				break;
-			case GREEN:
-				imgStr += "_Green";
-				break;
-			case BLUE:
-				imgStr += "_Blue";
-				break;
-			case VIOLET:
-				imgStr += "_Violet";
-				break;
-			case BLACK:
-				imgStr += "_Black";
-				break;
+		if (!imgStr.equals("/images/")) {
+			for (Col col : bodyColour) {
+				switch (col) {
+				case WHITE:
+					imgStr += "_White";
+					break;
+				case RED:
+					imgStr += "_Red";
+					break;
+				case ORANGE:
+					imgStr += "_Orange";
+					break;
+				case AMBER:
+					imgStr += "_Amber";
+					break;
+				case YELLOW:
+					imgStr += "_Yellow";
+					break;
+				case GREEN:
+					imgStr += "_Green";
+					break;
+				case BLUE:
+					imgStr += "_Blue";
+					break;
+				case VIOLET:
+					imgStr += "_Violet";
+					break;
+				case BLACK:
+					imgStr += "_Black";
+					break;
+				}
 			}
 		}
@@ -817,10 +825,10 @@
 
 		for (String str : node.getKeys().keySet()) {
-			if (str.matches("^seamark:"))
+			if (str.trim().matches("^seamark:\\S+"))
 				Main.main.undoRedo.add(new ChangePropertyCommand(node, str, null));
 		}
 
-		if (!name.isEmpty())
-			Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:name", name));
+		if (!getName().isEmpty())
+			Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:name", getName()));
 
 		String objStr = ObjMAP.get(object);
@@ -834,7 +842,31 @@
 			Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":shape", ShpMAP.get(shape)));
 
-			str = ColMAP.get(bodyColour);
-			if (str != null)
+			if (getColour(Ent.BODY, 0) != Col.UNKNOWN) {
+				str = ColMAP.get(getColour(Ent.BODY, 0));
+				for (int i = 1; bodyColour.size() > i; i++) {
+					str += (";" + ColMAP.get(getColour(Ent.BODY, i)));
+				}
 				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":colour", str));
+			}
+
+			if (getPattern(Ent.BODY) != Pat.NONE) {
+				str = PatMAP.get(getPattern(Ent.BODY));
+				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":colour_pattern", str));
+			}
+			
+			if (GrpMAP.get(object) == Grp.LAT) {
+				switch (region) {
+				case A:
+					Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":system", "iala-a"));
+					break;
+				case B:
+					Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":system", "iala-b"));
+					break;
+				case C:
+					Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":system", "other"));
+					break;
+				}
+			}
+
 			/*
 			 * switch (bodyColour) { case RED_GREEN_RED: case GREEN_RED_GREEN: case
@@ -847,24 +879,19 @@
 			 */}
 
-/*		String str = TopMAP.get(topShape);
-		if (str != null) {
-			Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:topmark:shape", str));
-
-			str = ColMAP.get(topColour);
-			if (str != null)
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:topmark:colour", str));
-		}
-
-		str = DayMAP.get(dayShape);
-		if (str != null) {
-			Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:daymark:shape", str));
-
-			str = ColMAP.get(dayColour);
-			if (str != null)
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:daymark:colour", str));
-		}
 		/*
-		 * Col colour; if (isFired()) { if ((colour = lightColour[0]) !=
-		 * Col.UNKNOWN) if (colour == Col.RED) { Main.main.undoRedo.add(new
+		 * String str = TopMAP.get(topShape); if (str != null) {
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:topmark:shape", str));
+		 * 
+		 * str = ColMAP.get(topColour); if (str != null) Main.main.undoRedo.add(new
+		 * ChangePropertyCommand(node, "seamark:topmark:colour", str)); }
+		 * 
+		 * str = DayMAP.get(dayShape); if (str != null) { Main.main.undoRedo.add(new
+		 * ChangePropertyCommand(node, "seamark:daymark:shape", str));
+		 * 
+		 * str = ColMAP.get(dayColour); if (str != null) Main.main.undoRedo.add(new
+		 * ChangePropertyCommand(node, "seamark:daymark:colour", str)); } /* Col
+		 * colour; if (isFired()) { if ((colour = lightColour[0]) != Col.UNKNOWN) if
+		 * (colour == Col.RED) { Main.main.undoRedo.add(new
 		 * ChangePropertyCommand(node, "seamark:light:colour", "red")); } else if
 		 * (colour.equals("G")) { Main.main.undoRedo.add(new
@@ -915,56 +942,40 @@
 		 * i + ":sector_end", Bearing2[i])); } }
 		 */
-/*		if (hasRadar()) {
-			Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:radar_reflector", "yes"));
-		}
-		if (hasRacon()) {
-			switch (RaType) {
-			case RACON:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:radar_transponder:category", "racon"));
-				if (!getRaconGroup().isEmpty())
-					Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:radar_transponder:group", getRaconGroup()));
-				break;
-			case RAMARK:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:radar_transponder:category", "ramark"));
-				break;
-			case LEADING:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:radar_transponder:category", "leading"));
-				break;
-			default:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:radar_transponder", "yes"));
-			}
-		}
-		if (hasFog()) {
-			switch (getFogSound()) {
-			case HORN:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:category", "horn"));
-				break;
-			case SIREN:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:category", "siren"));
-				break;
-			case DIA:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:category", "diaphone"));
-				break;
-			case BELL:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:category", "bell"));
-				break;
-			case WHIS:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:category", "whistle"));
-				break;
-			case GONG:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:category", "gong"));
-				break;
-			case EXPLOS:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:category", "explosive"));
-				break;
-			default:
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal", "yes"));
-			}
-			if (!getFogGroup().isEmpty())
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:group", getFogGroup()));
-			if (!getFogPeriod().isEmpty())
-				Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:fog_signal:period", getFogPeriod()));
-		}
-*/	}
+		/*
+		 * if (hasRadar()) { Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:radar_reflector", "yes")); } if (hasRacon()) { switch (RaType) {
+		 * case RACON: Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:radar_transponder:category", "racon")); if
+		 * (!getRaconGroup().isEmpty()) Main.main.undoRedo.add(new
+		 * ChangePropertyCommand(node, "seamark:radar_transponder:group",
+		 * getRaconGroup())); break; case RAMARK: Main.main.undoRedo.add(new
+		 * ChangePropertyCommand(node, "seamark:radar_transponder:category",
+		 * "ramark")); break; case LEADING: Main.main.undoRedo.add(new
+		 * ChangePropertyCommand(node, "seamark:radar_transponder:category",
+		 * "leading")); break; default: Main.main.undoRedo.add(new
+		 * ChangePropertyCommand(node, "seamark:radar_transponder", "yes")); } } if
+		 * (hasFog()) { switch (getFogSound()) { case HORN:
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal:category", "horn")); break; case SIREN:
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal:category", "siren")); break; case DIA:
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal:category", "diaphone")); break; case BELL:
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal:category", "bell")); break; case WHIS:
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal:category", "whistle")); break; case GONG:
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal:category", "gong")); break; case EXPLOS:
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal:category", "explosive")); break; default:
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal", "yes")); } if (!getFogGroup().isEmpty())
+		 * Main.main.undoRedo.add(new ChangePropertyCommand(node,
+		 * "seamark:fog_signal:group", getFogGroup())); if
+		 * (!getFogPeriod().isEmpty()) Main.main.undoRedo.add(new
+		 * ChangePropertyCommand(node, "seamark:fog_signal:period",
+		 * getFogPeriod())); }
+		 */}
 
 }
