Bug 12329 [Cell Editors] Request:ComboBoxCellEditor READ_ONLY style
Although CCombo accepts SWT.READ_ONLY style, there is no way to specify style when it is used in ComboBoxCellEditor. How about adding createControl(Composite parent, int style) method to ComboBoxCellEditor class?
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TextCellEditor.java
package org.eclipse.jface.viewers;
/*
 * (c) Copyright IBM Corp. 2000, 2001.
 * All Rights Reserved.
 */
import org.eclipse.jface.util.Assert;
import org.eclipse.swt.*;
import org.eclipse.swt.custom.*;
import org.eclipse.swt.events.*;
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.widgets.*;
import java.text.MessageFormat;
/**
 * A cell editor that manages a text entry field.
 * The cell editor's value is the text string itself.
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.
 * </p>
 */
public class TextCellEditor extends CellEditor {
	/**
	 * The text control; initially <code>null</code>.
	 */
	protected Text text;
	private ModifyListener modifyListener;
	/**
	 * State information for updating action enablement
	 */
	private boolean isSelection = false;
	private boolean isDeleteable = false;