--- a/Documentation/Source/eric5.Graphics.UMLClassDiagram.html Thu Jan 14 17:27:31 2010 +0000 +++ b/Documentation/Source/eric5.Graphics.UMLClassDiagram.html Thu Jan 14 18:35:52 2010 +0000 @@ -22,7 +22,7 @@ <body><a NAME="top" ID="top"></a> <h1>eric5.Graphics.UMLClassDiagram</h1> <p> -Module implementing a dialog showing a UML like class diagram. +Module implementing a dialog showing a UML like class diagram. </p> <h3>Global Attributes</h3> <table> @@ -32,7 +32,7 @@ <table> <tr> <td><a href="#UMLClassDiagram">UMLClassDiagram</a></td> -<td>Class implementing a dialog showing a UML like class diagram.</td> +<td>Class implementing a dialog showing a UML like class diagram.</td> </tr> </table> <h3>Functions</h3> @@ -43,7 +43,7 @@ <a NAME="UMLClassDiagram" ID="UMLClassDiagram"></a> <h2>UMLClassDiagram</h2> <p> - Class implementing a dialog showing a UML like class diagram. + Class implementing a dialog showing a UML like class diagram. </p> <h3>Derived from</h3> UMLDialog @@ -55,142 +55,142 @@ <table> <tr> <td><a href="#UMLClassDiagram.__init__">UMLClassDiagram</a></td> -<td>Constructor</td> +<td>Constructor</td> </tr><tr> <td><a href="#UMLClassDiagram.__addExternalClass">__addExternalClass</a></td> -<td>Private method to add a class defined outside the module.</td> +<td>Private method to add a class defined outside the module.</td> </tr><tr> <td><a href="#UMLClassDiagram.__addLocalClass">__addLocalClass</a></td> -<td>Private method to add a class defined in the module.</td> +<td>Private method to add a class defined in the module.</td> </tr><tr> <td><a href="#UMLClassDiagram.__arrangeClasses">__arrangeClasses</a></td> -<td>Private method to arrange the shapes on the canvas.</td> +<td>Private method to arrange the shapes on the canvas.</td> </tr><tr> <td><a href="#UMLClassDiagram.__buildClasses">__buildClasses</a></td> -<td>Private method to build the class shapes of the class diagram.</td> +<td>Private method to build the class shapes of the class diagram.</td> </tr><tr> <td><a href="#UMLClassDiagram.__createAssociations">__createAssociations</a></td> -<td>Private method to generate the associations between the class shapes.</td> +<td>Private method to generate the associations between the class shapes.</td> </tr><tr> <td><a href="#UMLClassDiagram.__getCurrentShape">__getCurrentShape</a></td> -<td>Private method to get the named shape.</td> +<td>Private method to get the named shape.</td> </tr><tr> <td><a href="#UMLClassDiagram.relayout">relayout</a></td> -<td>Public method to relayout the diagram.</td> +<td>Public method to relayout the diagram.</td> </tr><tr> <td><a href="#UMLClassDiagram.show">show</a></td> -<td>Overriden method to show the dialog.</td> +<td>Overriden method to show the dialog.</td> </tr> </table> <a NAME="UMLClassDiagram.__init__" ID="UMLClassDiagram.__init__"></a> <h4>UMLClassDiagram (Constructor)</h4> <b>UMLClassDiagram</b>(<i>file, parent = None, name = None, noAttrs = False</i>) <p> - Constructor + Constructor </p><dl> <dt><i>file</i></dt> <dd> -filename of a python module to be shown (string) +filename of a python module to be shown (string) </dd><dt><i>parent</i></dt> <dd> -parent widget of the view (QWidget) +parent widget of the view (QWidget) </dd><dt><i>name</i></dt> <dd> -name of the view widget (string) +name of the view widget (string) </dd><dt><i>noAttrs=</i></dt> <dd> -flag indicating, that no attributes should be shown (boolean) +flag indicating, that no attributes should be shown (boolean) </dd> </dl><a NAME="UMLClassDiagram.__addExternalClass" ID="UMLClassDiagram.__addExternalClass"></a> <h4>UMLClassDiagram.__addExternalClass</h4> <b>__addExternalClass</b>(<i>_class, x, y</i>) <p> - Private method to add a class defined outside the module. + Private method to add a class defined outside the module. </p><p> - If the canvas is too small to take the shape, it - is enlarged. + If the canvas is too small to take the shape, it + is enlarged. </p><dl> <dt><i>_class</i></dt> <dd> -class to be shown (string) +class to be shown (string) </dd><dt><i>x</i></dt> <dd> -x-coordinate (float) +x-coordinate (float) </dd><dt><i>y</i></dt> <dd> -y-coordinate (float) +y-coordinate (float) </dd> </dl><a NAME="UMLClassDiagram.__addLocalClass" ID="UMLClassDiagram.__addLocalClass"></a> <h4>UMLClassDiagram.__addLocalClass</h4> <b>__addLocalClass</b>(<i>className, _class, x, y, isRbModule = False</i>) <p> - Private method to add a class defined in the module. + Private method to add a class defined in the module. </p><dl> <dt><i>className</i></dt> <dd> -name of the class to be as a dictionary key (string) +name of the class to be as a dictionary key (string) </dd><dt><i>_class</i></dt> <dd> -class to be shown (ModuleParser.Class) +class to be shown (ModuleParser.Class) </dd><dt><i>x</i></dt> <dd> -x-coordinate (float) +x-coordinate (float) </dd><dt><i>y</i></dt> <dd> -y-coordinate (float) +y-coordinate (float) </dd><dt><i>isRbModule</i></dt> <dd> -flag indicating a Ruby module (boolean) +flag indicating a Ruby module (boolean) </dd> </dl><a NAME="UMLClassDiagram.__arrangeClasses" ID="UMLClassDiagram.__arrangeClasses"></a> <h4>UMLClassDiagram.__arrangeClasses</h4> <b>__arrangeClasses</b>(<i>nodes, routes, whiteSpaceFactor = 1.2</i>) <p> - Private method to arrange the shapes on the canvas. + Private method to arrange the shapes on the canvas. </p><p> - The algorithm is borrowed from Boa Constructor. + The algorithm is borrowed from Boa Constructor. </p><a NAME="UMLClassDiagram.__buildClasses" ID="UMLClassDiagram.__buildClasses"></a> <h4>UMLClassDiagram.__buildClasses</h4> <b>__buildClasses</b>(<i></i>) <p> - Private method to build the class shapes of the class diagram. + Private method to build the class shapes of the class diagram. </p><p> - The algorithm is borrowed from Boa Constructor. + The algorithm is borrowed from Boa Constructor. </p><a NAME="UMLClassDiagram.__createAssociations" ID="UMLClassDiagram.__createAssociations"></a> <h4>UMLClassDiagram.__createAssociations</h4> <b>__createAssociations</b>(<i>routes</i>) <p> - Private method to generate the associations between the class shapes. + Private method to generate the associations between the class shapes. </p><dl> <dt><i>routes</i></dt> <dd> -list of relationsships +list of relationsships </dd> </dl><a NAME="UMLClassDiagram.__getCurrentShape" ID="UMLClassDiagram.__getCurrentShape"></a> <h4>UMLClassDiagram.__getCurrentShape</h4> <b>__getCurrentShape</b>(<i>name</i>) <p> - Private method to get the named shape. + Private method to get the named shape. </p><dl> <dt><i>name</i></dt> <dd> -name of the shape (string) +name of the shape (string) </dd> </dl><dl> <dt>Returns:</dt> <dd> -shape (QGraphicsItem) +shape (QGraphicsItem) </dd> </dl><a NAME="UMLClassDiagram.relayout" ID="UMLClassDiagram.relayout"></a> <h4>UMLClassDiagram.relayout</h4> <b>relayout</b>(<i></i>) <p> - Public method to relayout the diagram. + Public method to relayout the diagram. </p><a NAME="UMLClassDiagram.show" ID="UMLClassDiagram.show"></a> <h4>UMLClassDiagram.show</h4> <b>show</b>(<i></i>) <p> - Overriden method to show the dialog. + Overriden method to show the dialog. </p> <div align="right"><a href="#top">Up</a></div> <hr />