Bug 97852 [preferences] Pref Page Java/Editor/Syntax Coloring - Color label enablement
The "Color:" label should be disabled when the color button is disabled.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorColoringConfigurationBlock.java
* has been called.
     * </p>
     * <p>
     * Clients may call this framework method, but should not override it.
     * </p>
     * 
     * @param chars
     *            the number of characters
     * @return the number of pixels
     */
    private int convertHeightInCharsToPixels(int chars) {
        
        if (fFontMetrics == null)
            return 0;
        return Dialog.convertHeightInCharsToPixels(fFontMetrics, chars);
    }
    
	public void initialize() {
		super.initialize();
		
		fListViewer.setInput(fListModel);
		fListViewer.setSelection(new StructuredSelection(fJavaCategory));
	}
	public void performDefaults() {
		super.performDefaults();
		
		handleSyntaxColorListSelection();
		uninstallSemanticHighlighting();
		installSemanticHighlighting();
		fPreviewViewer.invalidateTextPresentation();