Mercurial > projects > dwt2
view org.eclipse.jface/src/org/eclipse/jface/preference/JFacePreferences.d @ 104:88652073d1c2
More work on icu
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 02 May 2009 11:27:24 +0200 |
parents | bc29606a740c |
children |
line wrap: on
line source
/******************************************************************************* * Copyright (c) 2000, 2008 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 * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module org.eclipse.jface.preference.JFacePreferences; import org.eclipse.jface.preference.IPreferenceStore; import java.lang.all; import java.util.Set; /** * * JFacePreferences is a class used to administer the preferences used by JFace * objects. */ public final class JFacePreferences { /** * Identifier for the Error Color */ public static const String ERROR_COLOR = "ERROR_COLOR"; //$NON-NLS-1$ /** * Identifier for the Hyperlink Color */ public static const String HYPERLINK_COLOR = "HYPERLINK_COLOR"; //$NON-NLS-1$ /** * Identifier for the Active Hyperlink Colour */ public static const String ACTIVE_HYPERLINK_COLOR = "ACTIVE_HYPERLINK_COLOR"; //$NON-NLS-1$ /** * Identifier for the color used to show extra informations in labels, as a * qualified name. For example in 'Foo.txt - myproject/bar', the qualifier * is '- myproject/bar'. * * @since 3.4 */ public static final String QUALIFIER_COLOR = "QUALIFIER_COLOR"; //$NON-NLS-1$ /** * Identifier for the color used to show label decorations For example in * 'Foo.txt [1.16]', the decoration is '[1.16]'. * * @since 3.4 */ public static final String DECORATIONS_COLOR = "DECORATIONS_COLOR"; //$NON-NLS-1$ /** * Identifier for the color used to counter informations For example in * 'Foo.txt (2 matches)', the counter information is '(2 matches)'. * * @since 3.4 */ public static final String COUNTER_COLOR = "COUNTER_COLOR"; //$NON-NLS-1$ /** * Identifier for the color used for the background of content assist * popup dialogs. * * @since 3.4 */ public static final String CONTENT_ASSIST_BACKGROUND_COLOR = "CONTENT_ASSIST_BACKGROUND_COLOR"; //$NON-NLS-1$ /** * Identifier for the color used for the foreground of content assist * popup dialogs. * * @since 3.4 */ public static final String CONTENT_ASSIST_FOREGROUND_COLOR = "CONTENT_ASSIST_FOREGROUND_COLOR"; //$NON-NLS-1$ private static IPreferenceStore preferenceStore; /** * Prevent construction. */ private this() { } /** * Return the preference store for the receiver. * * @return IPreferenceStore or null */ public static IPreferenceStore getPreferenceStore() { return preferenceStore; } /** * Set the preference store for the receiver. * * @param store * IPreferenceStore */ public static void setPreferenceStore(IPreferenceStore store) { preferenceStore = store; } }