eric6/Documentation/Source/eric6.Graphics.UMLItem.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7530
9f4fac61e7c7
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Graphics.UMLItem</h1> 23 <h1>eric6.Graphics.UMLItem</h1>
24
23 <p> 25 <p>
24 Module implementing the UMLItem base class. 26 Module implementing the UMLItem base class.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#UMLItem">UMLItem</a></td> 38 <td><a href="#UMLItem">UMLItem</a></td>
34 <td>Class implementing the UMLItem base class.</td> 39 <td>Class implementing the UMLItem base class.</td>
35 </tr><tr> 40 </tr>
41 <tr>
36 <td><a href="#UMLModel">UMLModel</a></td> 42 <td><a href="#UMLModel">UMLModel</a></td>
37 <td>Class implementing the UMLModel base class.</td> 43 <td>Class implementing the UMLModel base class.</td>
38 </tr> 44 </tr>
39 </table> 45 </table>
40 <h3>Functions</h3> 46 <h3>Functions</h3>
41 <table> 47
42 <tr><td>None</td></tr> 48 <table>
43 </table> 49 <tr><td>None</td></tr>
44 <hr /><hr /> 50 </table>
51 <hr />
52 <hr />
45 <a NAME="UMLItem" ID="UMLItem"></a> 53 <a NAME="UMLItem" ID="UMLItem"></a>
46 <h2>UMLItem</h2> 54 <h2>UMLItem</h2>
55
47 <p> 56 <p>
48 Class implementing the UMLItem base class. 57 Class implementing the UMLItem base class.
49 </p> 58 </p>
50 <h3>Derived from</h3> 59 <h3>Derived from</h3>
51 QGraphicsRectItem 60 QGraphicsRectItem
52 <h3>Class Attributes</h3> 61 <h3>Class Attributes</h3>
62
53 <table> 63 <table>
54 <tr><td>ItemType</td></tr> 64 <tr><td>ItemType</td></tr>
55 </table> 65 </table>
56 <h3>Class Methods</h3> 66 <h3>Class Methods</h3>
67
57 <table> 68 <table>
58 <tr><td>None</td></tr> 69 <tr><td>None</td></tr>
59 </table> 70 </table>
60 <h3>Methods</h3> 71 <h3>Methods</h3>
61 <table> 72
73 <table>
74
62 <tr> 75 <tr>
63 <td><a href="#UMLItem.__init__">UMLItem</a></td> 76 <td><a href="#UMLItem.__init__">UMLItem</a></td>
64 <td>Constructor</td> 77 <td>Constructor</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#UMLItem.addAssociation">addAssociation</a></td> 80 <td><a href="#UMLItem.addAssociation">addAssociation</a></td>
67 <td>Public method to add an association to this widget.</td> 81 <td>Public method to add an association to this widget.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#UMLItem.adjustAssociations">adjustAssociations</a></td> 84 <td><a href="#UMLItem.adjustAssociations">adjustAssociations</a></td>
70 <td>Public method to adjust the associations to widget movements.</td> 85 <td>Public method to adjust the associations to widget movements.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#UMLItem.buildItemDataString">buildItemDataString</a></td> 88 <td><a href="#UMLItem.buildItemDataString">buildItemDataString</a></td>
73 <td>Public method to build a string to persist the specific item data.</td> 89 <td>Public method to build a string to persist the specific item data.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#UMLItem.getId">getId</a></td> 92 <td><a href="#UMLItem.getId">getId</a></td>
76 <td>Public method to get the item ID.</td> 93 <td>Public method to get the item ID.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#UMLItem.getItemType">getItemType</a></td> 96 <td><a href="#UMLItem.getItemType">getItemType</a></td>
79 <td>Public method to get the item's type.</td> 97 <td>Public method to get the item's type.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#UMLItem.getName">getName</a></td> 100 <td><a href="#UMLItem.getName">getName</a></td>
82 <td>Public method to retrieve the item name.</td> 101 <td>Public method to retrieve the item name.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#UMLItem.itemChange">itemChange</a></td> 104 <td><a href="#UMLItem.itemChange">itemChange</a></td>
85 <td>Public method called when an items state changes.</td> 105 <td>Public method called when an items state changes.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#UMLItem.moveBy">moveBy</a></td> 108 <td><a href="#UMLItem.moveBy">moveBy</a></td>
88 <td>Public overriden method to move the widget relative.</td> 109 <td>Public overriden method to move the widget relative.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#UMLItem.paint">paint</a></td> 112 <td><a href="#UMLItem.paint">paint</a></td>
91 <td>Public method to paint the item in local coordinates.</td> 113 <td>Public method to paint the item in local coordinates.</td>
92 </tr><tr> 114 </tr>
115 <tr>
93 <td><a href="#UMLItem.parseItemDataString">parseItemDataString</a></td> 116 <td><a href="#UMLItem.parseItemDataString">parseItemDataString</a></td>
94 <td>Public method to parse the given persistence data.</td> 117 <td>Public method to parse the given persistence data.</td>
95 </tr><tr> 118 </tr>
119 <tr>
96 <td><a href="#UMLItem.removeAssociation">removeAssociation</a></td> 120 <td><a href="#UMLItem.removeAssociation">removeAssociation</a></td>
97 <td>Public method to remove an association to this widget.</td> 121 <td>Public method to remove an association to this widget.</td>
98 </tr><tr> 122 </tr>
123 <tr>
99 <td><a href="#UMLItem.removeAssociations">removeAssociations</a></td> 124 <td><a href="#UMLItem.removeAssociations">removeAssociations</a></td>
100 <td>Public method to remove all associations of this widget.</td> 125 <td>Public method to remove all associations of this widget.</td>
101 </tr><tr> 126 </tr>
127 <tr>
102 <td><a href="#UMLItem.setId">setId</a></td> 128 <td><a href="#UMLItem.setId">setId</a></td>
103 <td>Public method to assign an ID to the item.</td> 129 <td>Public method to assign an ID to the item.</td>
104 </tr><tr> 130 </tr>
131 <tr>
105 <td><a href="#UMLItem.setPos">setPos</a></td> 132 <td><a href="#UMLItem.setPos">setPos</a></td>
106 <td>Public overriden method to set the items position.</td> 133 <td>Public overriden method to set the items position.</td>
107 </tr><tr> 134 </tr>
135 <tr>
108 <td><a href="#UMLItem.setSize">setSize</a></td> 136 <td><a href="#UMLItem.setSize">setSize</a></td>
109 <td>Public method to set the rectangles size.</td> 137 <td>Public method to set the rectangles size.</td>
110 </tr> 138 </tr>
111 </table> 139 </table>
112 <h3>Static Methods</h3> 140 <h3>Static Methods</h3>
113 <table> 141
114 <tr><td>None</td></tr> 142 <table>
115 </table> 143 <tr><td>None</td></tr>
144 </table>
145
116 <a NAME="UMLItem.__init__" ID="UMLItem.__init__"></a> 146 <a NAME="UMLItem.__init__" ID="UMLItem.__init__"></a>
117 <h4>UMLItem (Constructor)</h4> 147 <h4>UMLItem (Constructor)</h4>
118 <b>UMLItem</b>(<i>model=None, x=0, y=0, rounded=False, parent=None</i>) 148 <b>UMLItem</b>(<i>model=None, x=0, y=0, rounded=False, parent=None</i>)
149
119 <p> 150 <p>
120 Constructor 151 Constructor
121 </p><dl> 152 </p>
153 <dl>
154
122 <dt><i>model</i></dt> 155 <dt><i>model</i></dt>
123 <dd> 156 <dd>
124 UML model containing the item data (UMLModel) 157 UML model containing the item data (UMLModel)
125 </dd><dt><i>x</i></dt> 158 </dd>
159 <dt><i>x</i></dt>
126 <dd> 160 <dd>
127 x-coordinate (integer) 161 x-coordinate (integer)
128 </dd><dt><i>y</i></dt> 162 </dd>
163 <dt><i>y</i></dt>
129 <dd> 164 <dd>
130 y-coordinate (integer) 165 y-coordinate (integer)
131 </dd><dt><i>rounded</i></dt> 166 </dd>
167 <dt><i>rounded</i></dt>
132 <dd> 168 <dd>
133 flag indicating a rounded corner (boolean) 169 flag indicating a rounded corner (boolean)
134 </dd><dt><i>parent=</i></dt> 170 </dd>
171 <dt><i>parent=</i></dt>
135 <dd> 172 <dd>
136 reference to the parent object (QGraphicsItem) 173 reference to the parent object (QGraphicsItem)
137 </dd> 174 </dd>
138 </dl><a NAME="UMLItem.addAssociation" ID="UMLItem.addAssociation"></a> 175 </dl>
176 <a NAME="UMLItem.addAssociation" ID="UMLItem.addAssociation"></a>
139 <h4>UMLItem.addAssociation</h4> 177 <h4>UMLItem.addAssociation</h4>
140 <b>addAssociation</b>(<i>assoc</i>) 178 <b>addAssociation</b>(<i>assoc</i>)
179
141 <p> 180 <p>
142 Public method to add an association to this widget. 181 Public method to add an association to this widget.
143 </p><dl> 182 </p>
183 <dl>
184
144 <dt><i>assoc</i></dt> 185 <dt><i>assoc</i></dt>
145 <dd> 186 <dd>
146 association to be added (AssociationWidget) 187 association to be added (AssociationWidget)
147 </dd> 188 </dd>
148 </dl><a NAME="UMLItem.adjustAssociations" ID="UMLItem.adjustAssociations"></a> 189 </dl>
190 <a NAME="UMLItem.adjustAssociations" ID="UMLItem.adjustAssociations"></a>
149 <h4>UMLItem.adjustAssociations</h4> 191 <h4>UMLItem.adjustAssociations</h4>
150 <b>adjustAssociations</b>(<i></i>) 192 <b>adjustAssociations</b>(<i></i>)
193
151 <p> 194 <p>
152 Public method to adjust the associations to widget movements. 195 Public method to adjust the associations to widget movements.
153 </p><a NAME="UMLItem.buildItemDataString" ID="UMLItem.buildItemDataString"></a> 196 </p>
197 <a NAME="UMLItem.buildItemDataString" ID="UMLItem.buildItemDataString"></a>
154 <h4>UMLItem.buildItemDataString</h4> 198 <h4>UMLItem.buildItemDataString</h4>
155 <b>buildItemDataString</b>(<i></i>) 199 <b>buildItemDataString</b>(<i></i>)
200
156 <p> 201 <p>
157 Public method to build a string to persist the specific item data. 202 Public method to build a string to persist the specific item data.
158 </p><p> 203 </p>
204 <p>
159 This string must start with ", " and should be built like 205 This string must start with ", " and should be built like
160 "attribute=value" with pairs separated by ", ". value must not 206 "attribute=value" with pairs separated by ", ". value must not
161 contain ", " or newlines. 207 contain ", " or newlines.
162 </p><dl> 208 </p>
209 <dl>
163 <dt>Returns:</dt> 210 <dt>Returns:</dt>
164 <dd> 211 <dd>
165 persistence data (string) 212 persistence data (string)
166 </dd> 213 </dd>
167 </dl><a NAME="UMLItem.getId" ID="UMLItem.getId"></a> 214 </dl>
215 <a NAME="UMLItem.getId" ID="UMLItem.getId"></a>
168 <h4>UMLItem.getId</h4> 216 <h4>UMLItem.getId</h4>
169 <b>getId</b>(<i></i>) 217 <b>getId</b>(<i></i>)
218
170 <p> 219 <p>
171 Public method to get the item ID. 220 Public method to get the item ID.
172 </p><dl> 221 </p>
222 <dl>
173 <dt>Returns:</dt> 223 <dt>Returns:</dt>
174 <dd> 224 <dd>
175 ID of the item (integer) 225 ID of the item (integer)
176 </dd> 226 </dd>
177 </dl><a NAME="UMLItem.getItemType" ID="UMLItem.getItemType"></a> 227 </dl>
228 <a NAME="UMLItem.getItemType" ID="UMLItem.getItemType"></a>
178 <h4>UMLItem.getItemType</h4> 229 <h4>UMLItem.getItemType</h4>
179 <b>getItemType</b>(<i></i>) 230 <b>getItemType</b>(<i></i>)
231
180 <p> 232 <p>
181 Public method to get the item's type. 233 Public method to get the item's type.
182 </p><dl> 234 </p>
235 <dl>
183 <dt>Returns:</dt> 236 <dt>Returns:</dt>
184 <dd> 237 <dd>
185 item type (string) 238 item type (string)
186 </dd> 239 </dd>
187 </dl><a NAME="UMLItem.getName" ID="UMLItem.getName"></a> 240 </dl>
241 <a NAME="UMLItem.getName" ID="UMLItem.getName"></a>
188 <h4>UMLItem.getName</h4> 242 <h4>UMLItem.getName</h4>
189 <b>getName</b>(<i></i>) 243 <b>getName</b>(<i></i>)
244
190 <p> 245 <p>
191 Public method to retrieve the item name. 246 Public method to retrieve the item name.
192 </p><dl> 247 </p>
248 <dl>
193 <dt>Returns:</dt> 249 <dt>Returns:</dt>
194 <dd> 250 <dd>
195 item name (string) 251 item name (string)
196 </dd> 252 </dd>
197 </dl><a NAME="UMLItem.itemChange" ID="UMLItem.itemChange"></a> 253 </dl>
254 <a NAME="UMLItem.itemChange" ID="UMLItem.itemChange"></a>
198 <h4>UMLItem.itemChange</h4> 255 <h4>UMLItem.itemChange</h4>
199 <b>itemChange</b>(<i>change, value</i>) 256 <b>itemChange</b>(<i>change, value</i>)
257
200 <p> 258 <p>
201 Public method called when an items state changes. 259 Public method called when an items state changes.
202 </p><dl> 260 </p>
261 <dl>
262
203 <dt><i>change</i></dt> 263 <dt><i>change</i></dt>
204 <dd> 264 <dd>
205 the item's change (QGraphicsItem.GraphicsItemChange) 265 the item's change (QGraphicsItem.GraphicsItemChange)
206 </dd><dt><i>value</i></dt> 266 </dd>
267 <dt><i>value</i></dt>
207 <dd> 268 <dd>
208 the value of the change 269 the value of the change
209 </dd> 270 </dd>
210 </dl><dl> 271 </dl>
272 <dl>
211 <dt>Returns:</dt> 273 <dt>Returns:</dt>
212 <dd> 274 <dd>
213 adjusted values 275 adjusted values
214 </dd> 276 </dd>
215 </dl><a NAME="UMLItem.moveBy" ID="UMLItem.moveBy"></a> 277 </dl>
278 <a NAME="UMLItem.moveBy" ID="UMLItem.moveBy"></a>
216 <h4>UMLItem.moveBy</h4> 279 <h4>UMLItem.moveBy</h4>
217 <b>moveBy</b>(<i>dx, dy</i>) 280 <b>moveBy</b>(<i>dx, dy</i>)
281
218 <p> 282 <p>
219 Public overriden method to move the widget relative. 283 Public overriden method to move the widget relative.
220 </p><dl> 284 </p>
285 <dl>
286
221 <dt><i>dx</i></dt> 287 <dt><i>dx</i></dt>
222 <dd> 288 <dd>
223 relative movement in x-direction (float) 289 relative movement in x-direction (float)
224 </dd><dt><i>dy</i></dt> 290 </dd>
291 <dt><i>dy</i></dt>
225 <dd> 292 <dd>
226 relative movement in y-direction (float) 293 relative movement in y-direction (float)
227 </dd> 294 </dd>
228 </dl><a NAME="UMLItem.paint" ID="UMLItem.paint"></a> 295 </dl>
296 <a NAME="UMLItem.paint" ID="UMLItem.paint"></a>
229 <h4>UMLItem.paint</h4> 297 <h4>UMLItem.paint</h4>
230 <b>paint</b>(<i>painter, option, widget=None</i>) 298 <b>paint</b>(<i>painter, option, widget=None</i>)
299
231 <p> 300 <p>
232 Public method to paint the item in local coordinates. 301 Public method to paint the item in local coordinates.
233 </p><dl> 302 </p>
303 <dl>
304
234 <dt><i>painter</i></dt> 305 <dt><i>painter</i></dt>
235 <dd> 306 <dd>
236 reference to the painter object (QPainter) 307 reference to the painter object (QPainter)
237 </dd><dt><i>option</i></dt> 308 </dd>
309 <dt><i>option</i></dt>
238 <dd> 310 <dd>
239 style options (QStyleOptionGraphicsItem) 311 style options (QStyleOptionGraphicsItem)
240 </dd><dt><i>widget</i></dt> 312 </dd>
313 <dt><i>widget</i></dt>
241 <dd> 314 <dd>
242 optional reference to the widget painted on (QWidget) 315 optional reference to the widget painted on (QWidget)
243 </dd> 316 </dd>
244 </dl><a NAME="UMLItem.parseItemDataString" ID="UMLItem.parseItemDataString"></a> 317 </dl>
318 <a NAME="UMLItem.parseItemDataString" ID="UMLItem.parseItemDataString"></a>
245 <h4>UMLItem.parseItemDataString</h4> 319 <h4>UMLItem.parseItemDataString</h4>
246 <b>parseItemDataString</b>(<i>version, data</i>) 320 <b>parseItemDataString</b>(<i>version, data</i>)
321
247 <p> 322 <p>
248 Public method to parse the given persistence data. 323 Public method to parse the given persistence data.
249 </p><dl> 324 </p>
325 <dl>
326
250 <dt><i>version</i></dt> 327 <dt><i>version</i></dt>
251 <dd> 328 <dd>
252 version of the data (string) 329 version of the data (string)
253 </dd><dt><i>data</i></dt> 330 </dd>
331 <dt><i>data</i></dt>
254 <dd> 332 <dd>
255 persisted data to be parsed (string) 333 persisted data to be parsed (string)
256 </dd> 334 </dd>
257 </dl><dl> 335 </dl>
336 <dl>
258 <dt>Returns:</dt> 337 <dt>Returns:</dt>
259 <dd> 338 <dd>
260 flag indicating success (boolean) 339 flag indicating success (boolean)
261 </dd> 340 </dd>
262 </dl><a NAME="UMLItem.removeAssociation" ID="UMLItem.removeAssociation"></a> 341 </dl>
342 <a NAME="UMLItem.removeAssociation" ID="UMLItem.removeAssociation"></a>
263 <h4>UMLItem.removeAssociation</h4> 343 <h4>UMLItem.removeAssociation</h4>
264 <b>removeAssociation</b>(<i>assoc</i>) 344 <b>removeAssociation</b>(<i>assoc</i>)
345
265 <p> 346 <p>
266 Public method to remove an association to this widget. 347 Public method to remove an association to this widget.
267 </p><dl> 348 </p>
349 <dl>
350
268 <dt><i>assoc</i></dt> 351 <dt><i>assoc</i></dt>
269 <dd> 352 <dd>
270 association to be removed (AssociationWidget) 353 association to be removed (AssociationWidget)
271 </dd> 354 </dd>
272 </dl><a NAME="UMLItem.removeAssociations" ID="UMLItem.removeAssociations"></a> 355 </dl>
356 <a NAME="UMLItem.removeAssociations" ID="UMLItem.removeAssociations"></a>
273 <h4>UMLItem.removeAssociations</h4> 357 <h4>UMLItem.removeAssociations</h4>
274 <b>removeAssociations</b>(<i></i>) 358 <b>removeAssociations</b>(<i></i>)
359
275 <p> 360 <p>
276 Public method to remove all associations of this widget. 361 Public method to remove all associations of this widget.
277 </p><a NAME="UMLItem.setId" ID="UMLItem.setId"></a> 362 </p>
363 <a NAME="UMLItem.setId" ID="UMLItem.setId"></a>
278 <h4>UMLItem.setId</h4> 364 <h4>UMLItem.setId</h4>
279 <b>setId</b>(<i>itemId</i>) 365 <b>setId</b>(<i>itemId</i>)
366
280 <p> 367 <p>
281 Public method to assign an ID to the item. 368 Public method to assign an ID to the item.
282 </p><dl> 369 </p>
370 <dl>
371
283 <dt><i>itemId</i></dt> 372 <dt><i>itemId</i></dt>
284 <dd> 373 <dd>
285 assigned ID (integer) 374 assigned ID (integer)
286 </dd> 375 </dd>
287 </dl><a NAME="UMLItem.setPos" ID="UMLItem.setPos"></a> 376 </dl>
377 <a NAME="UMLItem.setPos" ID="UMLItem.setPos"></a>
288 <h4>UMLItem.setPos</h4> 378 <h4>UMLItem.setPos</h4>
289 <b>setPos</b>(<i>x, y</i>) 379 <b>setPos</b>(<i>x, y</i>)
380
290 <p> 381 <p>
291 Public overriden method to set the items position. 382 Public overriden method to set the items position.
292 </p><dl> 383 </p>
384 <dl>
385
293 <dt><i>x</i></dt> 386 <dt><i>x</i></dt>
294 <dd> 387 <dd>
295 absolute x-position (float) 388 absolute x-position (float)
296 </dd><dt><i>y</i></dt> 389 </dd>
390 <dt><i>y</i></dt>
297 <dd> 391 <dd>
298 absolute y-position (float) 392 absolute y-position (float)
299 </dd> 393 </dd>
300 </dl><a NAME="UMLItem.setSize" ID="UMLItem.setSize"></a> 394 </dl>
395 <a NAME="UMLItem.setSize" ID="UMLItem.setSize"></a>
301 <h4>UMLItem.setSize</h4> 396 <h4>UMLItem.setSize</h4>
302 <b>setSize</b>(<i>width, height</i>) 397 <b>setSize</b>(<i>width, height</i>)
398
303 <p> 399 <p>
304 Public method to set the rectangles size. 400 Public method to set the rectangles size.
305 </p><dl> 401 </p>
402 <dl>
403
306 <dt><i>width</i></dt> 404 <dt><i>width</i></dt>
307 <dd> 405 <dd>
308 width of the rectangle (float) 406 width of the rectangle (float)
309 </dd><dt><i>height</i></dt> 407 </dd>
408 <dt><i>height</i></dt>
310 <dd> 409 <dd>
311 height of the rectangle (float) 410 height of the rectangle (float)
312 </dd> 411 </dd>
313 </dl> 412 </dl>
314 <div align="right"><a href="#top">Up</a></div> 413 <div align="right"><a href="#top">Up</a></div>
315 <hr /><hr /> 414 <hr />
415 <hr />
316 <a NAME="UMLModel" ID="UMLModel"></a> 416 <a NAME="UMLModel" ID="UMLModel"></a>
317 <h2>UMLModel</h2> 417 <h2>UMLModel</h2>
418
318 <p> 419 <p>
319 Class implementing the UMLModel base class. 420 Class implementing the UMLModel base class.
320 </p> 421 </p>
321 <h3>Derived from</h3> 422 <h3>Derived from</h3>
322 object 423 object
323 <h3>Class Attributes</h3> 424 <h3>Class Attributes</h3>
425
324 <table> 426 <table>
325 <tr><td>None</td></tr> 427 <tr><td>None</td></tr>
326 </table> 428 </table>
327 <h3>Class Methods</h3> 429 <h3>Class Methods</h3>
430
328 <table> 431 <table>
329 <tr><td>None</td></tr> 432 <tr><td>None</td></tr>
330 </table> 433 </table>
331 <h3>Methods</h3> 434 <h3>Methods</h3>
332 <table> 435
436 <table>
437
333 <tr> 438 <tr>
334 <td><a href="#UMLModel.__init__">UMLModel</a></td> 439 <td><a href="#UMLModel.__init__">UMLModel</a></td>
335 <td>Constructor</td> 440 <td>Constructor</td>
336 </tr><tr> 441 </tr>
442 <tr>
337 <td><a href="#UMLModel.getName">getName</a></td> 443 <td><a href="#UMLModel.getName">getName</a></td>
338 <td>Public method to retrieve the model name.</td> 444 <td>Public method to retrieve the model name.</td>
339 </tr> 445 </tr>
340 </table> 446 </table>
341 <h3>Static Methods</h3> 447 <h3>Static Methods</h3>
342 <table> 448
343 <tr><td>None</td></tr> 449 <table>
344 </table> 450 <tr><td>None</td></tr>
451 </table>
452
345 <a NAME="UMLModel.__init__" ID="UMLModel.__init__"></a> 453 <a NAME="UMLModel.__init__" ID="UMLModel.__init__"></a>
346 <h4>UMLModel (Constructor)</h4> 454 <h4>UMLModel (Constructor)</h4>
347 <b>UMLModel</b>(<i>name</i>) 455 <b>UMLModel</b>(<i>name</i>)
456
348 <p> 457 <p>
349 Constructor 458 Constructor
350 </p><dl> 459 </p>
460 <dl>
461
351 <dt><i>name</i></dt> 462 <dt><i>name</i></dt>
352 <dd> 463 <dd>
353 package name (string) 464 package name (string)
354 </dd> 465 </dd>
355 </dl><a NAME="UMLModel.getName" ID="UMLModel.getName"></a> 466 </dl>
467 <a NAME="UMLModel.getName" ID="UMLModel.getName"></a>
356 <h4>UMLModel.getName</h4> 468 <h4>UMLModel.getName</h4>
357 <b>getName</b>(<i></i>) 469 <b>getName</b>(<i></i>)
470
358 <p> 471 <p>
359 Public method to retrieve the model name. 472 Public method to retrieve the model name.
360 </p><dl> 473 </p>
474 <dl>
361 <dt>Returns:</dt> 475 <dt>Returns:</dt>
362 <dd> 476 <dd>
363 model name (string) 477 model name (string)
364 </dd> 478 </dd>
365 </dl> 479 </dl>

eric ide

mercurial