From: Dale A. <da...@gr...> - 2005-12-21 04:15:26
|
How do I pass the URL for the help file? I don't see a way to do that. It looks like your example opens the help viewer or info viewer, but not at the specific help file. Or am I missing something? Thanks, Dale Alan Ezust wrote: > By the way, now that InfoViewer overrides the "help" action > via manipulating the ActionContext, you can call whichever action the > User prefers this way: > > ActionContext ac = jEdit.getActionContext(); > EditAction ea = ac.getAction("help"); > ea.invoke(jEdit.getActiveView()); > > This way, if someone prefers to use the InfoViewer for help, then that > will be what the user sees. > > > On 12/20/05, Dale Anson <da...@gr...> wrote: > >>Hi Alan, >> >>I hadn't really followed this issue with the HelpViewer, but now I've >>run up against it. I'm rewriting the JBrowse plugin, it has a button >>that calls >> >>new org.gjt.sp.jedit.help.HelpViewer( helpUrl.toString() ); >> >>which doesn't compile against the current jEdit code in CVS: >> >> [javac] org.gjt.sp.jedit.help.HelpViewer is abstract; cannot be >>instantiated >> >>What is the solution? >> >>Thanks, >> >>Dale |