X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.plugin.core%2Fsrc%2Fnet%2Fmograsim%2Fplugin%2FSimulationPreview.java;h=5fcc1688f6587580de828e45c7f662a98d5c5d8a;hb=8bed58cd47f4e53a0a83e066d38864aa6875502f;hp=bff6d61649abf2ecf195523a8ab269ff8ff845d1;hpb=552986fd8718d5f2db00802015fdd1ecd58a5a2f;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 bff6d616..5fcc1688 100644 --- a/net.mograsim.plugin.core/src/net/mograsim/plugin/SimulationPreview.java +++ b/net.mograsim.plugin.core/src/net/mograsim/plugin/SimulationPreview.java @@ -9,7 +9,7 @@ import net.haspamelodica.swt.helper.swtobjectwrappers.Point; import net.mograsim.logic.core.timeline.Timeline; import net.mograsim.logic.model.LogicExecuter; import net.mograsim.logic.model.LogicUICanvas; -import net.mograsim.logic.model.model.ViewModelModifiable; +import net.mograsim.logic.model.model.LogicModelModifiable; import net.mograsim.logic.model.model.components.atomic.ModelManualSwitch; import net.mograsim.logic.model.model.components.atomic.ModelNotGate; import net.mograsim.logic.model.model.components.atomic.ModelOrGate; @@ -36,7 +36,7 @@ public class SimulationPreview implements IThemePreview // TODO this will change the global preferences; so if another LogicUICanvas redraws, it will use the "new" colors too. Preferences.setPreferences(currentThemePreferences); - ViewModelModifiable model = new ViewModelModifiable(); + LogicModelModifiable model = new LogicModelModifiable(); CoreModelParameters params = new CoreModelParameters(); params.gateProcessTime = 50; params.wireTravelTime = 10;