1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for 200907: [Project Explorer] ctx-menu of files/folders offers c-search actions

This commit is contained in:
Anton Leherbauer 2007-08-24 07:21:07 +00:00
parent bdc1cb98a7
commit 605dd3ff71

View file

@ -1976,7 +1976,16 @@
class="org.eclipse.cdt.internal.ui.navigator.CNavigatorSearchActionProvider"
id="org.eclipse.cdt.ui.navigator.actions.search">
<enablement>
<instanceof value="org.eclipse.cdt.core.model.ICElement"/>
<and>
<instanceof
value="org.eclipse.cdt.core.model.ISourceReference">
</instanceof>
<not>
<instanceof
value="org.eclipse.cdt.core.model.ITranslationUnit">
</instanceof>
</not>
</and>
</enablement>
</actionProvider>
<actionProvider