From: Daniel Kirschten Date: Thu, 26 Sep 2019 16:17:06 +0000 (+0200) Subject: Fixed typo in SimulationViewEditor X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=a06df6bb33baa2825e57fb76f45636c8a66a5dcc;p=Mograsim.git Fixed typo in SimulationViewEditor --- diff --git a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java index 06fadc00..02fc2d98 100644 --- a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java +++ b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/editors/SimulationViewEditor.java @@ -59,13 +59,13 @@ public class SimulationViewEditor extends EditorPart private InstructionTable instPreview; private Label noMachineLabel; - private ActiveMachineListener activeMNachineListener; + private ActiveMachineListener activeMachineListener; private MemoryCellModifiedListener memCellListener; private LogicObserver clockObserver; public SimulationViewEditor() { - activeMNachineListener = m -> recreateContextDependentControls(); + activeMachineListener = m -> recreateContextDependentControls(); memCellListener = a -> instPreview.refresh(); clockObserver = o -> { @@ -288,7 +288,7 @@ public class SimulationViewEditor extends EditorPart IFileEditorInput fileInput = (IFileEditorInput) input; context = ProjectMachineContext.getMachineContextOf(fileInput.getFile().getProject()); context.activateMachine(); - context.addActiveMachineListener(activeMNachineListener); + context.addActiveMachineListener(activeMachineListener); recreateContextDependentControls(); setPartName(fileInput.getName()); @@ -348,7 +348,7 @@ public class SimulationViewEditor extends EditorPart public void dispose() { stopExecAndDeregisterContextDependentListeners(); - context.removeActiveMachineListener(activeMNachineListener); + context.removeActiveMachineListener(activeMachineListener); super.dispose(); } } \ No newline at end of file