| launch help url in internal browser [message #576396] |
Tue, 11 September 2007 11:11 |
Scott Messages: 33 Registered: July 2009 |
Member |
|
|
I can launch a help topic by doing the following:
PlatformUI.getWorkbench().getHelpSystem().displayHelpResourc e(myDocHref);
However that always has the Help System navigation frame. I want just the
topic.
I can get the URL for just the topic as follows:
URL url = PlatformUI.getWorkbench().getHelpSystem().resolve(myDocHref,
true);
(the second arg 'true' says the document only...without navigation frame)
Is there any way to launch that URL in the 'help browser'...meaning the
eclipse browser, with no tool bar/address bar/etc.
If I do:
PlatformUI.getWorkbench().getBrowserSupport().createBrowser( "myBrowser").openURL(url);
I get a firefox window.
I want to be able to launch the help browser with just a topic. I think I
could do my own browser implementation with a Browser widget...but it
would be much easier if I could just use the same 'internal' browser that
help uses to show any url.
Thanks for any suggestions...
|
|
|
Powered by
FUDForum. Page generated in 0.01465 seconds