Make PHPeclipse compile correctly under Eclipse Version: 3.2.0 Build id: I20060519...
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / plugin.xml
index 9ada7a3..0c79e52 100644 (file)
@@ -3,7 +3,7 @@
 <plugin
    id="net.sourceforge.phpeclipse.phphelp"
    name="%pluginName"
-   version="1.1.7"
+   version="1.1.8"
    provider-name="%providerName"
    class="net.sourceforge.phpdt.phphelp.PHPHelpPlugin">
 
@@ -38,7 +38,6 @@
          </action>
       </viewerContribution>
    </extension>
-
    <extension
          point="org.eclipse.ui.editorActions">
       <editorContribution
                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
                id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
          </action>
+         <action
+               definitionId="net.sourceforge.phpdt.httpquery.localhost"
+               label="Localhost"
+               class="net.sourceforge.phpdt.httpquery.LocalhostAction"
+               id="net.sourceforge.phpdt.httpquery.LocalhostAction">
+         </action>
+         <action
+                      definitionId="net.sourceforge.phpdt.httpquery.google"
+               label="Google.com"
+               class="net.sourceforge.phpdt.httpquery.GoogleAction"
+               id="net.sourceforge.phpdt.httpquery.GoogleAction">
+         </action>
+         <action
+               definitionId="net.sourceforge.phpdt.httpquery.phpmanual"
+               label="PHP Manual"
+               class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
+               id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
+         </action>
       </editorContribution>
    </extension>
-
    <extension point="org.eclipse.ui.contexts">
       <context
         name="%context.editingPHPSource.name"
         parentId="org.eclipse.ui.textEditorScope"
         id="net.sourceforge.phpdt.ui.phpEditorScope" />
    </extension>
-   <extension
-         point="org.eclipse.ui.commands">
-      <category
-            name="%category.source.name"
-            description="%category.source.description"
-            id="net.sourceforge.phpeclipse.ui.category.source">
-      </category>
 
-      <command
-            name="%ActionDefinition.contexthelp.name"
-            description="%ActionDefinition.contexthelp.description"
-            categoryId="net.sourceforge.phpeclipse.ui.category.source"
-            id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
-      </command>
-  </extension>
 
-  <extension
+   <extension
          point="org.eclipse.help.toc">
       <toc
             file="phphelp.xml"
            id="net.sourceforge.phpdt.httpquery.preferences.configurationPreferencePage">
       </page>
    </extension>
-   <extension
-         point="org.eclipse.ui.bindings">
-      <key
-            sequence="Ctrl+Shift+H"
-            contextId="net.sourceforge.phpdt.ui.phpEditorScope"
-            commandId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
-            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
-      </key>
-   </extension>
 
    <extension
          point="org.eclipse.ui.popupMenus">
-     <viewerContribution
+      <viewerContribution
             targetID="#PHPEditorContext"
             id="net.sourceforge.phpdt.phphelp.actions.httpquery">
-           <menu
+         <menu
                        id="httpqueryMenu"
                        label="%HTTPQuery.label"
                        path="rest">
                 </menu>
                 <action
-               label="Koders.com Search"
+                      definitionId="net.sourceforge.phpdt.httpquery.koders"
+               label="Koders.com"
                class="net.sourceforge.phpdt.httpquery.KodersAction"
                menubarPath="httpqueryMenu/additions"
                id="net.sourceforge.phpdt.httpquery.KodersAction">
          </action>
                 <action
-               label="Google Search"
+                      definitionId="net.sourceforge.phpdt.httpquery.google"
+               label="Google.com"
                class="net.sourceforge.phpdt.httpquery.GoogleAction"
                menubarPath="httpqueryMenu/additions"
                id="net.sourceforge.phpdt.httpquery.GoogleAction">
          </action>
          <action
-               label="PHP Online Manual"
+               definitionId="net.sourceforge.phpdt.httpquery.phpmanual"
+               label="PHP Manual"
                class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
                menubarPath="httpqueryMenu/additions"
                id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
          </action>
+         <action
+               definitionId="net.sourceforge.phpdt.httpquery.localhost"
+               label="Localhost"
+               class="net.sourceforge.phpdt.httpquery.LocalhostAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpdt.httpquery.LocalhostAction">
+         </action>
                 <action
                label="HTTP Query..."
                class="net.sourceforge.phpdt.httpquery.HTTPQueryAction"
                id="net.sourceforge.phpdt.httpquery.HTTPQueryAction">
          </action>
       </viewerContribution>
+    </extension>
+    <!--
+    <extension
+         point="org.eclipse.ui.popupMenus">
       <viewerContribution
             targetID="#EditorContext"
-            id="net.sourceforge.phpeclipse.wiki.texteditor.viewercontribution">
+            id="net.sourceforge.phpdt.phphelp.actions.httpquery">
          <menu
                        id="httpqueryMenu"
                        label="%HTTPQuery.label"
                        path="rest">
                 </menu>
                 <action
-               label="Koders.com Search"
+               label="Koders.com"
                class="net.sourceforge.phpdt.httpquery.KodersAction"
                menubarPath="httpqueryMenu/additions"
                id="net.sourceforge.phpdt.httpquery.KodersAction">
          </action>
                 <action
-               label="Google Search"
+               label="Google.com"
                class="net.sourceforge.phpdt.httpquery.GoogleAction"
                menubarPath="httpqueryMenu/additions"
                id="net.sourceforge.phpdt.httpquery.GoogleAction">
          </action>
+         <action
+               label="Localhost"
+               class="net.sourceforge.phpdt.httpquery.LocalhostAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpdt.httpquery.LocalhostAction">
+         </action>
+         <action
+               label="PHP Manual"
+               class="net.sourceforge.phpdt.httpquery.PHPHelpAction"
+               menubarPath="httpqueryMenu/additions"
+               id="net.sourceforge.phpdt.httpquery.PHPHelpAction">
+         </action>
                 <action
                label="HTTP Query..."
                class="net.sourceforge.phpdt.httpquery.HTTPQueryAction"
                id="net.sourceforge.phpdt.httpquery.HTTPQueryAction">
          </action>
       </viewerContribution>
-  </extension>
+
+    </extension>
+-->
+
+    <extension
+         point="org.eclipse.ui.commands">
+      <category
+            name="%category.source.name"
+            description="%category.source.description"
+            id="net.sourceforge.phpeclipse.ui.category.source">
+      </category>
+
+      <command
+            name="%ActionDefinition.contexthelp.name"
+            description="%ActionDefinition.contexthelp.description"
+            categoryId="net.sourceforge.phpeclipse.ui.category.source"
+            id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
+      </command>
+      <command
+            name="Localhost"
+            description="Open localhost"
+            categoryId="net.sourceforge.phpeclipse.ui.category.source"
+            id="net.sourceforge.phpdt.httpquery.localhost">
+      </command>
+      <command
+            name="Localhost"
+            description="Open localhost"
+            categoryId="net.sourceforge.phpeclipse.ui.category.source"
+            id="net.sourceforge.phpdt.httpquery.localhost">
+      </command>
+      <command
+            name="Google"
+            description="Open Google.com"
+            categoryId="net.sourceforge.phpeclipse.ui.category.source"
+            id="net.sourceforge.phpdt.httpquery.google">
+      </command>
+      <command
+            name="PHP Manual"
+            description="Open PHP Manual"
+            categoryId="net.sourceforge.phpeclipse.ui.category.source"
+            id="net.sourceforge.phpdt.httpquery.phpmanual">
+      </command>
+
+     </extension>
+
+     <extension
+         point="org.eclipse.ui.bindings">
+      <key
+            sequence="Ctrl+Shift+H"
+            contextId="net.sourceforge.phpdt.ui.phpEditorScope"
+            commandId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
+      </key>
+      <key
+            sequence="Ctrl+F8"
+            contextId="net.sourceforge.phpdt.ui.phpEditorScope"
+            commandId="net.sourceforge.phpdt.httpquery.localhost"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
+      </key>
+      <key
+            sequence="Ctrl+Shift+G"
+            contextId="net.sourceforge.phpdt.ui.phpEditorScope"
+            commandId="net.sourceforge.phpdt.httpquery.google"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
+      </key>
+      <key
+            sequence="Ctrl+Shift+O"
+            contextId="net.sourceforge.phpdt.ui.phpEditorScope"
+            commandId="net.sourceforge.phpdt.httpquery.phpmanual"
+            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
+      </key>
+   </extension>
 </plugin>