Bug 320255 - Provide API to obtain image paths
Summary: Provide API to obtain image paths
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2010-07-19 09:06 EDT by Ralf Sternberg CLA
Modified: 2014-11-25 04:27 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 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.