Changes between Version 9 and Version 10 of DevelopersGuide/HelpSystem
- Timestamp:
- 2018-02-23T20:12:24+01:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide/HelpSystem
v9 v10 51 51 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'''. 52 52 53 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].53 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 scripts which harvest them from the JOSM source and create a [wiki:/DevelopersGuide/HelpSystem/HelpTopicsList cross-references]. 54 54 55 55 === Adding a help button to an UI widget ===