initial nl support for phphelp plugin
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index 4428407..a94138f 100644 (file)
@@ -2,7 +2,7 @@
 <plugin
    id="net.sourceforge.phpeclipse"
    name="%pluginName"
-   version="1.0.9"
+   version="1.0.10"
    provider-name="%providerName"
    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
 
          </action>
       </viewerContribution>
    </extension>
+   
    <extension
          point="org.eclipse.ui.editorActions">
       <editorContribution
-            targetID="net.sourceforge.phpeclipse.PHPEditor"
-            id="org.eclipse.ui.texteditor.ruler.actions">
-         <action
-               label="%Dummy.label"
-               helpContextId="org.eclipse.ui.bookmark_action_context"
-               class="org.eclipse.ui.texteditor.BookmarkRulerAction"
-               id="org.eclipse.ui.texteditor.BookmarkRulerAction">
-         </action>
+            id="org.eclipse.ui.texteditor.ruler.actions"
+            targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
+
+               <action
+                       id="org.eclipse.ui.texteditor.BookmarkRulerAction"
+                       actionID="RulerDoubleClick"
+                       label="%Dummy.label"
+            helpContextId="org.eclipse.ui.bookmark_action_context"
+                       class="org.eclipse.ui.texteditor.BookmarkRulerAction">
+               </action>
       </editorContribution>
    </extension>
+   
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
             class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
             id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
       </page>
-      <page
+ <!--     <page
             name="Language Settings"
             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
-      </page>
+      </page> -->
    </extension>
    <extension
          point="org.eclipse.ui.documentProviders">
    </extension>
 
 <!-- =========================================================================== -->
-<!-- PHPDT/UI command definitions                                                   -->
-<!-- =========================================================================== -->
-<!--
-<extension point="org.eclipse.ui.commands">
-       <category
-               name="%category.source.name"
-               description="%category.source.description"
-               id="net.sourceforge.phpeclipse.ui.category.source">
-       </category>
-
-      
-       <scope
-               name="%scope.javaEditor.name"
-               parent="org.eclipse.ui.textEditorScope"
-               description="%scope.javaEditor.description"
-               id="net.sourceforge.phpeclipse.ui.textEditorScope">
-       </scope>
-     
-          
-       <command
-               category="org.eclipse.ui.category.edit"
-               id="org.eclipse.jdt.ui.edit.text.java.correction.assist.proposals"
-               name= "%ActionDefinition.correctionAssistProposals.name"
-               description="%ActionDefinition.correctionAssistProposals.description">
-       </command>
-       <keyBinding
-               string="Ctrl+1"
-               scope="net.sourceforge.phpeclipse.ui.textEditorScope"
-               command="org.eclipse.jdt.ui.edit.text.java.correction.assist.proposals"
-               configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
-       </keyBinding>      
-       <keyBinding
-               platform="carbon"
-               string="Command+1"
-               scope="net.sourceforge.phpeclipse.ui.textEditorScope"
-               command="org.eclipse.jdt.ui.edit.text.java.correction.assist.proposals"
-               configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
-       </keyBinding>      
-                 
-      
-       <command
-               category="net.sourceforge.phpeclipse.ui.category.source"
-               id="net.sourceforge.phpeclipse.phpeditor.comment"
-               name= "%ActionDefinition.comment.name"
-               description= "%ActionDefinition.comment.description">
-       </command>
-       <keyBinding
-               string="Ctrl+/"
-               scope="net.sourceforge.phpeclipse.ui.textEditorScope"
-               command="net.sourceforge.phpeclipse.phpeditor.comment"
-               configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
-       </keyBinding>
-       <keyBinding
-               platform="carbon"
-               string="Command+/"
-               scope="net.sourceforge.phpeclipse.ui.textEditorScope"
-               command="net.sourceforge.phpeclipse.phpeditor.comment"
-               configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
-       </keyBinding>
-
-       <command
-               category="net.sourceforge.phpeclipse.ui.category.source"
-               id="net.sourceforge.phpeclipse.phpeditor.uncomment"
-               name= "%ActionDefinition.uncomment.name"
-               description= "%ActionDefinition.uncomment.description">
-       </command>
-       <keyBinding
-               string="Ctrl+\"
-               scope="net.sourceforge.phpeclipse.ui.textEditorScope"
-               command="net.sourceforge.phpeclipse.phpeditor.uncomment"
-               configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
-       </keyBinding>
-       <keyBinding
-               platform="carbon"
-               string="Command+\"
-               scope="net.sourceforge.phpeclipse.ui.textEditorScope"
-               command="net.sourceforge.phpeclipse.phpeditor.uncomment"
-               configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
-       </keyBinding>
-
-       <command
-               category="net.sourceforge.phpeclipse.ui.category.source"
-               id="org.eclipse.jdt.ui.edit.text.java.format"
-               name= "%ActionDefinition.format.name"
-               description= "%ActionDefinition.format.description">
-       </command>
-       <keyBinding
-               string="Ctrl+Shift+F"
-               scope="net.sourceforge.phpeclipse.ui.textEditorScope"
-               command="org.eclipse.jdt.ui.edit.text.java.format"
-               configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
-       </keyBinding>
-       <keyBinding
-               platform="carbon"
-               string="Command+Shift+F"
-               scope="net.sourceforge.phpeclipse.ui.textEditorScope"
-               command="org.eclipse.jdt.ui.edit.text.java.format"
-               configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
-       </keyBinding>
-
-</extension>
--->
-<!-- =========================================================================== -->
-<!-- PHP Editor Key Bindings -->
+<!-- PHPDT/UI Editor Key Bindings -->
 <!-- =========================================================================== -->
    <extension
          point="org.eclipse.ui.acceleratorSets">
          </accelerator>
          <accelerator
                key="Ctrl+1"
-               id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
+               id="org.eclipse.ui.edit.text.contentAssist.proposals">
          </accelerator>
 <!-- source -->
          <accelerator
                key="Ctrl+Shift+P"
                id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
          </accelerator>
-  <!--       <accelerator
+         <accelerator
                key="Ctrl+Space"
-               id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
-         </accelerator> -->
+               id="org.eclipse.ui.edit.text.contentAssist.proposals">
+         </accelerator> 
 <!-- source -->
          <accelerator
                key="Ctrl+/"
          <accelerator
                platform="carbon"
                key="Command+1"
-               id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
+               id="org.eclipse.ui.edit.text.contentAssist.proposals">
          </accelerator>
 <!-- source -->
          <accelerator