<div id="__MailbirdStyleContent" style="font-size: 12pt;font-family: calibri;color: #000000">
                                        
                                        
                                            
                                        
                                        
                                        Hi Hannes.<div><br></div><div>The code generation happens in CustomHelp class >> #accept:title:contents:, which is triggerd via CustomHelp class >> #edit:.</div><div><br></div><div>Note that "CustomHelp" represents your domain model while all subclasses of "AbstractHelpTopic" represent the help browser's tool model. By default, CustomHelp uses ClassBasedHelpTopic for data interpretation. Other examples such as SWikiHelp and EnvironmentsAPIDocumentation override #asHelpTopic to use more convenient ways to generate the tool model. Take a look at the category "HelpSystem-Core-Model" to get an overview of the possibilities: class-based, directory-based, file-based, html-based, package-based, ... The "SearchTopic" is used for searching through all active help topics in a certain help browser.</div><div><br></div><div>Note that there is not "one" help browser in Squeak but "a" help browser that shows a certain amount of help topics. I think you can open a rather "complete" help browser via HelpBrowser class >> #open and a "specific" one via HelpBrowser class >> #openOn:. For advanced API usage see ReleaseBuilder class >> #openWelcomeWorkspacesWith:.</div><div><br></div><div><span style="font-size: 12pt;line-height: 1.5">Best,</span></div><div>Marcel</div><div class="mb_sig"></div>
                                        
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 16.10.2017 12:17:23 schrieb H. Hirzel <hannes.hirzel@gmail.com>:</p>Hello<br><br>How do I generate CustomHelp method stubs?<br><br>The HelpBrowser you get when you choose menu 'Help' / 'HelpBrowser'<br>[1] automatically includes all help specified as subclasses of<br>CustomHelp [2].<br><br>A typical help method is<br><br>SqueakCorePackagesHelp>><br>collections<br>"This method was automatically generated. Edit it using:"<br>"SqueakCorePackagesHelp edit: #collections"<br>.....<br>[3]<br><br><br>How do I generate the method stubs for<br><br>        CustomHelp subclass: #MyPackageHelp<br>instanceVariableNames: ''<br>classVariableNames: ''<br>poolDictionaries: ''<br>category: 'MyPackage'<br><br><br>Kind regards<br>Hannes<br><br><br>------------------------------------------------------------------------<br><br>[1] The menu entry calls<br>          HelpBrowser open<br><br><br><br>------------------------------------------------------------------------<br><br>[2] CustomHelp printHierarchy '<br>ProtoObject #()<br>Object #()<br><br>CustomHelp #()<br>EnvironmentsHelp #()<br>EnvironmentsAPIDocumentation #()<br>HelpOnHelp #()<br>HelpAPIDocumentation #()<br>HelpHowToHelpTopics #()<br>HelpHowToHelpTopicsFromCode #()<br>SWikiHelp #()<br>SqueakCorePackagesHelp #()<br>SqueakFurtherCorePackagesHelp #()<br>SqueakUsefulCorePackagesHelp #()<br>SqueakHelp #()<br>SqueakProjectHelp #()<br>SqueakLicenseHelp #()<br>SqueakReleaseNotes #()<br>SqueakToolsHelp #()<br>SqueakToolsDebuggerHelp #()<br>SqueakToolsTranscriptHelp #()<br>SqueakToolsWorkspaceHelp #()<br>SqueakTutorials #()<br>SqueakTutorialsCommandKey #()<br>SqueakTutorialsOnImage #()<br>SqueakTutorialsOnXML #()<br>TerseGuideHelp #()<br>WebClientHelp #()<br>WebClientReference #()<br>WebServerHelp #()<br>WebServerReference #()'<br><br><br><br>------------------------------------------------------------------------<br><br><br><br>[3] SqueakCorePackagesHelp>>collections<br>"This method was automatically generated. Edit it using:"<br>"SqueakCorePackagesHelp edit: #collections"<br>^(HelpTopic<br>title: 'Collections'<br>contents:<br>'Everything related to working with multiple objects such as Array,<br>String (Collection of characters), Stream, Set, and Dictionary.!<br>]style[(60 5 2 6 29 6 2 3 6 10 1),dArray browse;;,,dString<br>browse;;,,dStream browse;;,,dSet browse;;,,dDictionary browse;;,!'<br>readStream nextChunkText)<br>key: #collections<br><br>
                        </blockquote></div>