eric6/Documentation/Source/eric6.Graphics.ApplicationDiagramBuilder.html

changeset 8289
871b40c5a77a
parent 8286
62ae22eae123
child 8294
cb4e5bbf3a2c
equal deleted inserted replaced
8288:809d5d5ac2ba 8289:871b40c5a77a
118 <p> 118 <p>
119 Constructor 119 Constructor
120 </p> 120 </p>
121 <dl> 121 <dl>
122 122
123 <dt><i>dialog</i></dt> 123 <dt><i>dialog</i> (UMLDialog)</dt>
124 <dd> 124 <dd>
125 reference to the UML dialog (UMLDialog) 125 reference to the UML dialog
126 </dd> 126 </dd>
127 <dt><i>view</i></dt> 127 <dt><i>view</i> (UMLGraphicsView)</dt>
128 <dd> 128 <dd>
129 reference to the view object (UMLGraphicsView) 129 reference to the view object
130 </dd> 130 </dd>
131 <dt><i>project</i></dt> 131 <dt><i>project</i> (Project)</dt>
132 <dd> 132 <dd>
133 reference to the project object (Project) 133 reference to the project object
134 </dd> 134 </dd>
135 <dt><i>noModules</i></dt> 135 <dt><i>noModules</i> (bool)</dt>
136 <dd> 136 <dd>
137 flag indicating, that no module names should be 137 flag indicating, that no module names should be
138 shown (boolean) 138 shown
139 </dd> 139 </dd>
140 </dl> 140 </dl>
141 <a NAME="ApplicationDiagramBuilder.__addPackage" ID="ApplicationDiagramBuilder.__addPackage"></a> 141 <a NAME="ApplicationDiagramBuilder.__addPackage" ID="ApplicationDiagramBuilder.__addPackage"></a>
142 <h4>ApplicationDiagramBuilder.__addPackage</h4> 142 <h4>ApplicationDiagramBuilder.__addPackage</h4>
143 <b>__addPackage</b>(<i>name, modules, x, y</i>) 143 <b>__addPackage</b>(<i>name, modules, x, y</i>)
145 <p> 145 <p>
146 Private method to add a package to the diagram. 146 Private method to add a package to the diagram.
147 </p> 147 </p>
148 <dl> 148 <dl>
149 149
150 <dt><i>name</i></dt> 150 <dt><i>name</i> (str)</dt>
151 <dd> 151 <dd>
152 package name to be shown (string) 152 package name to be shown
153 </dd> 153 </dd>
154 <dt><i>modules</i></dt> 154 <dt><i>modules</i> (list of str)</dt>
155 <dd> 155 <dd>
156 list of module names contained in the package 156 list of module names contained in the package
157 (list of strings) 157 </dd>
158 </dd> 158 <dt><i>x</i> (float)</dt>
159 <dt><i>x</i></dt> 159 <dd>
160 <dd> 160 x-coordinate
161 x-coordinate (float) 161 </dd>
162 </dd> 162 <dt><i>y</i> (float)</dt>
163 <dt><i>y</i></dt> 163 <dd>
164 <dd> 164 y-coordinate
165 y-coordinate (float) 165 </dd>
166 </dd> 166 </dl>
167 </dl> 167 <dl>
168 <dl> 168 <dt>Return:</dt>
169 <dt>Return:</dt> 169 <dd>
170 <dd> 170 reference to the package item
171 reference to the package item (PackageItem) 171 </dd>
172 </dl>
173 <dl>
174 <dt>Return Type:</dt>
175 <dd>
176 PackageItem
172 </dd> 177 </dd>
173 </dl> 178 </dl>
174 <a NAME="ApplicationDiagramBuilder.__arrangeNodes" ID="ApplicationDiagramBuilder.__arrangeNodes"></a> 179 <a NAME="ApplicationDiagramBuilder.__arrangeNodes" ID="ApplicationDiagramBuilder.__arrangeNodes"></a>
175 <h4>ApplicationDiagramBuilder.__arrangeNodes</h4> 180 <h4>ApplicationDiagramBuilder.__arrangeNodes</h4>
176 <b>__arrangeNodes</b>(<i>nodes, routes, whiteSpaceFactor=1.2</i>) 181 <b>__arrangeNodes</b>(<i>nodes, routes, whiteSpaceFactor=1.2</i>)
206 application. 211 application.
207 </p> 212 </p>
208 <dl> 213 <dl>
209 <dt>Return:</dt> 214 <dt>Return:</dt>
210 <dd> 215 <dd>
211 dictionary of modules contained in the application. 216 dictionary of modules contained in the application
217 </dd>
218 </dl>
219 <dl>
220 <dt>Return Type:</dt>
221 <dd>
222 dict
212 </dd> 223 </dd>
213 </dl> 224 </dl>
214 <a NAME="ApplicationDiagramBuilder.__createAssociations" ID="ApplicationDiagramBuilder.__createAssociations"></a> 225 <a NAME="ApplicationDiagramBuilder.__createAssociations" ID="ApplicationDiagramBuilder.__createAssociations"></a>
215 <h4>ApplicationDiagramBuilder.__createAssociations</h4> 226 <h4>ApplicationDiagramBuilder.__createAssociations</h4>
216 <b>__createAssociations</b>(<i>routes</i>) 227 <b>__createAssociations</b>(<i>routes</i>)
259 Public method to get a string for data to be persisted. 270 Public method to get a string for data to be persisted.
260 </p> 271 </p>
261 <dl> 272 <dl>
262 <dt>Return:</dt> 273 <dt>Return:</dt>
263 <dd> 274 <dd>
264 persisted data string (string) 275 persisted data string
276 </dd>
277 </dl>
278 <dl>
279 <dt>Return Type:</dt>
280 <dd>
281 str
265 </dd> 282 </dd>
266 </dl> 283 </dl>
267 <a NAME="ApplicationDiagramBuilder.parsePersistenceData" ID="ApplicationDiagramBuilder.parsePersistenceData"></a> 284 <a NAME="ApplicationDiagramBuilder.parsePersistenceData" ID="ApplicationDiagramBuilder.parsePersistenceData"></a>
268 <h4>ApplicationDiagramBuilder.parsePersistenceData</h4> 285 <h4>ApplicationDiagramBuilder.parsePersistenceData</h4>
269 <b>parsePersistenceData</b>(<i>version, data</i>) 286 <b>parsePersistenceData</b>(<i>version, data</i>)
271 <p> 288 <p>
272 Public method to parse persisted data. 289 Public method to parse persisted data.
273 </p> 290 </p>
274 <dl> 291 <dl>
275 292
276 <dt><i>version</i></dt> 293 <dt><i>version</i> (str)</dt>
277 <dd> 294 <dd>
278 version of the data (string) 295 version of the data
279 </dd> 296 </dd>
280 <dt><i>data</i></dt> 297 <dt><i>data</i> (str)</dt>
281 <dd> 298 <dd>
282 persisted data to be parsed (string) 299 persisted data to be parsed
283 </dd> 300 </dd>
284 </dl> 301 </dl>
285 <dl> 302 <dl>
286 <dt>Return:</dt> 303 <dt>Return:</dt>
287 <dd> 304 <dd>
288 flag indicating success (boolean) 305 flag indicating success
306 </dd>
307 </dl>
308 <dl>
309 <dt>Return Type:</dt>
310 <dd>
311 bool
289 </dd> 312 </dd>
290 </dl> 313 </dl>
291 <div align="right"><a href="#top">Up</a></div> 314 <div align="right"><a href="#top">Up</a></div>
292 <hr /> 315 <hr />
293 </body></html> 316 </body></html>

eric ide

mercurial