Control control = editor.getControl();
Assert.isNotNull(control);
controlToEditor.put(control, editor);
control.addListener(SWT.Activate, controlListener);
control.addListener(SWT.Deactivate, controlListener);
if (control.isFocusControl()) {
activeEditor = editor;
editor.addPropertyChangeListener(cellListener);
updateActionsEnableState();