remove unnecessary extension.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / PreferenceConstants.java
1 package net.sourceforge.phpeclipse.ui;
2
3 import org.eclipse.jface.preference.IPreferenceStore;
4
5 public class PreferenceConstants {
6         /**
7          * A named preference that holds the characters that auto activate code
8          * assist in XML/HTML.
9          * <p>
10          * Value is of type <code>Sring</code>. All characters that trigger auto
11          * code assist in XML/HTML.
12          * </p>
13          */
14         public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML = "content_assist_autoactivation_triggers_html"; //$NON-NLS-1$
15
16         /**
17          * A named preference that defines if code assist proposals are sorted in
18          * alphabetical order.
19          * <p>
20          * Value is of type <code>Boolean</code>. If <code>true</code> that are
21          * sorted in alphabetical order. If <code>false</code> that are unsorted.
22          * </p>
23          */
24         public final static String CODEASSIST_ORDER_PROPOSALS = "content_assist_order_proposals"; //$NON-NLS-1$
25
26         public static void initializeDefaultValues(IPreferenceStore store) {
27                 store.setDefault(
28                                 PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML,
29                                 "<&#"); //$NON-NLS-1$
30                 store.setDefault(PreferenceConstants.CODEASSIST_ORDER_PROPOSALS, false);
31
32         }
33 }