120 <td>Private slot to load a diagram from file.</td> |
120 <td>Private slot to load a diagram from file.</td> |
121 </tr> |
121 </tr> |
122 <tr> |
122 <tr> |
123 <td><a href="#ProjectSourcesBrowser.__performFormatWithBlack">__performFormatWithBlack</a></td> |
123 <td><a href="#ProjectSourcesBrowser.__performFormatWithBlack">__performFormatWithBlack</a></td> |
124 <td>Private method to format the selected project sources using the 'Black' tool.</td> |
124 <td>Private method to format the selected project sources using the 'Black' tool.</td> |
|
125 </tr> |
|
126 <tr> |
|
127 <td><a href="#ProjectSourcesBrowser.__performImportSortingWithIsort">__performImportSortingWithIsort</a></td> |
|
128 <td>Private method to sort the import statements of the selected project sources using the 'isort' tool.</td> |
125 </tr> |
129 </tr> |
126 <tr> |
130 <tr> |
127 <td><a href="#ProjectSourcesBrowser.__showApplicationDiagram">__showApplicationDiagram</a></td> |
131 <td><a href="#ProjectSourcesBrowser.__showApplicationDiagram">__showApplicationDiagram</a></td> |
128 <td>Private method to handle the application diagram context menu action.</td> |
132 <td>Private method to handle the application diagram context menu action.</td> |
129 </tr> |
133 </tr> |
341 <dt><i>action</i> (BlackFormattingAction)</dt> |
345 <dt><i>action</i> (BlackFormattingAction)</dt> |
342 <dd> |
346 <dd> |
343 formatting operation to be performed |
347 formatting operation to be performed |
344 </dd> |
348 </dd> |
345 </dl> |
349 </dl> |
|
350 <a NAME="ProjectSourcesBrowser.__performImportSortingWithIsort" ID="ProjectSourcesBrowser.__performImportSortingWithIsort"></a> |
|
351 <h4>ProjectSourcesBrowser.__performImportSortingWithIsort</h4> |
|
352 <b>__performImportSortingWithIsort</b>(<i>action</i>) |
|
353 |
|
354 <p> |
|
355 Private method to sort the import statements of the selected project sources |
|
356 using the 'isort' tool. |
|
357 </p> |
|
358 <p> |
|
359 Following actions are supported. |
|
360 <ul> |
|
361 <li>IsortFormattingAction.Sort - the import statement sorting is performed</li> |
|
362 <li>IsortFormattingAction.Check - a check is performed, if import statement |
|
363 resorting is necessary</li> |
|
364 <li>IsortFormattingAction.Diff - a unified diff of potential import statement |
|
365 changes is generated</li> |
|
366 </ul> |
|
367 </p> |
|
368 <dl> |
|
369 |
|
370 <dt><i>action</i> (IsortFormattingAction)</dt> |
|
371 <dd> |
|
372 sorting operation to be performed |
|
373 </dd> |
|
374 </dl> |
346 <a NAME="ProjectSourcesBrowser.__showApplicationDiagram" ID="ProjectSourcesBrowser.__showApplicationDiagram"></a> |
375 <a NAME="ProjectSourcesBrowser.__showApplicationDiagram" ID="ProjectSourcesBrowser.__showApplicationDiagram"></a> |
347 <h4>ProjectSourcesBrowser.__showApplicationDiagram</h4> |
376 <h4>ProjectSourcesBrowser.__showApplicationDiagram</h4> |
348 <b>__showApplicationDiagram</b>(<i></i>) |
377 <b>__showApplicationDiagram</b>(<i></i>) |
349 |
378 |
350 <p> |
379 <p> |