Fix source not showed (Ticket #654).
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / plugin.xml
index 669fc72..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">
+                       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">
+                       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">
-                <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">
+                       nameFilter="*.phtml"
+                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.phtml">
                 <action
                           label="Run External PHP Parser"
                           class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
          <objectContribution
                        objectClass="org.eclipse.core.resources.IFile"
                        nameFilter="*.module"
-                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.module">
                 <action
                           label="Run External PHP Parser"
                           class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"
          <objectContribution
                        objectClass="org.eclipse.core.resources.IFile"
                        nameFilter="*.inc"
-                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction">
+                       id="net.sourceforge.phpdt.externaltools.actions.externalParserAction.inc">
                 <action
                           label="Run External PHP Parser"
                           class="net.sourceforge.phpdt.externaltools.actions.PHPExternalParserAction"