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
9 IBM Corporation - Initial implementation
10 Klaus Hartlage - www.eclipseproject.de
11 **********************************************************************/
12 package net.sourceforge.phpeclipse;
14 import java.util.MissingResourceException;
15 import java.util.ResourceBundle;
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;
35 * The main plugin class to be used in the desktop.
37 public interface IPreferenceConstants {
38 public static final String LOCALHOST_PREF = "_localhost";
39 public static final String DOCUMENTROOT_PREF = "_documentroot";
40 public static final String USE_EXTERNAL_BROWSER_PREF = "_use_external_browser";
41 public static final String EXTERNAL_BROWSER_PREF = "_external_browser";
42 public static final String MYSQL_PREF = "_my_sql";
43 public static final String APACHE_START_PREF = "_apache_start";
44 public static final String APACHE_STOP_PREF = "_apache_stop";
45 public static final String APACHE_RESTART_PREF = "_apache_restart";
46 public static final String SHOW_OUTPUT_IN_CONSOLE = "_sho_output_in_console";
47 public static final String EXTERNAL_PARSER_PREF = "_external_parser";
49 public static final String PHP_PARSER_DEFAULT = "_php_parser_default";
50 public static final String PHP_INTERNAL_PARSER = "_php_internal_parser";
51 public static final String PHP_EXTERNAL_PARSER = "_php_external_parser";
52 public static final String PHP_PARSE_ON_SAVE = "_php_parse_on_save";
54 public static final String PHP_MULTILINE_COMMENT = "_php_multilineComment";
55 public static final String PHP_SINGLELINE_COMMENT = "_php_singlelineComment";
56 public static final String PHP_KEYWORD = "_php_keyword";
57 public static final String PHP_VARIABLE = "_php_variable";
58 public static final String PHP_FUNCTIONNAME = "_php_functionname";
59 public static final String PHP_STRING = "_php_string";
60 public static final String PHP_DEFAULT = "_php_default";