X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.plugin.core%2Fsrc%2Fnet%2Fmograsim%2Fplugin%2Feditors%2FSimulationViewEditor.java;fp=plugins%2Fnet.mograsim.plugin.core%2Fsrc%2Fnet%2Fmograsim%2Fplugin%2Feditors%2FSimulationViewEditor.java;h=02fc2d98b6e77265740fe9b12b096961752f1e64;hb=a06df6bb33baa2825e57fb76f45636c8a66a5dcc;hp=06fadc001fc880876b2867bf7f3aa0925e5e2440;hpb=59e4f0d9447e3c764c83e7edabfcbf5c3c24a97b;p=Mograsim.git 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