0

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

Chandrayya G K
  • 8,719
  • 5
  • 40
  • 68
Masud Rahman
  • 1,064
  • 4
  • 14
  • 28

1 Answers1

0

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

tkotisis
  • 3,442
  • 25
  • 30