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