Online help framework using JavaHelp.
Adding context-specific help to a button
HelpManager.enableHelpOnButton(helpButton, "configuring_columba");
This associates the help button (JButton) with the topic ID.
Looking up topic ID
See the file jhelpmap.jhm, which associates topic IDs with html files.
All files can be found in package lib/usermanual.jar.
I've used a very general schema to generate topic IDs.
Following a couple of examples, so you don't need to lookup every
single topic ID:
- index -> index (index.html)
- introduction -> introduction (ch01.html)
- installation -> installing (ch02.html)
- installation_1 -> installating-windows (ch02.html)
- installation_2 -> installating-linux (ch02_2.html)
- installation_3 -> installating-generic (ch02_3.html)
- using_columba_composing_new_email_messages_2 -> composing new email messages (ch04s03.html)
Note that subsections are numbered where sections have names. The last
examples is a very interesting one:
"using_columba" -> section
"composing_new_email_messages" ->first subsection
"2" ->second subsection
Hope you get the idea!
|