Improved CodeCompletion with information from the project.index file.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.jtidy / plugin.xml
index 7efbd1d..a7adf74 100644 (file)
@@ -1,17 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <plugin
-   id="net.sourceforge.phpdt.tidy"
+   id="net.sourceforge.phpeclipse.tidy"
    name="%pluginName"
    version="1.0.2"
    provider-name="%providerName"
    class="net.sourceforge.phpdt.tidy.JtidyPlugin">
 
    <runtime>
-      <library name="jtidy_plugin.jar"/>
+      <library name="jtidy.jar"/>
    </runtime>
    <requires>
-      <import plugin="org.eclipse.core.resources" export="true"/>
-      <import plugin="org.eclipse.ui" export="true"/>
+      <import plugin="org.eclipse.core.resources"/>
+      <import plugin="org.eclipse.ui"/>
    </requires>
 
 
                id="net.sourceforge.phpdt.tidy.FormatAction">
          </action>
       </objectContribution>
+      <objectContribution
+            objectClass="org.eclipse.core.resources.IFile"
+            nameFilter="*.php*"
+            id="net.sourceforge.phpdt.tidy.filepopups">
+         <menu
+               label="JTidy"
+               path="additions"
+               id="net.sourceforge.phpdt.tidy.menu1">
+            <separator
+                  name="group1">
+            </separator>
+         </menu>
+         <action
+               label="Check Markup"
+               class="net.sourceforge.phpdt.tidy.actions.ParseWithJTidyAction"
+               menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
+               enablesFor="+"
+               id="net.sourceforge.phpdt.tidy.ParseAction">
+         </action>
+         <action
+               label="Format"
+               class="net.sourceforge.phpdt.tidy.actions.FormatWithJTidyAction"
+               menubarPath="net.sourceforge.phpdt.tidy.menu1/group1"
+               enablesFor="+"
+               id="net.sourceforge.phpdt.tidy.FormatAction">
+         </action>
+      </objectContribution>
    </extension>
 
     <extension