1 package net.sourceforge.phpeclipse.ui;
3 import org.eclipse.jface.preference.IPreferenceStore;
5 public class PreferenceConstants {
7 * A named preference that holds the characters that auto activate code assist in XML/HTML.
9 * Value is of type <code>Sring</code>. All characters that trigger auto code assist in XML/HTML.
12 public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML = "content_assist_autoactivation_triggers_html"; //$NON-NLS-1$
15 * A named preference that defines if code assist proposals are sorted in alphabetical order.
17 * Value is of type <code>Boolean</code>. If <code>true</code> that are sorted in alphabetical
18 * order. If <code>false</code> that are unsorted.
21 public final static String CODEASSIST_ORDER_PROPOSALS = "content_assist_order_proposals"; //$NON-NLS-1$
23 public static void initializeDefaultValues(IPreferenceStore store) {
24 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML, "<&#"); //$NON-NLS-1$
25 store.setDefault(PreferenceConstants.CODEASSIST_ORDER_PROPOSALS, false);