mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Patch for bug 189217 by Jason Montojo - Color selector in Makefile Editor preference page has no accessibility info
This commit is contained in:
parent
dd17f14498
commit
a8ab7fb14f
1 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2002, 2006 QNX Software Systems and others.
|
* Copyright (c) 2002, 2007 QNX Software Systems and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* QNX Software Systems - Initial API and implementation
|
* QNX Software Systems - Initial API and implementation
|
||||||
|
* IBM Corporation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.make.internal.ui.preferences;
|
package org.eclipse.cdt.make.internal.ui.preferences;
|
||||||
|
@ -18,6 +19,7 @@ import org.eclipse.cdt.make.internal.ui.MakeUIPlugin;
|
||||||
import org.eclipse.cdt.make.internal.ui.text.ColorManager;
|
import org.eclipse.cdt.make.internal.ui.text.ColorManager;
|
||||||
import org.eclipse.cdt.make.ui.IMakeHelpContextIds;
|
import org.eclipse.cdt.make.ui.IMakeHelpContextIds;
|
||||||
import org.eclipse.cdt.ui.PreferenceConstants;
|
import org.eclipse.cdt.ui.PreferenceConstants;
|
||||||
|
import org.eclipse.jface.preference.ColorSelector;
|
||||||
import org.eclipse.jface.preference.IPreferenceStore;
|
import org.eclipse.jface.preference.IPreferenceStore;
|
||||||
import org.eclipse.jface.preference.PreferenceConverter;
|
import org.eclipse.jface.preference.PreferenceConverter;
|
||||||
import org.eclipse.jface.viewers.IColorProvider;
|
import org.eclipse.jface.viewers.IColorProvider;
|
||||||
|
@ -57,10 +59,8 @@ public class MakefileEditorPreferencePage extends AbstractMakefileEditorPreferen
|
||||||
private TableViewer fHighlightingColorListViewer;
|
private TableViewer fHighlightingColorListViewer;
|
||||||
private final java.util.List fHighlightingColorList= new ArrayList(5);
|
private final java.util.List fHighlightingColorList= new ArrayList(5);
|
||||||
|
|
||||||
ColorEditor fAppearanceColorEditor;
|
|
||||||
Button fAppearanceColorDefault;
|
Button fAppearanceColorDefault;
|
||||||
ColorEditor fSyntaxForegroundColorEditor;
|
ColorSelector fSyntaxForegroundColorEditor;
|
||||||
ColorEditor fBackgroundColorEditor;
|
|
||||||
Button fBoldCheckBox;
|
Button fBoldCheckBox;
|
||||||
Button fItalicCheckBox;
|
Button fItalicCheckBox;
|
||||||
|
|
||||||
|
@ -338,7 +338,7 @@ public class MakefileEditorPreferencePage extends AbstractMakefileEditorPreferen
|
||||||
gd.horizontalAlignment= GridData.BEGINNING;
|
gd.horizontalAlignment= GridData.BEGINNING;
|
||||||
label.setLayoutData(gd);
|
label.setLayoutData(gd);
|
||||||
|
|
||||||
fSyntaxForegroundColorEditor= new ColorEditor(stylesComposite);
|
fSyntaxForegroundColorEditor= new ColorSelector(stylesComposite);
|
||||||
Button foregroundColorButton= fSyntaxForegroundColorEditor.getButton();
|
Button foregroundColorButton= fSyntaxForegroundColorEditor.getButton();
|
||||||
gd= new GridData(GridData.FILL_HORIZONTAL);
|
gd= new GridData(GridData.FILL_HORIZONTAL);
|
||||||
gd.horizontalAlignment= GridData.BEGINNING;
|
gd.horizontalAlignment= GridData.BEGINNING;
|
||||||
|
|
Loading…
Add table
Reference in a new issue