|Showing Local URLs in Browser [message #911377]
||Tue, 11 September 2012 13:26
Registered: September 2011
Two really short questions:
First off I can't find any documentation stating why
Browser browser = new Browser(parent, SWT.NONE);
browser.setUrl("file:///C:/index.html"); // returns true
won't work. I know it seems silly, but I am creating a help system and it would be nice to have access to local HTML files for development. Does anyone know something?
Secondly I have a general problem with accessing files inside plug-ins. I have a dedicated RAP plug-in with the Eclipse Help data. I am able to access these files with the bundle and read them with a InputStream, but advanced functions (like HTML anchors and pictures) of course won't work that way. Is there any way to access these files by URL?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.03285 seconds