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 ->
{
IFileEditorInput fileInput = (IFileEditorInput) input;
context = ProjectMachineContext.getMachineContextOf(fileInput.getFile().getProject());
context.activateMachine();
- context.addActiveMachineListener(activeMNachineListener);
+ context.addActiveMachineListener(activeMachineListener);
recreateContextDependentControls();
setPartName(fileInput.getName());
public void dispose()
{
stopExecAndDeregisterContextDependentListeners();
- context.removeActiveMachineListener(activeMNachineListener);
+ context.removeActiveMachineListener(activeMachineListener);
super.dispose();
}
}
\ No newline at end of file