org.eclipse.ltk.core.refactoring.deleteParticipants not honoring enablement [message #255831] |
Fri, 22 August 2008 15:39  |
Eclipse User |
|
|
|
In 3.4 only, we're finding that the following
org.eclipse.ltk.core.refactoring.deleteParticipants contribution is acting
upon org.eclipse.core.resources.IProject and despite the enablement's
specific instanceof declarations.
Ideas? Incorrect enablement declaration that previous Eclipse versions
overlook? Bug?
<extension point="org.eclipse.ltk.core.refactoring.deleteParticipants" >
<deleteParticipant
id="com.myapp.ui.refactoring.deleteParticipant"
class="com.myapp.ui.refactoring.ResourceDeleteParticipant"
name="%delete.resource.participant">
<enablement>
<or>
<instanceof value="org.eclipse.core.resources.IFile"/>
<instanceof value="org.eclipse.core.resources.IFolder"/>
</or>
<with variable="affectedNatures">
<iterate operator="or">
<equals value="com.myapp.nature"/>
</iterate>
</with>
</enablement>
</deleteParticipant>
</extension>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03331 seconds