Project: Eclipse_Platform_UI
Bug 259821 [Contributions] commandImages does not support 'platform:/plugin/' resource spec for icon
Reported: 2008-12-31 03:03:17 | Status: verified fixed

Build ID: I20080617-2000 Steps To Reproduce: 1. open org.eclipse.ui.examples.contributions 2. add a 'platform:/plugin/' spec for an icon in a plugin the example is dependent on, eg for menu contrubution 'org.eclipse.ui.file.refresh' add 'platform:/plugin/org.eclipse.ui/icons/full/eview16/outline_co.gif'. This will work OK and the icon is visible on the File->Refresh menu. 3. Now remove that menu icon and create a commandImages extension using the same commandId and icon resource spec. Firing up the product will now show the red error square on the menu item. More information:

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/CommandImagePersistence.java