inserted nodes.clear() for every Partitioner initializing
[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 assist in XML/HTML.
8    * <p>
9    * Value is of type <code>Sring</code>. All characters that trigger auto code assist in XML/HTML.
10    * </p>
11    */
12   public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML = "content_assist_autoactivation_triggers_html"; //$NON-NLS-1$
13
14   /**
15    * A named preference that defines if code assist proposals are sorted in alphabetical order.
16    * <p>
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.
19    * </p>
20    */
21   public final static String CODEASSIST_ORDER_PROPOSALS = "content_assist_order_proposals"; //$NON-NLS-1$
22
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);
26
27   }
28 }