Bug 64874 [Themes] [Preferences] Colors and Fonts preference page: Doubleclick should edit
RC1 Double clicking an entry in the 'Colors and Fonts' preference page could open the edit dialog
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/ColorSelector.java
public ColorSelector(Composite parent) {
        listeners = new ListenerList();
        fButton = new Button(parent, SWT.PUSH);
        fExtent = computeImageSize(parent);
        fImage = new Image(parent.getDisplay(), fExtent.x, fExtent.y);
        GC gc = new GC(fImage);
        gc.setBackground(fButton.getBackground());
        gc.fillRectangle(0, 0, fExtent.x, fExtent.y);
        gc.dispose();
        fButton.setImage(fImage);
        fButton.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent event) {
                ColorDialog colorDialog = new ColorDialog(fButton.getShell());
                colorDialog.setRGB(fColorValue);
                RGB newColor = colorDialog.open();
                if (newColor != null) {
                    RGB oldValue = fColorValue;
                    fColorValue = newColor;
                    final Object[] finalListeners = ColorSelector.this.listeners
                            .getListeners();
                    if (finalListeners.length > 0) {
                        PropertyChangeEvent pEvent = new PropertyChangeEvent(
                                this, PROP_COLORCHANGE, oldValue, newColor);
                        for (int i = 0; i < finalListeners.length; ++i) {
                            IPropertyChangeListener listener = (IPropertyChangeListener) finalListeners[i];
                            listener.propertyChange(pEvent);
                        }
                    }
                    updateColorImage();
                }