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

Bug 320255

Summary: Provide API to obtain image paths
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P2 Keywords: api
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ralf Sternberg CLA 2010-07-19 09:06:50 EDT
Sometimes, LCAs need to pass an image path to the client. Currently, this path can only be obtained using internal API (ResourceFactory#getImagePath). There should be an API method to provide image paths for custom widget LCAs.

As an example, see the LCAs in the rap.ui.forms plug-in.
Comment 1 Ralf Sternberg CLA 2011-05-04 06:45:25 EDT
I'd suggest to provide a method Graphics#getPath( Image ) that returns the path as a String.
Comment 2 Ivan Furnadjiev CLA 2014-11-25 04:27:16 EST
Graphics class is no longer available as API. Currently (RAP 3.0M3), to obtain image path internal ImageFactory#getImagePath is used.