X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fui%2Fmodel%2Fwires%2FPin.java;h=b761c0e7912133cb951b97246bf3628062b0c4a9;hb=08575a70a760b4c3d07a3c8fce1901d8cf490668;hp=287a6237da3e6aa842e9da8e6171a7ed6c15eca4;hpb=d186e621b8482ecaa9b5a328d7df4e3d2c6e0c8e;p=Mograsim.git diff --git a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/Pin.java b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/Pin.java index 287a6237..b761c0e7 100644 --- a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/Pin.java +++ b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/model/wires/Pin.java @@ -15,7 +15,7 @@ import net.mograsim.logic.ui.model.components.GUIComponent; * * @author Daniel Kirschten */ -public class Pin +public class Pin implements ConnectionPoint { /** * The {@link GUIComponent} this pin belongs to @@ -136,4 +136,10 @@ public class Pin { return "Pin [" + name + ", point=" + getPos() + "]"; } + + @Override + public Pin getPin() + { + return this; + } } \ No newline at end of file