[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Need browser functionality without using system's default browser (swt.browser.*)
|
Christian Riedel wrote:
> At first I tried swt.browser.Browser but that didn't work very well.
> Under Linux the system's browser is only envoked properly, if certain
> environment variables are set accordingly (e.g. MOZILLA_FIVE_HOME). Even
> when this env-var is set, I still could imagine situations, where
> embedding the native browser would fail. For example if people only have
> Konqueror or only Opera installed.
If you are willing to include "org.eclipse.ui.workbench" in your product,
then IWorkbench.getBrowserSupport() might be worth trying. I don't think
it's perfect for your situation, but it might work out. If it doesn't work
-- but you are willing to use "org.eclipse.ui.workbench" -- then you could
try filing an enhancement request with Platform/UI.
cheers,
d.