--- a/src/eric7/Documentation/Source/eric7.Utilities.ClassBrowsers.__init__.html Wed Nov 09 15:17:05 2022 +0100 +++ b/src/eric7/Documentation/Source/eric7.Utilities.ClassBrowsers.__init__.html Wed Nov 09 15:18:07 2022 +0100 @@ -27,7 +27,7 @@ <h3>Global Attributes</h3> <table> -<tr><td>IDL_SOURCE</td></tr><tr><td>JS_SOURCE</td></tr><tr><td>PROTO_SOURCE</td></tr><tr><td>PTL_SOURCE</td></tr><tr><td>PY_SOURCE</td></tr><tr><td>RB_SOURCE</td></tr><tr><td>SUPPORTED_TYPES</td></tr><tr><td>__extensions</td></tr> +<tr><td>IDL_SOURCE</td></tr><tr><td>JS_SOURCE</td></tr><tr><td>PROTO_SOURCE</td></tr><tr><td>PTL_SOURCE</td></tr><tr><td>PY_SOURCE</td></tr><tr><td>RB_SOURCE</td></tr><tr><td>SUPPORTED_TYPES</td></tr><tr><td>UNKNOWN_SOURCE</td></tr><tr><td>__extensions</td></tr> </table> <h3>Classes</h3> @@ -40,11 +40,15 @@ <tr> <td><a href="#find_module">find_module</a></td> -<td>Module function to extend the Python module finding mechanism.</td> +<td>Function to extend the Python module finding mechanism.</td> +</tr> +<tr> +<td><a href="#getClassBrowserModule">getClassBrowserModule</a></td> +<td>Function to import a class browser module.</td> </tr> <tr> <td><a href="#readmodule">readmodule</a></td> -<td>Read a source file and return a dictionary of classes, functions, modules, etc.</td> +<td>Function to read a source file and return a dictionary of classes, functions, modules, etc.</td> </tr> </table> <hr /> @@ -54,7 +58,7 @@ <b>find_module</b>(<i>name, path, isPyFile=False</i>) <p> - Module function to extend the Python module finding mechanism. + Function to extend the Python module finding mechanism. </p> <p> This function searches for files in the given list of paths. If the @@ -100,13 +104,42 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> +<a NAME="getClassBrowserModule" ID="getClassBrowserModule"></a> +<h2>getClassBrowserModule</h2> +<b>getClassBrowserModule</b>(<i>moduleType</i>) + +<p> + Function to import a class browser module. +</p> +<dl> + +<dt><i>moduleType</i> (str)</dt> +<dd> +type of class browser to load +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +reference to the imported class browser module +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +module +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> <a NAME="readmodule" ID="readmodule"></a> <h2>readmodule</h2> <b>readmodule</b>(<i>module, path=None, isPyFile=False</i>) <p> - Read a source file and return a dictionary of classes, functions, modules, - etc. . + Function to read a source file and return a dictionary of classes, functions, + modules, etc. . </p> <p> The real work of parsing the source file is delegated to the individual