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

Bug 318067

Summary: Extensible resource resolution is needed
Product: [Technology] XWT Reporter: Yves YANG <yves.yang>
Component: CoreAssignee: Project Inbox <e4.xwt-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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