RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.ExtractDialog.html

changeset 17
a0fac63ef73f
child 24
e18b36080a37
equal deleted inserted replaced
16:65b340b40844 17:a0fac63ef73f
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>Plugin_Refactoring_Rope.RefactoringRope.ExtractDialog</title>
6 <style>
7 body {
8 background: #EDECE6;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #85774A; }
14 h2 { color: white; background: #85774A; }
15 h3 { color: white; background: #9D936E; }
16 h4 { color: white; background: #9D936E; }
17
18 a { color: #BA6D36; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>Plugin_Refactoring_Rope.RefactoringRope.ExtractDialog</h1>
24 <p>
25 Module implementing the Extract dialog.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#ExtractDialog">ExtractDialog</a></td>
35 <td>Class implementing the Extract dialog.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="ExtractDialog" ID="ExtractDialog"></a>
44 <h2>ExtractDialog</h2>
45 <p>
46 Class implementing the Extract dialog.
47 </p>
48 <h3>Derived from</h3>
49 RefactoringDialogBase, Ui_ExtractDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#ExtractDialog.__init__">ExtractDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#ExtractDialog._calculateChanges">_calculateChanges</a></td>
61 <td>Protected method to calculate the changes.</td>
62 </tr><tr>
63 <td><a href="#ExtractDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
64 <td>Private slot to act on the button pressed.</td>
65 </tr><tr>
66 <td><a href="#ExtractDialog.on_newNameEdit_textChanged">on_newNameEdit_textChanged</a></td>
67 <td>Private slot to react to changes of the new name.</td>
68 </tr>
69 </table>
70 <a NAME="ExtractDialog.__init__" ID="ExtractDialog.__init__"></a>
71 <h4>ExtractDialog (Constructor)</h4>
72 <b>ExtractDialog</b>(<i>refactoring, title, extractor, parent=None</i>)
73 <p>
74 Constructor
75 </p><dl>
76 <dt><i>refactoring</i></dt>
77 <dd>
78 reference to the main refactoring object
79 (Refactoring)
80 </dd><dt><i>title</i></dt>
81 <dd>
82 title of the dialog (string)
83 </dd><dt><i>extractor</i></dt>
84 <dd>
85 reference to the extractor object
86 (rope.refactor.extract.ExtractMethod or
87 rope.refactor.extract.ExtractVariable)
88 </dd><dt><i>parent</i></dt>
89 <dd>
90 reference to the parent widget (QWidget)
91 </dd>
92 </dl><a NAME="ExtractDialog._calculateChanges" ID="ExtractDialog._calculateChanges"></a>
93 <h4>ExtractDialog._calculateChanges</h4>
94 <b>_calculateChanges</b>(<i>handle</i>)
95 <p>
96 Protected method to calculate the changes.
97 </p><dl>
98 <dt><i>handle</i></dt>
99 <dd>
100 reference to the task handle
101 (rope.base.taskhandle.TaskHandle)
102 </dd>
103 </dl><dl>
104 <dt>Returns:</dt>
105 <dd>
106 reference to the Changes object (rope.base.change.ChangeSet)
107 </dd>
108 </dl><a NAME="ExtractDialog.on_buttonBox_clicked" ID="ExtractDialog.on_buttonBox_clicked"></a>
109 <h4>ExtractDialog.on_buttonBox_clicked</h4>
110 <b>on_buttonBox_clicked</b>(<i>button</i>)
111 <p>
112 Private slot to act on the button pressed.
113 </p><dl>
114 <dt><i>button</i></dt>
115 <dd>
116 reference to the button pressed (QAbstractButton)
117 </dd>
118 </dl><a NAME="ExtractDialog.on_newNameEdit_textChanged" ID="ExtractDialog.on_newNameEdit_textChanged"></a>
119 <h4>ExtractDialog.on_newNameEdit_textChanged</h4>
120 <b>on_newNameEdit_textChanged</b>(<i>text</i>)
121 <p>
122 Private slot to react to changes of the new name.
123 </p><dl>
124 <dt><i>text</i></dt>
125 <dd>
126 text entered into the edit (string)
127 </dd>
128 </dl>
129 <div align="right"><a href="#top">Up</a></div>
130 <hr />
131 </body></html>

eric ide

mercurial