RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.MoveMethodDialog.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.MoveMethodDialog</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.MoveMethodDialog</h1>
24 <p>
25 Module implementing the Move Method 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="#MoveMethodDialog">MoveMethodDialog</a></td>
35 <td>Class implementing the Move Method 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="MoveMethodDialog" ID="MoveMethodDialog"></a>
44 <h2>MoveMethodDialog</h2>
45 <p>
46 Class implementing the Move Method dialog.
47 </p>
48 <h3>Derived from</h3>
49 RefactoringDialogBase, Ui_MoveMethodDialog
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="#MoveMethodDialog.__init__">MoveMethodDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#MoveMethodDialog.__updateUI">__updateUI</a></td>
61 <td>Private method to perform various UI updates.</td>
62 </tr><tr>
63 <td><a href="#MoveMethodDialog._calculateChanges">_calculateChanges</a></td>
64 <td>Protected method to calculate the changes.</td>
65 </tr><tr>
66 <td><a href="#MoveMethodDialog.on_attributeEdit_textChanged">on_attributeEdit_textChanged</a></td>
67 <td>Private slot to react to changes of the attribute.</td>
68 </tr><tr>
69 <td><a href="#MoveMethodDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
70 <td>Private slot to act on the button pressed.</td>
71 </tr><tr>
72 <td><a href="#MoveMethodDialog.on_methodEdit_textChanged">on_methodEdit_textChanged</a></td>
73 <td>Private slot to react to changes of the attribute.</td>
74 </tr>
75 </table>
76 <a NAME="MoveMethodDialog.__init__" ID="MoveMethodDialog.__init__"></a>
77 <h4>MoveMethodDialog (Constructor)</h4>
78 <b>MoveMethodDialog</b>(<i>refactoring, title, mover, parent=None</i>)
79 <p>
80 Constructor
81 </p><dl>
82 <dt><i>refactoring</i></dt>
83 <dd>
84 reference to the main refactoring object
85 (Refactoring)
86 </dd><dt><i>title</i></dt>
87 <dd>
88 title of the dialog (string)
89 </dd><dt><i>mover</i></dt>
90 <dd>
91 reference to the mover object
92 (rope.refactor.move.MoveMethod)
93 </dd><dt><i>parent</i></dt>
94 <dd>
95 reference to the parent widget (QWidget)
96 </dd>
97 </dl><a NAME="MoveMethodDialog.__updateUI" ID="MoveMethodDialog.__updateUI"></a>
98 <h4>MoveMethodDialog.__updateUI</h4>
99 <b>__updateUI</b>(<i></i>)
100 <p>
101 Private method to perform various UI updates.
102 </p><a NAME="MoveMethodDialog._calculateChanges" ID="MoveMethodDialog._calculateChanges"></a>
103 <h4>MoveMethodDialog._calculateChanges</h4>
104 <b>_calculateChanges</b>(<i>handle</i>)
105 <p>
106 Protected method to calculate the changes.
107 </p><dl>
108 <dt><i>handle</i></dt>
109 <dd>
110 reference to the task handle
111 (rope.base.taskhandle.TaskHandle)
112 </dd>
113 </dl><dl>
114 <dt>Returns:</dt>
115 <dd>
116 reference to the Changes object (rope.base.change.ChangeSet)
117 </dd>
118 </dl><a NAME="MoveMethodDialog.on_attributeEdit_textChanged" ID="MoveMethodDialog.on_attributeEdit_textChanged"></a>
119 <h4>MoveMethodDialog.on_attributeEdit_textChanged</h4>
120 <b>on_attributeEdit_textChanged</b>(<i>text</i>)
121 <p>
122 Private slot to react to changes of the attribute.
123 </p><dl>
124 <dt><i>text</i></dt>
125 <dd>
126 text entered into the edit (string)
127 </dd>
128 </dl><a NAME="MoveMethodDialog.on_buttonBox_clicked" ID="MoveMethodDialog.on_buttonBox_clicked"></a>
129 <h4>MoveMethodDialog.on_buttonBox_clicked</h4>
130 <b>on_buttonBox_clicked</b>(<i>button</i>)
131 <p>
132 Private slot to act on the button pressed.
133 </p><dl>
134 <dt><i>button</i></dt>
135 <dd>
136 reference to the button pressed (QAbstractButton)
137 </dd>
138 </dl><a NAME="MoveMethodDialog.on_methodEdit_textChanged" ID="MoveMethodDialog.on_methodEdit_textChanged"></a>
139 <h4>MoveMethodDialog.on_methodEdit_textChanged</h4>
140 <b>on_methodEdit_textChanged</b>(<i>text</i>)
141 <p>
142 Private slot to react to changes of the attribute.
143 </p><dl>
144 <dt><i>text</i></dt>
145 <dd>
146 text entered into the edit (string)
147 </dd>
148 </dl>
149 <div align="right"><a href="#top">Up</a></div>
150 <hr />
151 </body></html>

eric ide

mercurial