You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ds...@apache.org on 2010/07/22 15:11:23 UTC

svn commit: r966639 - in /felix/trunk/sigil/eclipse/ui: plugin.properties plugin.xml

Author: dsavage
Date: Thu Jul 22 13:11:23 2010
New Revision: 966639

URL: http://svn.apache.org/viewvc?rev=966639&view=rev
Log:
add meta entries to support move refactor (FELIX-1346)

Modified:
    felix/trunk/sigil/eclipse/ui/plugin.properties
    felix/trunk/sigil/eclipse/ui/plugin.xml

Modified: felix/trunk/sigil/eclipse/ui/plugin.properties
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/eclipse/ui/plugin.properties?rev=966639&r1=966638&r2=966639&view=diff
==============================================================================
--- felix/trunk/sigil/eclipse/ui/plugin.properties (original)
+++ felix/trunk/sigil/eclipse/ui/plugin.properties Thu Jul 22 13:11:23 2010
@@ -3,4 +3,5 @@ newtonRepoPrefs=Newton Repository
 librariesPrefsPage=OSGi Libraries
 commandConvertProject=Convert Project To Sigil Project
 commandRefreshClasspath=Refresh bundle classpath
-RenamePackageParticipant.name=Rename Package Participant
\ No newline at end of file
+RenamePackageParticipant.name=Rename Package Participant
+MovePackageParticipant.name=Move Package Participant
\ No newline at end of file

Modified: felix/trunk/sigil/eclipse/ui/plugin.xml
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/eclipse/ui/plugin.xml?rev=966639&r1=966638&r2=966639&view=diff
==============================================================================
--- felix/trunk/sigil/eclipse/ui/plugin.xml (original)
+++ felix/trunk/sigil/eclipse/ui/plugin.xml Thu Jul 22 13:11:23 2010
@@ -282,4 +282,21 @@
        </enablement>
      </renameParticipant>
    </extension>  
+   <extension point="org.eclipse.ltk.core.refactoring.moveParticipants">
+     <moveParticipant
+        id="org.apache.felix.sigil.movePackageParticipant"
+        name="%MovePackageParticipant.name" 
+        class="org.apache.felix.sigil.ui.eclipse.refactor.MovePackageParticipant">
+       <enablement>
+         <with variable="affectedNatures">
+           <iterate operator="or">
+             <equals value="org.apache.felix.sigil.sigilnature"/>
+           </iterate>
+         </with>
+         <with variable="element">
+           <instanceof value="org.eclipse.jdt.core.IPackageFragment"/>
+         </with>
+       </enablement>
+     </moveParticipant>
+   </extension>  
 </plugin>