improved syntax highligthing
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index dc2699f..1c3e6fa 100644 (file)
       <import plugin="org.eclipse.jdt.ui"/>
    </requires>
 
-
+   <extension
+         point="org.eclipse.ui.actionSets">
+      <actionSet
+            id="net.sourceforge.phpeclipse.PHPActionSet"
+            label="PHP/Apache"
+            visible="true"
+            description="Starting MySQL and Apache.">
+         <menu
+              id="net.sourceforge.phpeclipse.PHPMenu"
+              label="PHP/Apache">
+              <separator name="phpeclipse"/> 
+         </menu>
+         <action
+            id="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction"
+            menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+            toolbarPath="Normal"
+            label="Restart Apache"
+            tooltip="Restart Apache"
+            icon="icons/obj16/apache.gif"
+            start="true"
+            class="net.sourceforge.phpeclipse.actions.PHPRestartApacheAction">
+         </action>
+         <action
+            id="net.sourceforge.phpeclipse.actions.PHPStopApacheAction"
+            menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+            toolbarPath="Normal"
+            label="Stop Apache"
+            tooltip="Stop Apache"
+            icon="icons/obj16/apache.gif"
+            start="true"
+            class="net.sourceforge.phpeclipse.actions.PHPStopApacheAction">
+         </action>
+         <action
+            id="net.sourceforge.phpeclipse.actions.PHPStartApacheAction"
+            menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+            toolbarPath="Normal"
+            label="Start Apache"
+            tooltip="Start Apache"
+            icon="icons/obj16/apache.gif"
+            start="true"
+            class="net.sourceforge.phpeclipse.actions.PHPStartApacheAction">
+         </action>         
+         <action
+            id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction"
+            menubarPath="net.sourceforge.phpeclipse.PHPMenu/phpeclipse"
+            toolbarPath="Normal"
+            label="Start MySQL"
+            tooltip="Start MySQL"
+            icon="icons/obj16/apache.gif"
+            start="true"
+            class="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
+         </action>
+      </actionSet>
+   </extension>
    <extension
          point="org.eclipse.ui.editors">
       <editor
             name="%phpEditorName"
             icon="icons/obj16/java.gif"
-            extensions="php"
+            extensions="php,php3,php4"
             contributorClass="net.sourceforge.phpeclipse.phpeditor.PHPActionContributor"
             class="net.sourceforge.phpeclipse.phpeditor.PHPEditor"
             id="net.sourceforge.phpeclipse.PHPEditor">