X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.ui%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fui%2Fmodeladapter%2Fcomponentadapters%2FBitDisplayAdapter.java;h=81506d2e7cdfbf821e9c361a19bbaf2aa0ec7033;hb=996ddc75e1cbf99b266976b1c5827db75cc902be;hp=cdf10cc857ff5a733b9758b3760c88ec6aabda63;hpb=7df30691216ad44712c2664d1717aff550952752;p=Mograsim.git diff --git a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/modeladapter/componentadapters/BitDisplayAdapter.java b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/modeladapter/componentadapters/BitDisplayAdapter.java index cdf10cc8..81506d2e 100644 --- a/net.mograsim.logic.ui/src/net/mograsim/logic/ui/modeladapter/componentadapters/BitDisplayAdapter.java +++ b/net.mograsim.logic.ui/src/net/mograsim/logic/ui/modeladapter/componentadapters/BitDisplayAdapter.java @@ -3,7 +3,6 @@ package net.mograsim.logic.ui.modeladapter.componentadapters; import java.util.Map; import net.mograsim.logic.core.components.BitDisplay; -import net.mograsim.logic.core.components.Component; import net.mograsim.logic.core.timeline.Timeline; import net.mograsim.logic.core.wires.Wire; import net.mograsim.logic.core.wires.Wire.ReadEnd; @@ -20,12 +19,11 @@ public class BitDisplayAdapter implements ComponentAdapter } @Override - public Component createAndLinkComponent(Timeline timeline, LogicModelParameters params, GUIBitDisplay guiComponent, + public void createAndLinkComponent(Timeline timeline, LogicModelParameters params, GUIBitDisplay guiComponent, Map logicWiresPerPin) { ReadEnd end = logicWiresPerPin.get(guiComponent.getInputPin()).createReadOnlyEnd(); BitDisplay bitDisplay = new BitDisplay(timeline, end); guiComponent.setLogicModelBinding(bitDisplay); - return bitDisplay; } } \ No newline at end of file