Community
Participate
Working Groups
Created attachment 225883 [details] Reproducing example plugin (source + binary) When a command menu item has no icon specified in its org.eclipse.ui.menus extension, but the command it invokes has one provided by an org.eclipse.ui.commandImages extension, and in addition the menu item has an explicit ID that is not equal to the command ID, the icon is not shown in the menu. Steps to reproduce: Build or install the attached example plugin. Expected result: Item “Hello World” in menu “Hello” should display an icon. Actual result: The menu item has no icon. I can fix this using the attached patch.
Created attachment 225886 [details] proposed patch
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=5985e3fbf97b2e7a50caa7ac206580e81466858b Thanx Christian PW
Thanks! I agree with the simplification you did, I just did it that way in analogy to the code in createToolBarCommandAddition().
In 4.3.0.I20130311-2000 PW