diff -r 3f5e8b0a338e -r 14f33eededf7 eric6/Documentation/Source/eric6.Graphics.UMLClassDiagramBuilder.html --- a/eric6/Documentation/Source/eric6.Graphics.UMLClassDiagramBuilder.html Sat May 08 18:34:08 2021 +0200 +++ b/eric6/Documentation/Source/eric6.Graphics.UMLClassDiagramBuilder.html Sat May 08 18:35:00 2021 +0200 @@ -97,6 +97,10 @@ <td>Public method to build the class shapes of the class diagram.</td> </tr> <tr> +<td><a href="#UMLClassDiagramBuilder.fromDict">fromDict</a></td> +<td>Public method to populate the class with data persisted by 'toDict()'.</td> +</tr> +<tr> <td><a href="#UMLClassDiagramBuilder.getPersistenceData">getPersistenceData</a></td> <td>Public method to get a string for data to be persisted.</td> </tr> @@ -281,6 +285,37 @@ <p> The algorithm is borrowed from Boa Constructor. </p> +<a NAME="UMLClassDiagramBuilder.fromDict" ID="UMLClassDiagramBuilder.fromDict"></a> +<h4>UMLClassDiagramBuilder.fromDict</h4> +<b>fromDict</b>(<i>version, data</i>) + +<p> + Public method to populate the class with data persisted by 'toDict()'. +</p> +<dl> + +<dt><i>version</i> (str)</dt> +<dd> +version of the data +</dd> +<dt><i>data</i> (dict)</dt> +<dd> +dictionary containing the persisted data +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +tuple containing a flag indicating success and an info + message in case the diagram belongs to a different project +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> <a NAME="UMLClassDiagramBuilder.getPersistenceData" ID="UMLClassDiagramBuilder.getPersistenceData"></a> <h4>UMLClassDiagramBuilder.getPersistenceData</h4> <b>getPersistenceData</b>(<i></i>)