c44cc36eb6683dc1873efcc64e4fe60deea99450
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / IPreferenceConstants.java
1 /**********************************************************************
2 Copyright (c) 2000, 2002 IBM Corp. and others.
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Common Public License v1.0
5 which accompanies this distribution, and is available at
6 http://www.eclipse.org/legal/cpl-v10.html
7
8 Contributors:
9     IBM Corporation - Initial implementation
10     Klaus Hartlage - www.eclipseproject.de
11 **********************************************************************/
12 package net.sourceforge.phpeclipse;
13
14 import java.util.MissingResourceException;
15 import java.util.ResourceBundle;
16
17 import net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider;
18 import org.eclipse.core.resources.IWorkspace;
19 import org.eclipse.core.resources.ResourcesPlugin;
20 import org.eclipse.core.runtime.IPath;
21 import org.eclipse.core.runtime.IPluginDescriptor;
22 import org.eclipse.core.runtime.IStatus;
23 import org.eclipse.core.runtime.MultiStatus;
24 import org.eclipse.core.runtime.Path;
25 import org.eclipse.core.runtime.Status;
26 //import org.eclipse.jdt.internal.ui.JavaStatusConstants;
27 //import org.eclipse.jdt.internal.ui.JavaUIMessages;
28 import org.eclipse.jface.preference.IPreferenceStore;
29 import org.eclipse.swt.widgets.Shell;
30 import org.eclipse.ui.IWorkbenchPage;
31 import org.eclipse.ui.IWorkbenchWindow;
32 import org.eclipse.ui.plugin.AbstractUIPlugin;
33
34 /**
35  * The main plugin class to be used in the desktop.
36  */
37 public interface IPreferenceConstants {
38   
39         public static final String LOCALHOST_PREF = "_localhost"; //$NON-NLS-1$
40         public static final String DOCUMENTROOT_PREF = "_documentroot"; //$NON-NLS-1$
41         public static final String USE_EXTERNAL_BROWSER_PREF = "_use_external_browser"; //$NON-NLS-1$
42         public static final String EXTERNAL_BROWSER_PREF = "_external_browser"; //$NON-NLS-1$
43         public static final String MYSQL_PREF = "_my_sql"; //$NON-NLS-1$
44         public static final String APACHE_START_PREF = "_apache_start"; //$NON-NLS-1$
45         public static final String APACHE_STOP_PREF = "_apache_stop"; //$NON-NLS-1$
46         public static final String APACHE_RESTART_PREF = "_apache_restart"; //$NON-NLS-1$
47   public static final String SHOW_OUTPUT_IN_CONSOLE = "_sho_output_in_console"; //$NON-NLS-1$
48   public static final String EXTERNAL_PARSER_PREF = "_external_parser"; //$NON-NLS-1$
49
50   public static final String PHP_PARSER_DEFAULT = "_php_parser_default"; //$NON-NLS-1$
51   public static final String PHP_INTERNAL_PARSER = "_php_internal_parser"; //$NON-NLS-1$
52   public static final String PHP_EXTERNAL_PARSER = "_php_external_parser"; //$NON-NLS-1$
53   public static final String PHP_PARSE_ON_SAVE = "_php_parse_on_save"; //$NON-NLS-1$
54   
55   public static final String PHP_MULTILINE_COMMENT = "_php_multilineComment"; //$NON-NLS-1$
56   public static final String PHP_SINGLELINE_COMMENT = "_php_singlelineComment"; //$NON-NLS-1$
57   public static final String PHP_KEYWORD = "_php_keyword"; //$NON-NLS-1$
58   public static final String PHP_VARIABLE = "_php_variable"; //$NON-NLS-1$
59   public static final String PHP_FUNCTIONNAME = "_php_functionname"; //$NON-NLS-1$
60   public static final String PHP_STRING = "_php_string"; //$NON-NLS-1$
61   public static final String PHP_DEFAULT = "_php_default"; //$NON-NLS-1$
62   
63   public static final String LINKED_POSITION_COLOR= "_linkedPositionColor"; //$NON-NLS-1$
64   
65   /** Preference key for showing the line number ruler */
66   public final static String LINE_NUMBER_RULER= "_lineNumberRuler"; //$NON-NLS-1$
67   /** Preference key for the foreground color of the line numbers */
68   public final static String LINE_NUMBER_COLOR= "_lineNumberColor"; //$NON-NLS-1$
69   
70   public final static String FORMATTER_TAB_SIZE= "_formatterTabSize"; //$NON-NLS-1$
71   public final static String SPACES_FOR_TABS = "false";
72   
73   public final static String PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT = "_defaultBackgroundColor"; //$NON-NLS-1$
74   public final static String PREFERENCE_COLOR_BACKGROUND = "backgroundColor"; //$NON-NLS-1$
75   
76   /** Preference key for content assist proposal color */
77   public final static String PROPOSALS_FOREGROUND=  "content_assist_proposals_foreground"; //$NON-NLS-1$
78   /** Preference key for content assist proposal color */
79   public final static String PROPOSALS_BACKGROUND=  "content_assist_proposals_background"; //$NON-NLS-1$
80 }