Added convenience constructors in GUIWire
[Mograsim.git] / net.mograsim.logic.ui / src / net / mograsim / logic / ui / model / components / mi / nandbased / GUIand41.java
index 3cb687d..8d319a1 100644 (file)
@@ -72,13 +72,13 @@ public class GUIand41 extends SubmodelComponent
                new GUIWire(submodelModifiable, A2, and2.getPinA());
                new GUIWire(submodelModifiable, A3, and3.getPinA());
                new GUIWire(submodelModifiable, A4, and4.getPinA());
-               new GUIWire(submodelModifiable, B, cpB4.getPin(), new Point(25, 125));
-               new GUIWire(submodelModifiable, cpB4.getPin(), and4.getPinB());
-               new GUIWire(submodelModifiable, cpB4.getPin(), cpB3.getPin());
-               new GUIWire(submodelModifiable, cpB3.getPin(), and3.getPinB());
-               new GUIWire(submodelModifiable, cpB3.getPin(), cpB2.getPin());
-               new GUIWire(submodelModifiable, cpB2.getPin(), and2.getPinB());
-               new GUIWire(submodelModifiable, cpB2.getPin(), and1.getPinB(), new Point(25, 27.5));
+               new GUIWire(submodelModifiable, B, cpB4, new Point(25, 125));
+               new GUIWire(submodelModifiable, cpB4, and4.getPinB());
+               new GUIWire(submodelModifiable, cpB4, cpB3);
+               new GUIWire(submodelModifiable, cpB3, and3.getPinB());
+               new GUIWire(submodelModifiable, cpB3, cpB2);
+               new GUIWire(submodelModifiable, cpB2, and2.getPinB());
+               new GUIWire(submodelModifiable, cpB2, and1.getPinB(), new Point(25, 27.5));
                new GUIWire(submodelModifiable, and1.getPinY(), Y1, new Point(75, 20), new Point(75, 12.5));
                new GUIWire(submodelModifiable, and2.getPinY(), Y2, new Point(75, 45), new Point(75, 37.5));
                new GUIWire(submodelModifiable, and3.getPinY(), Y3, new Point(75, 70), new Point(75, 62.5));