Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318067 - Extensible resource resolution is needed
Summary: Extensible resource resolution is needed
Status: CLOSED FIXED
Alias: None
Product: XWT
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 20:18 EDT by Yves YANG CLA
Modified: 2013-01-24 15:31 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yves YANG CLA 2010-06-25 20:18:09 EDT
Qt the current releqsem the resource resolution is done only for Image and URL type. It is hard coded in ResourcesLoader. The extensible solution is needed for other types. The proposal is to add 3 new APIs in XWT:
    1. registerFileResolveType(Class<?> type)
    2. unregisterFileResolveType(Class<?> type)
    3. isFileResolveType(Class<?> type)
Comment 1 Yves YANG CLA 2010-06-25 20:22:11 EDT
The implementation is committed in Head -> 20100625