Using Firefox in Eclipse instead of IE(在 Eclipse 中使用 Firefox 而不是 IE)
问题描述
在 Eclipse 中,是否可以使用 Firefox 作为 Eclipse 的内部 Web 浏览器而不是 Internet Explorer.
In Eclipse, is it possible to use Firefox as Eclipse's internal Web browser instead of Internet Explorer.
我是一名在 Windows 中使用 Eclipse 的 Web 开发人员.
I am a Web developer using Eclipse in Windows.
谢谢!
推荐答案
内部 Web 浏览器使用的 SWT Browser 小部件为其 Web 渲染技术选择平台默认值.所以对于 Windows 来说就是 MSHTML COM 组件(IE 渲染器).对于 Linux 是 Mozilla(Webkit for 3.7 可用)和 Mac,WebKit(Safari).但是,有像 MyEclipse 这样的第三方插件确实嵌入了 mozilla 运行时 (XULRunner),它们确实使用 Mozilla (Gecko) 渲染器作为浏览器.
因此,要回答您的问题,无法在 Windows 上使用 Firefox 作为内部 Web 浏览器,但是,您可以为 Eclipse(MyEclipse、JBoss 工具等)安装嵌入 Xulrunner 二进制文件的 3rd-party 插件,这些插件将允许嵌入 mozilla 渲染器作为内部 Eclipse 浏览器使用的技术.请注意,这可能需要使用第 3 方 Web 浏览器小部件而不是标准 Eclipse 平台小部件,但那些第 3 方工具通常提供工具栏操作等.
The SWT Browser widget that is uesd by the internal web browser chooses the platform default for its web rendering technology. So for Windows that is the MSHTML COM component (IE renderer). For Linux that is Mozilla (Webkit for 3.7 is available) and on Mac, WebKit(Safari). However, there are third party plugins like MyEclipse that do embed a mozilla runtime (XULRunner) that do use the Mozilla (Gecko) renderer for a browser.
So to answer your question there is no way to use Firefox as internal web browser on windows, however, you can install 3rd-party plugins for Eclipse (MyEclipse, JBoss tools, etc) that embed Xulrunner binaries that will allow for embedding mozilla renderer as the technology used by an internal Eclipse browser. Note, this may require that use the 3rd-party web browser widget instead of the standard eclipse platform one, but those 3rd party tools usually provide a toolbar action, etc.
这篇关于在 Eclipse 中使用 Firefox 而不是 IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Eclipse 中使用 Firefox 而不是 IE


基础教程推荐
- 不推荐使用 Api 注释的描述 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 大摇大摆的枚举 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 从 python 访问 JVM 2022-01-01