fixing compile errors
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index bf59211..3f512ea 100644 (file)
@@ -28,7 +28,7 @@
          point="org.eclipse.core.resources.natures">
       <runtime>
          <run
-               class="net.sourceforge.phpeclipse.PHPProject">
+               class="net.sourceforge.phpeclipse.resourcesview.PHPProject">
          </run>
       </runtime>
    </extension>
@@ -226,38 +226,62 @@ Temporarily replaced until errors can be ironed out...
                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
          </action>
       </actionSet>
+
       <actionSet
                id="net.sourceforge.phpeclipse.ui.CodingActionSet"
-        label="%phpActionSet.label"
+        label="%CodingActionSet.label"
                visible="false"
                description="%CodingActionSet.description">
-               <menu
+
+        <!-- =========================================================================== -->
+               <!-- Source Menu                                                                 -->
+               <!-- =========================================================================== -->
+
+       <menu
             id="net.sourceforge.phpeclipse.ui.source.menu"
-            label="%php.menu.label"
+            label="%SourceMenu.label"
             path="edit">
                <separator name="editGroup"/>
        </menu>
-       <action id="net.sourceforge.phpdt.ui.actions.Uncomment"
+                       
+               <action id="net.sourceforge.phpeclipse.phpeditor.Uncomment"
                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
-               label="%phpUncommentAction.label"
+               label="%UncommentAction.label"
+                       definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
                        retarget="true" />
                        
-               <action id="net.sourceforge.phpdt.ui.actions.Comment"
+               <action id="net.sourceforge.phpeclipse.phpeditor.Comment"
                menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
-               label="%phpCommentAction.label"
+               label="%CommentAction.label"
+                       definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
                        retarget="true" />
+
          </actionSet> 
    </extension>
-   <extension
-         point="org.eclipse.ui.actionDefinitions">
-      <actionDefinition
-            id="net.sourceforge.phpdt.ui.actions.comment">
+   
+<!-- =========================================================================== -->
+<!-- PHP Editor Action Definition IDs -->
+<!-- =========================================================================== -->
+   <extension point="org.eclipse.ui.actionDefinitions">
+           <!-- edit -->
+         <actionDefinition
+               id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal"
+               name= "%ActionDefinition.contentAssistProposals.name"
+               description="%ActionDefinition.contentAssistProposals.description">
       </actionDefinition>
-      <actionDefinition
-            id="net.sourceforge.phpdt.ui.actions.uncomment">
+      <!-- source -->
+         <actionDefinition
+               id="net.sourceforge.phpeclipse.phpeditor.Comment"
+               name= "%ActionDefinition.comment.name"
+               description= "%ActionDefinition.comment.description">
+         </actionDefinition>
+         <actionDefinition
+               id="net.sourceforge.phpeclipse.phpeditor.Uncomment"
+               name= "%ActionDefinition.uncomment.name"
+               description= "%ActionDefinition.uncomment.description">
       </actionDefinition>
    </extension> 
-   <extension
+<!--   <extension
          point="org.eclipse.ui.acceleratorSets">
       <acceleratorSet
             scopeId="org.eclipse.ui.textEditorScope"
@@ -271,7 +295,7 @@ Temporarily replaced until errors can be ironed out...
                id="net.sourceforge.phpdt.ui.actions.uncomment">
          </accelerator>
       </acceleratorSet>
-   </extension> 
+   </extension> -->
    <extension
          point="org.eclipse.ui.editors">
       <editor
@@ -592,5 +616,45 @@ Temporarily replaced until errors can be ironed out...
             id="net.sourceforge.phpeclipse.views.phpconsoleview">
       </view>
    </extension>
+<!-- =========================================================================== -->
+<!-- Java Editor Key Bindings -->
+<!-- =========================================================================== -->
+   
+   <extension point="org.eclipse.ui.acceleratorSets">
+       <acceleratorSet
+               scopeId="org.eclipse.ui.textEditorScope"
+               configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
+        <!-- edit --> 
+               <accelerator key="Ctrl+1" id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals" />
+               
+        <!-- source -->
+               <accelerator key="Ctrl+/" id="net.sourceforge.phpeclipse.phpeditor.comment" />
+               <accelerator key="Ctrl+\" id="net.sourceforge.phpeclipse.phpeditor.uncomment" />
+    </acceleratorSet>  
+       
+       <acceleratorSet
+               scopeId="org.eclipse.ui.textEditorScope"
+               configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
+               <!-- edit -->
+               <accelerator key="Ctrl+Space" id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals" />
+               
+               <!-- source -->
+               <accelerator key="Ctrl+/" id="net.sourceforge.phpeclipse.phpeditor.comment" />
+               <accelerator key="Ctrl+\" id="net.sourceforge.phpeclipse.phpeditor.uncomment" />
+    </acceleratorSet>
+    
+    <acceleratorSet 
+        scopeId="org.eclipse.ui.textEditorScope" 
+        configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
+               <!-- edit --> 
+               <accelerator key="Command+1" id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals" platform="carbon" />
+
+               <!-- source --> 
+               <accelerator key="Command+/" id="net.sourceforge.phpeclipse.phpeditor.comment" platform="carbon" /> 
+               <accelerator key="Command+\" id="net.sourceforge.phpeclipse.phpeditor.uncomment" platform="carbon" /> 
+               
+       </acceleratorSet>
 
+   </extension>
+    
 </plugin>