Skip to main content

[JAVAHELP] HelpHistoryModel

1 reply [Last post]
Anonymous

Hello Binky.

You say that I could write a history navigator "with the HelpHistoryModel
which you can retrieve from the JHelp component".

Can you confirm whether this could be a single navigator listing both the
previous and next pages and with the currently displayed page highlighted?

Our end users would find this very useful and I could get our Java
programmers to look into it. Unless of course you fancy including it as a
basic feature in a future release.

Thanks
Andrew Wake

Roger Brinkley
cc:
Sent by: Discussion Subject: Re: [JAVAHELP] JavaHelp V2.0
list of JavaHelp Queries/Issues

18/09/2003 17:26
Please respond to
Discussion list of
JavaHelp

Andrew Wake wrote:
> Hello Binky can you help with the following V2.0 queries/issues:
>
> 1/ I cannot print topics listed on the Favourites tab. A windows print
> dialogue is opened but nothing appears on the print queue. I can print
from
> the Contents, Index and Search tabs. Is Favouries printing supposed to be
> supported?

Yep. It's a bug. Would you file a bug report on this. I'll work on
getting it fixed in V2.0.1

> 2/ My presentation includes a reims_icon tag. The V2.0
> hsviewer does NOTdisplay the image but when I call the helpset from
within
> my application the image IS displayed. Is there a problem with the
> hsviewer?
>
>
> main_window
> REIMS iSeries (AS400)
> reims_icon
>
> javax.help.BackAction
> javax.help.ForwardAction
> javax.help.SeparatorAction
> javax.help.HomeAction
> javax.help.ReloadAction
> javax.help.SeparatorAction
> javax.help.PrintAction
> javax.help.PrintSetupAction
> javax.help.SeparatorAction
> javax.help.FavoritesAction
>
>

hsviewer doesn't use a HelpBroker so it doesn't set the image. It uses
it's own JFrame so the image doesn't get used unless we change the code.
I suppose it should work. If you file a bug I'll look into it. Possibly
for the next release. It would of course be a lower priority item.

> 3/ I cant find any documentation on displaying the viewed topics history
in
> the V2.0 User Guide but stumbled across it while testing our helpsets
(i.e.
> click on back or forward and hold down the mouse button). But if you hold
> down both mouse buttons when the back and forward buttons are active
(i.e.
> have topics to list) then the help window jumps between the back and
> forward lists until you close the window.

There isn't a way to display them other than the Back and Forward
buttons. If you wanted to write a history navigator (we didn't feel that
it was necessary) you could do so with the HelpHistoryModel which you
can retrieve from the JHelp component.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at
http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Roger Brinkley

Andrew Wake wrote:
> Hello Binky.
>
> You say that I could write a history navigator "with the HelpHistoryModel
> which you can retrieve from the JHelp component".
>
> Can you confirm whether this could be a single navigator listing both the
> previous and next pages and with the currently displayed page highlighted?

It would be whatever you want it to be. You're writing the navigator and
have the option of displaying the data however you choose.

> Our end users would find this very useful and I could get our Java
> programmers to look into it. Unless of course you fancy including it as a
> basic feature in a future release.
>

Ha Ha. It would have to go through the JCP process and that isn't
happening for a long time. I would, however, consider it in a possible
contribe section of JavaHelp. Something we might look into when we go
the open source route for JavaHelp.

Binky

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.