0
votes

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

1
Is org.eclipse.ui.DefaultTextEditor the correct id value for Java Editor view? That's I need to know... - Masud Rahman

1 Answers

0
votes

Can you try with org.eclipse.jdt.ui.CompilationUnitEditor?