X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fcomponents%2FBasicGUIComponent.java;fp=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fcomponents%2FBasicGUIComponent.java;h=b8094a932ba95ac44d54f6824fcd3e6d926e49d4;hb=4be7eddcfc45e5e5794bd0dc1e2c2423fa43ec51;hp=fa753e18499172733f1377a490bf4efb9b42718a;hpb=d910c4db589f1a9f64ebe42703a0f33d5030a576;p=Mograsim.git diff --git a/LogicUI/src/era/mi/gui/components/BasicGUIComponent.java b/LogicUI/src/era/mi/gui/components/BasicGUIComponent.java index fa753e18..b8094a93 100644 --- a/LogicUI/src/era/mi/gui/components/BasicGUIComponent.java +++ b/LogicUI/src/era/mi/gui/components/BasicGUIComponent.java @@ -1,6 +1,6 @@ package era.mi.gui.components; -import era.mi.logic.wires.WireArray; +import era.mi.logic.wires.Wire.WireEnd; import net.haspamelodica.swt.helper.gcs.GeneralGC; import net.haspamelodica.swt.helper.swtobjectwrappers.Point; import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle; @@ -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 * added) */ - public int getConnectedWireArraysCount(); + public int getConnectedWireEndsCount(); /** * Returns the n-th wire array connected to this component. */ - public WireArray getConnectedWireArray(int connectionIndex); + public WireEnd getConnectedWireEnd(int connectionIndex); /** * Returns relative coordinates where the n-th wire array is connected to this component. */ - public Point getWireArrayConnectionPoint(int connectionIndex); + public Point getWireEndConnectionPoint(int connectionIndex); } \ No newline at end of file