add activator refactor support (FELIX-2482)
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@967011 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/ui/plugin.xml b/sigil/eclipse/ui/plugin.xml
index 04e151d..e35acc1 100644
--- a/sigil/eclipse/ui/plugin.xml
+++ b/sigil/eclipse/ui/plugin.xml
@@ -281,6 +281,21 @@
</with>
</enablement>
</renameParticipant>
+ <renameParticipant
+ id="org.apache.felix.sigil.renameActivatorParticipant"
+ name="%RenameActivatorParticipant.name"
+ class="org.apache.felix.sigil.ui.eclipse.refactor.RenameActivatorParticipant">
+ <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.ICompilationUnit"/>
+ </with>
+ </enablement>
+ </renameParticipant>
</extension>
<extension point="org.eclipse.ltk.core.refactoring.moveParticipants">
<moveParticipant
@@ -298,5 +313,20 @@
</with>
</enablement>
</moveParticipant>
+ <moveParticipant
+ id="org.apache.felix.sigil.moveActivatorParticipant"
+ name="%MoveActivatorParticipant.name"
+ class="org.apache.felix.sigil.ui.eclipse.refactor.MoveActivatorParticipant">
+ <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.ICompilationUnit"/>
+ </with>
+ </enablement>
+ </moveParticipant>
</extension>
</plugin>