X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.plugin.core%2Fsrc%2Fnet%2Fmograsim%2Fplugin%2FSimulationPreview.java;fp=net.mograsim.plugin.core%2Fsrc%2Fnet%2Fmograsim%2Fplugin%2FSimulationPreview.java;h=bff6d61649abf2ecf195523a8ab269ff8ff845d1;hb=552986fd8718d5f2db00802015fdd1ecd58a5a2f;hp=f669a49aea9c1d5a0304bd92f4b30da881c67a7a;hpb=78136f2ede87e1c22239cff89cbd563d0d1daae6;p=Mograsim.git diff --git a/net.mograsim.plugin.core/src/net/mograsim/plugin/SimulationPreview.java b/net.mograsim.plugin.core/src/net/mograsim/plugin/SimulationPreview.java index f669a49a..bff6d616 100644 --- a/net.mograsim.plugin.core/src/net/mograsim/plugin/SimulationPreview.java +++ b/net.mograsim.plugin.core/src/net/mograsim/plugin/SimulationPreview.java @@ -15,8 +15,8 @@ import net.mograsim.logic.model.model.components.atomic.ModelNotGate; import net.mograsim.logic.model.model.components.atomic.ModelOrGate; import net.mograsim.logic.model.model.wires.ModelWire; import net.mograsim.logic.model.model.wires.ModelWireCrossPoint; -import net.mograsim.logic.model.modeladapter.LogicModelParameters; -import net.mograsim.logic.model.modeladapter.ViewLogicModelAdapter; +import net.mograsim.logic.model.modeladapter.CoreModelParameters; +import net.mograsim.logic.model.modeladapter.LogicCoreAdapter; import net.mograsim.preferences.Preferences; public class SimulationPreview implements IThemePreview @@ -37,7 +37,7 @@ public class SimulationPreview implements IThemePreview Preferences.setPreferences(currentThemePreferences); ViewModelModifiable model = new ViewModelModifiable(); - LogicModelParameters params = new LogicModelParameters(); + CoreModelParameters params = new CoreModelParameters(); params.gateProcessTime = 50; params.wireTravelTime = 10; @@ -80,7 +80,7 @@ public class SimulationPreview implements IThemePreview o2.moveCenterTo(150, 72.5); new ModelWire(model, p2, o2); - Timeline t = ViewLogicModelAdapter.convert(model, params); + Timeline t = LogicCoreAdapter.convert(model, params); exec = new LogicExecuter(t); rIn.clicked(0, 0);