Author: akazakov
Date: 2009-05-06 08:01:25 -0400 (Wed, 06 May 2009)
New Revision: 15068
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4274 Fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2009-05-06 11:28:02 UTC (rev
15067)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2009-05-06 12:01:25 UTC (rev
15068)
@@ -418,12 +418,30 @@
class="org.jboss.tools.seam.internal.core.refactoring.SeamProjectRenameParticipant"
id="org.jboss.tools.seam.internal.core.refactoring.SeamProjectRenameParticipant"
name="seam-RenameProjectParticipant">
- <enablement>
- <with variable="element">
- <or>
- <instanceof
value="org.eclipse.core.resources.IProject"/>
- </or>
- </with>
+ <enablement>
+ <and>
+ <or>
+ <with variable="processorIdentifier">
+ <or>
+ <equals
+
value="org.eclipse.jdt.ui.renameJavaProjectProcessor">
+ </equals>
+ </or>
+ </with>
+ <with variable="processorIdentifier">
+ <or>
+ <equals
+
value="org.eclipse.ltk.core.refactoring.renameResourceProcessor">
+ </equals>
+ </or>
+ </with>
+ </or>
+ <with variable="element">
+ <or>
+ <instanceof
value="org.eclipse.core.resources.IProject"/>
+ </or>
+ </with>
+ </and>
</enablement>
</renameParticipant>
<renameParticipant
@@ -474,4 +492,4 @@
class="org.jboss.tools.seam.internal.core.el.VariableResolver"
id="org.jboss.tools.seam.el.variableresolver"/>
</extension>
-</plugin>
\ No newline at end of file
+</plugin>