From a06df6bb33baa2825e57fb76f45636c8a66a5dcc Mon Sep 17 00:00:00 2001 From: Daniel Kirschten Date: Thu, 26 Sep 2019 18:17:06 +0200 Subject: [PATCH] Fixed typo in SimulationViewEditor --- .../net/mograsim/plugin/editors/SimulationViewEditor.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.17.1