Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 259821 - [Contributions] commandImages does not support 'platform:/plugin/' resource spec for icon
Summary: [Contributions] commandImages does not support 'platform:/plugin/' resource s...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: Macintosh All
: P3 normal (vote)
Target Milestone: 3.5 M5   Edit
Assignee: Prakash Rangaraj CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-31 03:03 EST by Justin Dolezy CLA
Modified: 2009-06-03 13:46 EDT (History)
1 user (show)

See Also:


Attachments
Patch v01 (2.69 KB, patch)
2009-01-16 12:37 EST, Prakash Rangaraj CLA
pwebster: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Dolezy CLA 2008-12-31 03:03:17 EST
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:
Comment 1 Prakash Rangaraj CLA 2009-01-16 12:37:51 EST
Created attachment 122828 [details]
Patch v01

Patch attached
Comment 2 Paul Webster CLA 2009-01-18 15:15:10 EST
Released to HEAD >20090118
PW
Comment 3 Prakash Rangaraj CLA 2009-01-27 13:03:19 EST
Verified in I20090126-1800