X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=LogicUI%2Fsrc%2Fera%2Fmi%2Fgui%2Fcomponents%2FBasicGUIComponent.java;h=bf13d3e21e4f64d298b2f5bcf11ca634712780e3;hb=252cbeaf9326219582cf20a3c1ef643a5218c128;hp=daebd4339c66e5c897f2c89662cb4716985d33b5;hpb=32a3d41c11b96c2530c25b6059b4341a8b34a2e2;p=Mograsim.git diff --git a/LogicUI/src/era/mi/gui/components/BasicGUIComponent.java b/LogicUI/src/era/mi/gui/components/BasicGUIComponent.java index daebd433..bf13d3e2 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.ReadEnd; 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 ReadEnd 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