blob: b5efd88433ba737fadb9dd9582f7b90cb07b802b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*
*******************************************************************************/
package org.eclipse.wst.sse.ui.internal.preferences;
/**
* Preference keys for SSE UI
*/
public class EditorPreferenceNames {
/**
* A named preference that controls on-the-fly validation
* <p>
* Value is of type <code>Boolean</code>.
* </p>
*/
public static final String EVALUATE_TEMPORARY_PROBLEMS = getEvaluateTemporaryProblemsKey();
private static String getEvaluateTemporaryProblemsKey() {
return "evaluateTemporaryProblems"; //$NON-NLS-1$
}
/**
* A named preference that controls whether bracket matching highlighting
* is turned on or off.
* <p>
* Value is of type <code>Boolean</code>.
* </p>
*/
public final static String MATCHING_BRACKETS = getMatchingBracketsKey();
private static String getMatchingBracketsKey() {
return "matchingBrackets"; //$NON-NLS-1$
}
/**
* A named preference that holds the color used to highlight matching
* brackets.
* <p>
* Value is of type <code>String</code>. A RGB color value encoded as a
* string using class <code>PreferenceConverter</code>
* </p>
*/
public final static String MATCHING_BRACKETS_COLOR = getMatchingBracketsColorKey();
private static String getMatchingBracketsColorKey() {
return "matchingBracketsColor"; //$NON-NLS-1$
}
/**
* A named preference that defines the key for the hover modifiers.
* <p>
* Value is of type <code>String</code>.
* </p>
*/
public static final String EDITOR_TEXT_HOVER_MODIFIERS = getTextHoverModifiersKey();
private static String getTextHoverModifiersKey() {
return "hoverModifiers"; //$NON-NLS-1$
}
/**
* A named preference that defines read only contrast scale.
* <p>
* Value is of type <code>Integer</code>.
* </p>
*/
public static final String READ_ONLY_FOREGROUND_SCALE = getReadOnlyForegroundScaleKey();
private static String getReadOnlyForegroundScaleKey() {
return "readOnlyForegroundScale"; //$NON-NLS-1$
}
}