All prefs for xampp administrated in external tools plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / plugin.xml
index b570732..dc0f107 100644 (file)
 
    <requires>
       <import plugin="org.eclipse.ui"/>
+      <import plugin="org.eclipse.ui.console"/>
       <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.ui.editors"/>
       <import plugin="org.eclipse.core.resources"/>
       <import plugin="org.eclipse.core.runtime"/>
       <import plugin="org.eclipse.debug.core"/>
       <import plugin="org.eclipse.debug.ui"/>
       <import plugin="org.eclipse.ui.externaltools"/>
-      <import plugin="net.sourceforge.phpeclipse"/>
       <import plugin="net.sourceforge.phpeclipse.ui"/>
    </requires>
 
                        expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
                </variable>
        </extension>
-       
+       <extension
+         point="org.eclipse.ui.preferencePages">
+      <page
+            name="PHP External Tools"
+            category="net.sourceforge.phpeclipse.ui.preferencePage"
+            class="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage"
+            id="net.sourceforge.phpdt.externaltools.preferences.PHPExternalToolsPreferencePage">
+      </page>
+    </extension>
+    
+    <extension
+         point="org.eclipse.ui.perspectiveExtensions">
+      <perspectiveExtension
+            targetID="net.sourceforge.phpeclipse.PHPPerspective">
+         <actionSet id="net.sourceforge.phpeclipse.PHPActionSet"/>
+      </perspectiveExtension>
+         <perspectiveExtension
+           targetID="net.sourceforge.phpeclipse.PHPPerspective">
+                 <actionSet id="net.sf.eclipsetidy.ActionSet"/>
+         </perspectiveExtension> 
+   </extension>
+   
+   <extension
+         point="org.eclipse.ui.actionSets">
+      <actionSet
+            label="PHP/Apache"
+            visible="false"
+            id="net.sourceforge.phpeclipse.PHPActionSet">
+         <menu
+               label="PHP/Apache"
+               id="net.sourceforge.phpeclipse.PHPMenu">
+            <separator
+                  name="phpeclipse">
+            </separator>
+         </menu>
+         <action
+               label="Restart Apache"
+               icon="icons/obj16/apache_restart.gif"
+               tooltip="Restart Apache"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPRestartApacheAction">
+         </action>
+         <action
+               label="Stop Apache"
+               icon="icons/obj16/apache_stop.gif"
+               tooltip="Stop Apache"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStopApacheAction">
+         </action>
+         <action
+               label="Start Apache"
+               icon="icons/obj16/apache.gif"
+               tooltip="Start Apache"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStartApacheAction">
+         </action>
+         <action
+               label="Start MySQL"
+               icon="icons/obj16/sql.gif"
+               tooltip="Start MySQL"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStartMySQLAction">
+         </action>
+         <action
+               label="Stop XAMPP"
+               icon="icons/obj16/xampp_stop.gif"
+               tooltip="Stop XAMPP"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStopXAMPPAction">
+         </action>
+         <action
+               label="Start XAMPP"
+               icon="icons/obj16/xampp_start.gif"
+               tooltip="Start XAMPP"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction"
+               menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+               toolbarPath="Normal"
+               id="net.sourceforge.phpdt.externaltools.actions.PHPStartXAMPPAction">
+         </action>
+      </actionSet>  
+    </extension>
+    
+    <extension
+         point="org.eclipse.ui.popupMenus">
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php3"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php4"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php5"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.module"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.inc"
+            id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         <action
+               label="Run External PHP Parser"
+               class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+         </action>
+      </objectContribution>
+    </extension>
 </plugin>