[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Re: Browser Button

> If I set the file name to other than "firefox.exe" (this literal string
> consists in plugin.xml of org.eclipse.ui.browser plugin), browserSupport 
> creates ExternalBrowserInstance instead of MozillaBrowser. And it does 
> handle null.
> org.eclipse.ui.internal.browser.ExternalBrowserInstance#openURL
>>public void openURL(URL url) throws PartInitException {
>>    String urlText = null;
>>
>>    if (url != null)
>>        urlText = url.toExternalForm();
>
> This is the reason why I can open renamed firefox as external browser.
>
> The bug is in org.eclipse.ui.internal.browser.browsers.MozillaBrowser.
> Over.

Thanks, that did the trick for me, too.
Silly bug.
With the current version of pdt there seems to be another bug, when starting 
Eclipse the outline of the last opened php file is allways empty, even if I 
switch between tabs, until I press the abc-sort button, then the outline 
finally appears.