[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.ua] Re: Link to a file outside the plugins folder

OK, a little elbow grease has shown that opening a file outside of a plugin is actually very easy. I guess all I need to sort out is the 'single content producer' limitation.

Mark.

Mark Melvin wrote:

Thanks, Curtis. This is what I was playing with yesterday. I guess the problem is, all of my doc plugins currently declare a binding on the 'org.eclipse.help.dynamic' content producer and it looks like you can only have one producer per plugin. Hmm...maybe I could isolate it in another plugin and contribute to anchors.

Do you know if there is an example anywhere of a Java-based content producer? What class is behind 'org.eclipse.help.dynamic'? I've been looking but haven't been able to find the extension declared anywhere.

Thanks,
Mark.

Chris Goldthorpe wrote:

A content producer would be the best way to do this. Anything you can write in Java can be done in a content producer. As you have probably already figured out the paths in the URLs used by the help system are always interpreted as referring to a plug-in and do not represent physical locations on the file system.

Mark Melvin wrote:
Hi There,

I was wondering if it was at all possible to render content from a file that is located outside of any plugin. For example, if I wanted my TOC to refer to file that was located alongside the eclipse.exe executable in the root 'eclipse' folder, is there any way to do this - either via dynamic content producers, filters, or even Javascript?

Thanks,
Mark.