migrated plugin from 3.0 to 3.1
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index 195fce0..c747152 100644 (file)
@@ -15,7 +15,7 @@
  <!--     <library name="lib/xstream-1.0.2.jar" /> -->
    </runtime>
    <requires>
-      <import plugin="org.eclipse.core.runtime.compatibility"/>
+      <import plugin="org.eclipse.core.runtime"/>
       <import plugin="org.eclipse.ui"/>
       <import plugin="org.eclipse.ui.console"/>
       <import plugin="org.eclipse.core.resources"/>
@@ -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
                <separator
                      name="editGroup">
                </separator>
-            <separator
-                  name="convertGroup">
-            </separator>
          </menu>
          <action
                definitionId="net.sourceforge.phpeclipse.phpeditor.format"
                menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
                id="net.sourceforge.phpeclipse.phpeditor.Comment">
          </action>
-<!-- convert group -->
-         <menu
-               label="%ConvertLineDelimitersActions.label"
-               path="edit/net.sourceforge.phpeclipse.ui.source.menu/convertGroup"
-               id="convertSubMenu">
-            <separator
-                  name="group1">
-            </separator>
-         </menu>
-         <action
-               label="%ConvertLineDelimitersToMacAction.label"
-               retarget="true"
-               menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
-               allowLabelUpdate="true"
-               id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToMac">
-         </action>
-         <action
-               label="%ConvertLineDelimitersToUNIXAction.label"
-               retarget="true"
-               menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
-               allowLabelUpdate="true"
-               id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToUNIX">
-         </action>
-         <action
-               label="%ConvertLineDelimitersToWindowsAction.label"
-               retarget="true"
-               menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/convertSubMenu/group1"
-               allowLabelUpdate="true"
-               id="net.sourceforge.phpeclipse.ui.actions.ConvertLineDelimitersToWindows">
-         </action>
       </actionSet>
    </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">