Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Extension point (org.eclipse.help.contentExtension) link resources (images etc.)(How to handle resources when using "contentExtension" extension point?)
Extension point (org.eclipse.help.contentExtension) link resources (images etc.) [message #1060578] Mon, 27 May 2013 07:12 Go to next message
Norman Schoene is currently offline Norman Schoene
Messages: 5
Registered: April 2013
Junior Member
Hi,

I am using the extension point "org.eclipse.help.contentExtension" to allow installed plug-ins to add help dynamically in the global help of our Eclipse 3.8.x/4.2.2 (compatbility mode) RCP application.

The thing is that I want them to also be able to embed images and other resources in the provided help. But the "org.eclipse.help" does not seem to do anything to these links and they cannot be resolved from the source plug-in.

I tried the following variations in the source plug-in XHTML with no success:
<img src="/my.contributing.plugin/resources/help/someImage.png" alt="Some image" />
<img src="my.contributing.plugin/resources/help/someImage.png" alt="Some image" />
<img src="/resources/help/someImage.png" alt="Some image" />
<img src="someImage.png" alt="Some image" />


Note that the XHTML document containing any of these lines is located on the same directory level as "someImage.png". The rest of the document is shown in the global help without problems.

Any hints?

Thanks,
Norman
Re: Extension point (org.eclipse.help.contentExtension) link resources (images etc.) [message #1061182 is a reply to message #1060578] Thu, 30 May 2013 12:41 Go to previous message
Norman Schoene is currently offline Norman Schoene
Messages: 5
Registered: April 2013
Junior Member
Hi,

I found that the system can resolve links if they are done in the following format:
<img src="/help/ntopic/contributingPlugin/path/in/contrib/plugin/to/image.png" />


Regards,
Norman
Previous Topic:Changing fonts in Eclipse InfoCenter toolbars
Next Topic:Infocenter *.jsp files broken in Internet Explorer 10.
Goto Forum:
  


Current Time: Sun Sep 21 12:23:22 GMT 2014

Powered by FUDForum. Page generated in 0.09755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software