Fixed bug #1122547 fails to parse several structures
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / plugin.xml
index 63c0f53..feb824e 100644 (file)
@@ -3,7 +3,7 @@
 <plugin
    id="net.sourceforge.phpeclipse.phphelp"
    name="%pluginName"
-   version="1.1.1"
+   version="1.1.2"
    provider-name="%providerName"
    class="net.sourceforge.phpdt.phphelp.PHPHelpPlugin">
 
             targetID="#PHPEditorContext"
             id="net.sourceforge.phpdt.phphelp.actions.popup.editor">
          <action
+               definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
                label="%phphelpLabel"
                class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
                menubarPath="additions"
-               id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
+               id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
          </action>
       </viewerContribution>
    </extension>
+  
    <extension
+         point="org.eclipse.ui.editorActions">
+      <editorContribution 
+            id="net.sourceforge.phpdt.phphelp.actions"
+            targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
+         <action
+               definitionId="net.sourceforge.phpdt.phphelp.actions.contexthelp"
+               label="PHP Help"
+               class="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp"
+               id="net.sourceforge.phpdt.phphelp.actions.PHPEclipseShowContextHelp">
+         </action>
+      </editorContribution>
+   </extension>   
+   
+   <extension point="org.eclipse.ui.contexts">
+      <context 
+        name="%context.editingPHPSource.name" 
+        description="%context.editingPHPSource.description" 
+        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"
+            category="net.sourceforge.phpeclipse.ui.category.source"
+            id="net.sourceforge.phpdt.phphelp.actions.contexthelp">
+      </command>
+     
+      <keyBinding
+            string="Ctrl+Shift+H"
+            scope="net.sourceforge.phpdt.ui.phpEditorScope"
+            command="net.sourceforge.phpdt.phphelp.actions.contexthelp"
+            configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
+      </keyBinding>
+  </extension>
+  
+  <extension
          point="org.eclipse.help.toc">
       <toc
             file="phphelp.xml"