Bug 166500 [Viewers] AbstractViewerEditor too much optimization
I think the optimization of not recreating the listeners every time is not appropriate. 2 ways to solve this: - writing part to into an instance variable - recreating the the listener everytime The same applies to the mouse-listener.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractViewerEditor.java
final Control control = cellEditor.getControl();
				cellEditor.activate();
				if (control == null) {
					return;
				}
				setLayoutData(cellEditor.getLayoutData());
				setEditor(control, item, columnNumber);
				cellEditor.setFocus();
				if (focusListener == null) {
					focusListener = new FocusAdapter() {
						public void focusLost(FocusEvent e) {
							applyEditorValue();
						}
					};
				}
				control.addFocusListener(focusListener);
				if (mouseListener == null) {
					mouseListener = new MouseAdapter() {
						public void mouseDown(MouseEvent e) {
							
							
							if (e.time <= doubleClickExpirationTime) {
								control.removeMouseListener(mouseListener);
								cancelEditing();
								handleDoubleClickEvent();
							} else if (mouseListener != null) {