Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 86492

Summary: [jars] Investigate icons in JARs shipped in fragments
Product: [Eclipse Project] Platform Reporter: DJ Houghton <dj.houghton>
Component: RuntimeAssignee: platform-runtime-inbox <platform-runtime-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Tod_Creasey
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 81988    

Description DJ Houghton CLA 2005-02-24 11:11:09 EST
We have a case where icons are shipped in fragments in the language pack and
depending on what locale you are running, different icons should appear.

Is this going to be a problem if the plug-in/fragment is shipped as a JAR?
Comment 1 Jeff McAffer CLA 2005-02-24 23:36:20 EST
This depends very much on how you hadnel to the location information you are 
given.  Need more detail on what exactly you are doing.
Comment 2 Tod Creasey CLA 2005-02-25 08:00:53 EST
We want to ship a fragment with alternative icons for bidirectional languages
for the SDK.
Comment 3 Jeff McAffer CLA 2005-02-26 22:32:22 EST
I mean really, exactly what code sequence do you want to execute on the values 
you are given in the plugin.xml.  It matters a great deal is you are doing 
getResource, getEntry, asLocalURL, ...  Need cold hard code.
Comment 4 Tod Creasey CLA 2005-03-07 08:04:47 EST
It is not the plugin.xml that is going to be the issue - it is going to be
creating ImageDescriptors using createFromURL and loading them using an InputStream.
Comment 5 Jeff McAffer CLA 2005-03-08 22:50:59 EST
We're not getting anywhere with this exchange.  Get me and show me what you are 
on about
Comment 6 Pascal Rapicault CLA 2005-05-10 12:02:35 EDT
The loading of images is handled at the UI level through a class called
BundleUtility. This class relies on the Platform.find() APIs that looks for
files in plugins and attached fragments.