Community
Participate
Working Groups
F1 I'm logging to UI because I'm guessing that this is a plugin activation problem. Sorry if this should actually be in jdt-ui or pde-ui. - start a brand new Eclipse workspace, close its initial Welcome dialog - File -> New -> Other - Plugin Development -> Plugin Project, Next - project name = 123, Next - Next - select "Plugin with a Property Page" from list, Next - Finish - OK to "plugin must bea activated" dialog - plugin opens up, will have some errors due to bogus name (ok) - click on the Source tab of the plugin editor - drop down the Edit menu at the top, all should look good (ie.- no repeated items) - in the Packages view traverse to and open 123/src/123/123Plugin.java - now drop down the Editor menu at the top and it will have the following duplicate groups of items: -> Find Next, Find Previous, Increment Find, Go To Line... -> Mark, Delete Line
Thank-you very much for reporting this case. Simplier case 1) Open plugin.xml editor 2) Switch to source page 3) Close editor The problem is caused when PDEEditorContributor does public void contributeToMenu(IMenuManager mm) { subMenuManager = new SubMenuManager(mm); and has its source page contribute to subMenuManager which is able to locate the edit menu directly. The editor menu manager (mm) does not wrap the edit menu.
*** This bug has been marked as a duplicate of 14061 ***