简体   繁体   English

如何从浏览器中打开Eclipse中的帮助窗口

[英]how to open Help Window in eclipse from Browser

Suppose I've a browser carrying a static html file. 假设我有一个带有静态html文件的浏览器。

Now I've a hyperlink in the provided html and onn clicking that link I want to open the Help standalone window of eclipse. 现在,我在提供的html中有一个超链接,然后单击该链接,我想打开Eclipse的“帮助”独立窗口。

What is the way to do. 该怎么办。 In Eclipse welcome page, this scenario is already there but couldn't justify my requirment. 在Eclipse欢迎页面中,这种情况已经存在,但是不能证明我的要求。

Why do you want to open Eclipse's standalone help from a browser? 为什么要从浏览器打开Eclipse的独立帮助? Why not open it in the browser itself? 为什么不在浏览器本身中打开它? The URL would be something like: http://127.0.0.1:4874/help/index.jsp 该URL类似于: http : //127.0.0.1 : 4874/help/index.jsp

You can also launch Eclipse's standalone help from the command line: 您还可以从命令行启动Eclipse的独立帮助:

cd $ECLIPSE_HOME
java -cp plugins\org.eclipse.help.base_3.4.0.v201002111343.jar org.eclipse.help.standalone.Help -command displayhelp

You can probably put this command in a script or bat file, but you won't be able to run it from your browser, unless you write an Applet or use ActiveX. 您可能可以将此命令放在脚本或bat文件中,但是除非编写Applet或使用ActiveX,否则您将无法从浏览器运行该命令。 However, this is not recommended because it breaks security. 但是,不建议这样做,因为它会破坏安全性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM