Removed UI.
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / plugin.xml
index 03fe24c..a7c61f2 100644 (file)
          </actionSet>
        </extension>
 
+       <!-- FIXME: there is too much duplication of contributions pointing to the same action. we should find a better way-->
+         <!-- php, phpc,php3,php4,php5,phpt-->
        <extension
                 point="org.eclipse.ui.popupMenus">
          <objectContribution
                        objectClass="org.eclipse.core.resources.IFile"
-                       nameFilter="*.php"
-                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.php">
+                       nameFilter="*.php*"
+                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phpS">
                 <action
                           label="Run External PHP Parser"
                           class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
          </objectContribution>
          <objectContribution
                        objectClass="org.eclipse.core.resources.IFile"
-                       nameFilter="*.php3"
-                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.php3">
+                       nameFilter="*.ctp"
+                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.ctp">
                 <action
                           label="Run External PHP Parser"
                           class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
          </objectContribution>
          <objectContribution
                        objectClass="org.eclipse.core.resources.IFile"
-                       nameFilter="*.php4"
-                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.php4">
-                <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.php5">
+                       nameFilter="*.phtml"
+                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phtml">
                 <action
                           label="Run External PHP Parser"
                           class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"