title: What is the recommended way to contribute editor menu
body: <p>When I read the Eclipse help, <a href="http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/editors_actions.htm&amp;cp=2_0_13_8" rel="nofollow">there</a> is an example of contributing menu using contributorClass. It's about actions a even retarget actions.
  In addition there is a text:</p>
  
  <blockquote>
    <p>To understand how editors register themselves with the workbench and provide actions for the workbench menu bar, see the section discussing <a href="http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench_basicext_editors.htm" rel="nofollow">org.eclipse.ui.editors</a>. We won't rehash that information here.</p>
  </blockquote>
  
  <p>the link leads you to a section where is nothing about contributorClass and even about actions, you have to use commands to contribute menus for editor they say.</p>
  
  <p>Besides, in the Eclipse help is nothing about actions and retarget actions any more, since they are deprecated AFAIK.
  I'm confused. What is the proper way of contributing menu for an editor? Why isn't the contributorClass deprecated?</p>