I am trying to control the visibility of context menu items for EditorView in Eclipse. Here is the plugin configuration code
<visibleWhen>
<with variable="activeEditorId">
<equals value="org.eclipse.ui.DefaultTextEditor"></equals>
</with>
</visibleWhen>
but somehow it is not working and not showing the menu item for editor at all. Any help will be greatly appreciated.
Thanks