| 
| How to start standalone help system [message #326193] | Tue, 11 March 2008 05:49  |  | 
| Eclipse User  |  |  |  |  | Hi, all: 
 Now that I can start standalone help system (or help contents) with command
 line:
 javaw.exe -classpath %ECLIPSE_HELP_JAR%
 org.eclipse.help.standalone.Help -command displayHelp
 
 but I find that after I "CLOSE" it, the java.exe process is still alive.
 and I must "STOP" it with commandline:
 javaw.exe -classpath %ECLIPSE_HELP_JAR%
 org.eclipse.help.standalone.Help -command showdown
 
 Is there any way to "STOP" the help system while closing the help contents?
 
 Thanks & Best Regards!
 Nick
 |  |  |  | 
|  | 
| 
| Re: How to start standalone help system [message #326216 is a reply to message #326201] | Tue, 11 March 2008 22:10  |  | 
| Eclipse User  |  |  |  |  | Hi Lee, 
 yes, as you said, what I said "CLOSE" means shutting completely the internal
 web browser window.
 
 At the beginning, I was trying to write my own HelpWrapper that wraps class
 org.eclipse.help.standalone.Help, and trying to add a window closing
 listener on the internal web browser, but the problems are:
 1. I can't find a way out to add the window closing listener, because
 2. User can config and display the help system in an external browser, like
 firefox, ie etc.
 
 So, I am thinking that:
 1. write a new class that always display help contents in internal web
 browser, and
 2. there's a way to listen the internal web browser closing event, and then
 stop the help system
 
 
 "Lee Anne" <nospam_kowalskilee@gmail.com> wrote in message
 news:fr61k2$tv6$1@build.eclipse.org...
 > Hi Nick,
 >
 > When you say "CLOSE" it, what actions do you mean you are doing to
 > "close" the standalone help system?
 >
 > Do you mean by "close it", that you are shutting completely the browser
 > window in which you are viewing the help system contents?
 >
 > (Note: I'm adding eclipse.platform.ua as the newsgroups for follow-up
 > discussion, as that newsgroup is targeted to discussions about the help
 > system.)
 >
 > Best regards,
 > Lee Anne
 >
 > Nick Tan wrote:
 >> Hi, all:
 >>
 >> Now that I can start standalone help system (or help contents) with
 >> command line:
 >> javaw.exe -classpath %ECLIPSE_HELP_JAR% org.eclipse.help.standalone.Help
 >> -command displayHelp
 >>
 >> but I find that after I "CLOSE" it, the java.exe process is still alive.
 >> and I must "STOP" it with commandline:
 >> javaw.exe -classpath %ECLIPSE_HELP_JAR% org.eclipse.help.standalone.Help
 >> -command showdown
 >>
 >> Is there any way to "STOP" the help system while closing the help
 >> contents?
 >>
 >> Thanks & Best Regards!
 >> Nick
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.52671 seconds