Adjusted LogicUI to new Wire / WireEnd concept
[Mograsim.git] / LogicUI / src / era / mi / gui / components / BasicGUIComponent.java
index daebd43..db99454 100644 (file)
@@ -1,6 +1,6 @@
 package era.mi.gui.components;\r
 \r
-import era.mi.logic.wires.WireArray;\r
+import era.mi.logic.wires.Wire.WireEnd;\r
 import net.haspamelodica.swt.helper.gcs.GeneralGC;\r
 import net.haspamelodica.swt.helper.swtobjectwrappers.Point;\r
 import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;\r
@@ -30,15 +30,15 @@ public interface BasicGUIComponent
         * Returns how many wire arrays are connected to this component. (Connections are static - they can't be removed and no new ones can be\r
         * added)\r
         */\r
-       public int getConnectedWireArraysCount();\r
+       public int getConnectedWireEndsCount();\r
 \r
        /**\r
         * Returns the n-th wire array connected to this component.\r
         */\r
-       public WireArray getConnectedWireArray(int connectionIndex);\r
+       public WireEnd getConnectedWireEnd(int connectionIndex);\r
 \r
        /**\r
         * Returns relative coordinates where the n-th wire array is connected to this component.\r
         */\r
-       public Point getWireArrayConnectionPoint(int connectionIndex);\r
+       public Point getWireEndConnectionPoint(int connectionIndex);\r
 }
\ No newline at end of file