Moved to test plugin to eliminate dependency upon junit plugin
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index 5d25fbb..94fce9a 100644 (file)
@@ -18,7 +18,6 @@
       <import plugin="org.eclipse.swt"/>
       <import plugin="org.eclipse.debug.ui"/>
       <import plugin="org.apache.xerces"/>
-      <import plugin="org.junit"/>
       <import plugin="org.eclipse.update.ui"/>
    </requires>
 
@@ -85,7 +84,8 @@
       </category>
 <!--    
 Temporarily replaced until errors can be ironed out...
-  <wizard
+-->
+      <wizard
             name="%newWizardPHPProject.name"
             icon="icons/obj16/php.gif"
             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
@@ -96,8 +96,9 @@ Temporarily replaced until errors can be ironed out...
             Create a new PHP project.
          </description>
       </wizard>
+<!--
 <this wizard replaces it as it works - maybe not as pretty but still>
--->
+
       <wizard
             name="%newWizardPHPProject.name"
             icon="icons/obj16/php.gif"
@@ -108,7 +109,7 @@ Temporarily replaced until errors can be ironed out...
          <description>
             Create a new PHP project.
          </description>
-      </wizard>
+      </wizard> -->
       <wizard
             name="%newWizardPHPFile.name"
             icon="icons/obj16/phpedit.gif"
@@ -124,7 +125,7 @@ Temporarily replaced until errors can be ironed out...
             name="Xaraya Module"
             icon="icons/obj16/php.gif"
             category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
-            class=" com.xaraya.wizard.NewXarayaResourceWizard"
+            class="com.xaraya.wizard.NewXarayaResourceWizard"
             project="true"
             id="net.sourceforge.phpeclipse.wizards.NewXarayaModuleWizard">
          <description>
@@ -153,7 +154,7 @@ Temporarily replaced until errors can be ironed out...
          </filter>
       </page>
       <page
-            objectClass="net.sourceforge.phpeclipse.PHPProject"
+            objectClass="net.sourceforge.phpeclipse.resourcesview.PHPProject"
             name="%propertyPagePHPProject.name"
             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
             id="net.sourceforge.phpeclipse.preferences.PropertyPagePHPProject">
@@ -176,7 +177,6 @@ Temporarily replaced until errors can be ironed out...
          point="org.eclipse.ui.actionSets">
       <actionSet
             label="PHP/Apache"
-            description="Starting MySQL and Apache."
             visible="true"
             id="net.sourceforge.phpeclipse.PHPActionSet">
          <menu
@@ -193,7 +193,6 @@ Temporarily replaced until errors can be ironed out...
                class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
                toolbarPath="Normal"
-               start="true"
                id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
          </action>
          <action
@@ -203,7 +202,6 @@ Temporarily replaced until errors can be ironed out...
                class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
                toolbarPath="Normal"
-               start="true"
                id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
          </action>
          <action
@@ -213,7 +211,6 @@ Temporarily replaced until errors can be ironed out...
                class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
                toolbarPath="Normal"
-               start="true"
                id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
          </action>
          <action
@@ -223,13 +220,11 @@ Temporarily replaced until errors can be ironed out...
                class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
                menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
                toolbarPath="Normal"
-               start="true"
                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
          </action>
       </actionSet>
       <actionSet
             label="%CodingActionSet.label"
-            description="%CodingActionSet.description"
             visible="false"
             id="net.sourceforge.phpeclipse.ui.CodingActionSet">
 <!-- =========================================================================== -->
@@ -244,6 +239,25 @@ Temporarily replaced until errors can be ironed out...
             </separator>
          </menu>
          <action
+               definitionId="net.sourceforge.phpeclipse.phpeditor.format"
+               label="%FormatAction.label"
+               retarget="true"
+               menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
+               id="net.sourceforge.phpeclipse.phpeditor.Format">
+         </action>
+         <action
+               label="%ShiftLeftAction.label"
+               retarget="true"
+               menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
+               id="net.sourceforge.phpeclipse.ui.actions.ShiftLeft">
+         </action>
+         <action
+               label="%ShiftRightAction.label"
+               retarget="true"
+               menubarPath="net.sourceforge.phpeclipse.ui.source.menu/editGroup"
+               id="net.sourceforge.phpeclipse.ui.actions.ShiftRight">
+         </action>
+         <action
                definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
                label="%UncommentAction.label"
                retarget="true"
@@ -259,6 +273,15 @@ Temporarily replaced until errors can be ironed out...
          </action>
       </actionSet>
    </extension>
+   <extension
+         point="org.eclipse.ui.actionSetPartAssociations">
+      <actionSetPartAssociation
+            targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
+         <part
+               id="net.sourceforge.phpeclipse.PHPUnitEditor">
+         </part>
+      </actionSetPartAssociation>
+   </extension>
 <!-- =========================================================================== -->
 <!-- PHP Editor Action Definition IDs -->
 <!-- =========================================================================== -->
@@ -266,21 +289,30 @@ Temporarily replaced until errors can be ironed out...
          point="org.eclipse.ui.actionDefinitions">
 <!-- edit -->
       <actionDefinition
-            name="%ActionDefinition.contentAssistProposals.name"
-            description="%ActionDefinition.contentAssistProposals.description"
             id="net.sourceforge.phpeclipse.phpeditor.ContentAssistProposal">
       </actionDefinition>
 <!-- source -->
       <actionDefinition
-            name="%ActionDefinition.comment.name"
-            description="%ActionDefinition.comment.description"
             id="net.sourceforge.phpeclipse.phpeditor.Comment">
       </actionDefinition>
       <actionDefinition
-            name="%ActionDefinition.uncomment.name"
-            description="%ActionDefinition.uncomment.description"
             id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
       </actionDefinition>
+      <actionDefinition
+            id="net.sourceforge.phpeclipse.phpeditor.Format">
+      </actionDefinition>
+      <actionDefinition
+            id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
+      </actionDefinition>
+      <actionDefinition
+            id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
+      </actionDefinition>
+      <actionDefinition
+            id="net.sourceforge.phpeclipse.ui.edit.text.php.show.next.problem">
+      </actionDefinition>
+      <actionDefinition
+            id="net.sourceforge.phpeclipse.ui.edit.text.php.show.previous.problem">
+      </actionDefinition>
    </extension>
 <!--   <extension
          point="org.eclipse.ui.acceleratorSets">
@@ -301,67 +333,75 @@ Temporarily replaced until errors can be ironed out...
          point="org.eclipse.ui.editors">
       <editor
             name="%phpEditorName"
+            default="true"
             icon="icons/obj16/phpedit.gif"
             extensions="php"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
-            class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
-            id="net.sourceforge.phpeclipse.PHPEditor">
+            class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+            id="net.sourceforge.phpeclipse.PHPUnitEditor">
       </editor>
       <editor
             name="%phpEditorName"
+            default="true"
             icon="icons/obj16/phpedit.gif"
             extensions="php3"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
-            class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
-            id="net.sourceforge.phpeclipse.PHPEditor">
+            class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+            id="net.sourceforge.phpeclipse.PHPUnitEditor">
       </editor>
       <editor
             name="%phpEditorName"
+            default="true"
             icon="icons/obj16/phpedit.gif"
             extensions="php4"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
-            class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
-            id="net.sourceforge.phpeclipse.PHPEditor">
+            class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+            id="net.sourceforge.phpeclipse.PHPUnitEditor">
       </editor>
       <editor
             name="%phpEditorName"
+            default="true"
             icon="icons/obj16/phpedit.gif"
             extensions="inc"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
-            class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
-            id="net.sourceforge.phpeclipse.PHPEditor">
+            class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+            id="net.sourceforge.phpeclipse.PHPUnitEditor">
       </editor>
       <editor
             name="%phpEditorName"
+            default="true"
             icon="icons/obj16/phpedit.gif"
             extensions="phtml"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
-            class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
-            id="net.sourceforge.phpeclipse.PHPEditor">
+            class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+            id="net.sourceforge.phpeclipse.PHPUnitEditor">
       </editor>
       <editor
             name="%phpEditorName"
+            default="true"
             icon="icons/obj16/htmledit.gif"
             extensions="htm"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
-            class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
-            id="net.sourceforge.phpeclipse.PHPEditor">
+            class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+            id="net.sourceforge.phpeclipse.PHPUnitEditor">
       </editor>
       <editor
             name="%phpEditorName"
+            default="true"
             icon="icons/obj16/htmledit.gif"
             extensions="html"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
-            class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
-            id="net.sourceforge.phpeclipse.PHPEditor">
+            class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+            id="net.sourceforge.phpeclipse.PHPUnitEditor">
       </editor>
       <editor
             name="%phpEditorName"
+            default="true"
             icon="icons/obj16/xmledit.gif"
             extensions="xml"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
-            class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
-            id="net.sourceforge.phpeclipse.PHPEditor">
+            class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
+            id="net.sourceforge.phpeclipse.PHPUnitEditor">
       </editor>
    </extension>
    <extension
@@ -482,7 +522,6 @@ Temporarily replaced until errors can be ironed out...
          <action
                label="%AddTask.label"
                helpContextId="org.eclipse.ui.AddTask_action_context"
-               tooltip="%AddTask.tooltip"
                class="org.eclipse.ui.texteditor.TaskRulerAction"
                menubarPath="add"
                id="org.eclipse.ui.texteditor.TaskRulerAction">
@@ -490,7 +529,6 @@ Temporarily replaced until errors can be ironed out...
          <action
                label="%AddBookmark.label"
                helpContextId="org.eclipse.ui.bookmark_action_context"
-               tooltip="%AddBookmark.tooltip"
                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
                menubarPath="add"
                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
@@ -506,7 +544,6 @@ Temporarily replaced until errors can be ironed out...
                label="%Dummy.label"
                helpContextId="org.eclipse.ui.bookmark_action_context"
                class="org.eclipse.ui.texteditor.BookmarkRulerAction"
-               actionID="RulerDoubleClick"
                id="org.eclipse.ui.texteditor.BookmarkRulerAction">
          </action>
       </editorContribution>
@@ -518,12 +555,12 @@ Temporarily replaced until errors can be ironed out...
             class="net.sourceforge.phpeclipse.PHPEclipseBasePreferencePage"
             id="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage">
       </page>
-      <page
-            name="Editor"
+<!--    <page
+            name="Editor2"
             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
             class="net.sourceforge.phpeclipse.PHPSyntaxEditorPreferencePage"
             id="net.sourceforge.phpeclipse.preference.PHPSyntaxEditorPreferencePage">
-      </page>
+      </page>  -->
       <page
             name="Outline"
             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
@@ -537,6 +574,18 @@ Temporarily replaced until errors can be ironed out...
             id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
       </page>
       <page
+            name="Formatter"
+            category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
+            class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
+            id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
+      </page>
+      <page
+            name="Editor"
+            category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
+            class="net.sourceforge.phpdt.internal.ui.preferences.PHPEditorPreferencePage"
+            id="net.sourceforge.phpeclipse.preference.PHPEditorPreferencePage">
+      </page>
+      <page
             name="Language Settings"
             category="net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
@@ -626,6 +675,10 @@ Temporarily replaced until errors can be ironed out...
             configurationId="org.eclipse.ui.emacsAcceleratorConfiguration">
 <!-- edit -->
          <accelerator
+               key="Ctrl+Shift+P"
+               id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
+         </accelerator>
+         <accelerator
                key="Ctrl+1"
                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
          </accelerator>
@@ -638,12 +691,28 @@ Temporarily replaced until errors can be ironed out...
                key="Ctrl+\"
                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
          </accelerator>
+         <accelerator
+               key="Ctrl+Shift+F"
+               id="net.sourceforge.phpeclipse.phpeditor.format">
+         </accelerator>
+         <accelerator
+               key="Ctrl+O"
+               id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
+         </accelerator>
+         <accelerator
+               key="Ctrl+F3"
+               id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
+         </accelerator>
       </acceleratorSet>
       <acceleratorSet
             scopeId="org.eclipse.ui.textEditorScope"
             configurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
 <!-- edit -->
          <accelerator
+               key="Ctrl+Shift+P"
+               id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
+         </accelerator>
+         <accelerator
                key="Ctrl+Space"
                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
          </accelerator>
@@ -656,6 +725,18 @@ Temporarily replaced until errors can be ironed out...
                key="Ctrl+\"
                id="net.sourceforge.phpeclipse.phpeditor.uncomment">
          </accelerator>
+         <accelerator
+               key="Ctrl+Shift+F"
+               id="net.sourceforge.phpeclipse.phpeditor.format">
+         </accelerator>
+         <accelerator
+               key="Ctrl+F3"
+               id="net.sourceforge.phpeclipse.ui.navigate.php.open.structure">
+         </accelerator>
+         <accelerator
+               key="Ctrl+O"
+               id="net.sourceforge.phpeclipse.ui.edit.text.php.show.outline">
+         </accelerator>
       </acceleratorSet>
       <acceleratorSet
             scopeId="org.eclipse.ui.textEditorScope"
@@ -663,6 +744,11 @@ Temporarily replaced until errors can be ironed out...
 <!-- edit -->
          <accelerator
                platform="carbon"
+               key="Command+Shift+P"
+               id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
+         </accelerator>
+         <accelerator
+               platform="carbon"
                key="Command+1"
                id="net.sourceforge.phpeclipse.ui.edit.text.php.content.assist.proposals">
          </accelerator>