add meta entries to support move refactor (FELIX-1346)


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@966639 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/ui/plugin.properties b/sigil/eclipse/ui/plugin.properties
index 532db80..91bd60c 100644
--- a/sigil/eclipse/ui/plugin.properties
+++ b/sigil/eclipse/ui/plugin.properties
@@ -3,4 +3,5 @@
 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
diff --git a/sigil/eclipse/ui/plugin.xml b/sigil/eclipse/ui/plugin.xml
index 1a76b9f..04e151d 100644
--- a/sigil/eclipse/ui/plugin.xml
+++ b/sigil/eclipse/ui/plugin.xml
@@ -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>