Bug 184072 [Forms] Non-editable fields draw gray
Build id: I20070424-0930 Something happens this week that started causing non-editable fields to look like disabled fields. This has a very ugly gray effect in Forms, particularly when you see a mixture of disabled text fields and combo boxes. Screenshot to follow.
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/FormToolkit.java
* <p>
 * Typically, one toolkit object is created per workbench part (for example, an
 * editor or a form wizard). The toolkit is disposed when the part is disposed.
 * To conserve resources, it is possible to create one color object for the
 * entire plug-in and share it between several toolkits. The plug-in is
 * responsible for disposing the colors (disposing the toolkit that uses shared
 * color object will not dispose the colors).
 * <p>
 * FormToolkit is normally instantiated, but can also be subclassed if some of
 * the methods needs to be modified. In those cases, <code>super</code> must
 * be called to preserve normal behaviour.
 * 
 * @since 3.0
 */
public class FormToolkit {
	public static final String KEY_DRAW_BORDER = "FormWidgetFactory.drawBorder"; 
	public static final String TREE_BORDER = "treeBorder"; 
	public static final String TEXT_BORDER = "textBorder"; 
	private int borderStyle = SWT.NULL;
	private FormColors colors;
	private int orientation = Window.getDefaultOrientation();
	
	private BorderPainter borderPainter;
	private BoldFontHolder boldFontHolder;
	private HyperlinkGroup hyperlinkGroup;
	
	VisibilityHandler visibilityHandler;
	
	KeyboardHandler keyboardHandler;
	private class BorderPainter implements PaintListener {