Changes between Version 3 and Version 4 of DevelopersGuide/HelpSystem
- Timestamp:
- 2009-11-08T17:21:57+01:00 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide/HelpSystem
v3 v4 47 47 If you enable context-sensitive help for an UI widget or add a help button to the UI the help context is declared with a '''relative help topic'''. 48 48 49 Always use the marker method [source:/trunk/src/org/openstreetmap/josm/gui/help/HelpUtil.java ht("...")] to declare a help topic. {{{ht}}} just replies the relative help topic. It's purpose is only to make explicit which string constants are used as help topics. There are scriptswhich harvest these help topicsfrom the JOSM source and create a [wiki:/DevelopersGuide/HelpSystem/HelpTopicsList cross-references].49 Always use the marker method [source:/trunk/src/org/openstreetmap/josm/gui/help/HelpUtil.java ht("...")] to declare a help topic. {{{ht}}} just replies the relative help topic. It's purpose is only to make explicit which string constants are used as help topics. There are [source:/trunk/utils/org/openstreetmap/josm scripts] which harvest them from the JOSM source and create a [wiki:/DevelopersGuide/HelpSystem/HelpTopicsList cross-references]. 50 50 51 51 === Adding a help button to an UI widget ===