new update site
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index 195fce0..3dde386 100644 (file)
@@ -36,6 +36,8 @@
       <import plugin="net.sourceforge.phpeclipse.externaltools"/>
       <import plugin="net.sourceforge.phpeclipse.ui"/>
       <import plugin="net.sourceforge.phpeclipse.xml.ui"/>
+      <import plugin="org.eclipse.ltk.core.refactoring"/>
+      <import plugin="org.eclipse.ltk.ui.refactoring"/>
    </requires>
 
    <extension
       <fileTypes type="text" extension="module" />
       <fileTypes type="text" extension="inc" />
       <fileTypes type="text" extension="phtml" />
+      <fileTypes type="text" extension="phpt" />
    </extension>
 
 <!-- declares a content type for PHP Source files -->
        <content-type id="phpSource" name="%phpSourceName"
                base-type="org.eclipse.core.runtime.text"
                priority="high"
-               file-extensions="php,php3,php4,php5,phtml,inc,module"/>
+               file-extensions="php,php3,php4,php5,phtml,inc,module,phpt"/>
    </extension>
 
    <extension
                id="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction">
          </action>
       </viewerContribution>
+ <!--     <viewerContribution
+        targetID="#PHPEditorContext"
+        id="net.sourceforge.phpdt.ltk.renamePHPIdentifier">
+        <action label="Rename Local Variable in Functions/Methods"
+                class="net.sourceforge.phpdt.ltk.ui.actions.RenameLocalVariable"
+                menubarPath="additions"
+                id="net.sourceforge.phpdt.ltk.ui.actions.RenameLocalVariable"/>
+      </viewerContribution>
+      <viewerContribution
+        targetID="#PHPEditorContext"
+        id="net.sourceforge.phpdt.ltk.renamePHPIdentifier">
+        <action label="Rename PHP Identifier"
+                class="net.sourceforge.phpdt.ltk.ui.actions.RenamePHPIdentifier"
+                menubarPath="additions"
+                id="net.sourceforge.phpdt.ltk.ui.actions.RenamePHPIdentifier"/>
+      </viewerContribution>  -->
       <viewerContribution
             targetID="#PHPRulerContext"
             id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">