On 3/24/10 2:47 PM, Frank Schoenheit, Sun Microsystems Germany wrote:
Hi Juergen,

For dialgs coming as a xdl file (dialog editor export) we have already
extended the toolklit to accept relative paths to the xdl file.

Didn't know that.

That
makes it quite easy to reference any images in an extension package.

As long as you have an xdl file, i.e. a dialog, in your extension, and
want to use the image in the dialog.

Again: My scenario is different: I have an image somewhere in the
extension, and I want to refer it to a component *outside* the
extension, and load it from outside, without actually loading anything
else from the extension.
Well, i assume you have to know the extension identifier anyway. The PackageInformationProvider singleton is your friend to retrieve the extension root directory. From there you can reference everything in the extension hierarchy ...

Juergen

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to