* Updating plugin.xml file to Version 1.1.8 as preparation for release in each plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / phphelp / PHPHelpPlugin.java
index 3c24502..0b1567a 100644 (file)
@@ -43,14 +43,15 @@ public class PHPHelpPlugin extends AbstractUIPlugin {
 
        public static final String HTTP_QUERY = "HTTP Query";
 
-       public final static String PREF_STRING_CONFIGURATIONS = "__configurations";
+       public final static String PREF_STRING_CONFIGURATIONS = "__configurations1";
 
        public final static String CONFIG_MEMENTO = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                        + "<configurations>"
-                       + "<config name=\"PHP Online Manual\" type-id=\"HTTP Query\" url=\"http://www.php.net/manual/en/function.$php.selection.php\"/>"
-                       + "<config name=\"Google Search\" type-id=\"HTTP Query\" url=\"http://www.google.com/search?q=$text.selection\"/>"
-                       + "<config name=\"Koders.com Search\" type-id=\"HTTP Query\" url=\"http://koders.com/?s=$text.selection\"/>"
-                       + "<config name=\"Leo.org Translation\" type-id=\"HTTP Query\" url=\"http://dict.leo.org/?search=$text.selection\"/>"
+                       + "<config name=\"PHP Manual\" type-id=\"HTTP Query\" url=\"http://www.php.net/manual/en/function.$php.selection.php\"/>"
+                       + "<config name=\"Google.com\" type-id=\"HTTP Query\" url=\"http://www.google.com/search?q=$text.selection\"/>"
+                       + "<config name=\"Koders.com\" type-id=\"HTTP Query\" url=\"http://koders.com/?s=$text.selection\"/>"
+                       + "<config name=\"Leo.org Deutsch/English\" type-id=\"HTTP Query\" url=\"http://dict.leo.org/?search=$text.selection\"/>"
+                       + "<config name=\"Localhost\" type-id=\"HTTP Query\" url=\"http://localhost\"/>"
                        + "</configurations>";
 
        public static final ArrayList CONFIGURATION_TYPES = new ArrayList();
@@ -125,6 +126,7 @@ public class PHPHelpPlugin extends AbstractUIPlugin {
 
        protected void initializeDefaultPreferences(IPreferenceStore store) {
                store.setDefault(PREF_STRING_CONFIGURATIONS, CONFIG_MEMENTO);
+               addType(HTTP_QUERY);
                // windows preferences:
                String windowsSystem = Platform.getWS();