RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.RenameDialog.html

branch
server_client_variant
changeset 204
b4bf79b956bc
parent 123
bbfd1f6155ce
child 321
d51e810107ec
equal deleted inserted replaced
203:c38750e1bafd 204:b4bf79b956bc
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#RenameDialog.__confirmUnsure">__confirmUnsure</a></td> 63 <td><a href="#RenameDialog.__confirmUnsure">__confirmUnsure</a></td>
64 <td>Private method to confirm unsure occurrences.</td> 64 <td>Private method to confirm unsure occurrences.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#RenameDialog._calculateChanges">_calculateChanges</a></td> 66 <td><a href="#RenameDialog._calculateChanges">_calculateChanges</a></td>
67 <td>Protected method to calculate the changes.</td> 67 <td>Protected method to initiate the calculation of the changes.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#RenameDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 69 <td><a href="#RenameDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
70 <td>Private slot to act on the button pressed.</td> 70 <td>Private slot to act on the button pressed.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#RenameDialog.on_newNameEdit_textChanged">on_newNameEdit_textChanged</a></td> 72 <td><a href="#RenameDialog.on_newNameEdit_textChanged">on_newNameEdit_textChanged</a></td>
73 <td>Private slot to react to changes of the new name.</td> 73 <td>Private slot to react to changes of the new name.</td>
74 </tr><tr>
75 <td><a href="#RenameDialog.processChangeData">processChangeData</a></td>
76 <td>Public method to process the change data sent by the refactoring client.</td>
74 </tr> 77 </tr>
75 </table> 78 </table>
76 <h3>Static Methods</h3> 79 <h3>Static Methods</h3>
77 <table> 80 <table>
78 <tr><td>None</td></tr> 81 <tr><td>None</td></tr>
79 </table> 82 </table>
80 <a NAME="RenameDialog.__init__" ID="RenameDialog.__init__"></a> 83 <a NAME="RenameDialog.__init__" ID="RenameDialog.__init__"></a>
81 <h4>RenameDialog (Constructor)</h4> 84 <h4>RenameDialog (Constructor)</h4>
82 <b>RenameDialog</b>(<i>refactoring, title, renamer, resource=None, selectedText='', parent=None</i>) 85 <b>RenameDialog</b>(<i>refactoring, title, filename, offset, isLocal, selectedText='', parent=None</i>)
83 <p> 86 <p>
84 Constructor 87 Constructor
85 </p><dl> 88 </p><dl>
86 <dt><i>refactoring</i></dt> 89 <dt><i>refactoring</i> (RefactoringServer)</dt>
87 <dd> 90 <dd>
88 reference to the main refactoring object 91 reference to the main refactoring object
89 (Refactoring) 92 </dd><dt><i>title</i> (str)</dt>
90 </dd><dt><i>title</i></dt>
91 <dd> 93 <dd>
92 title of the dialog (string) 94 title of the dialog
93 </dd><dt><i>renamer</i></dt> 95 </dd><dt><i>filename</i> (str)</dt>
94 <dd> 96 <dd>
95 reference to the renamer object 97 file name to be worked on
96 (rope.refactor.rename.Rename) 98 </dd><dt><i>offset</i> (int or None)</dt>
97 </dd><dt><i>resource</i></dt>
98 <dd> 99 <dd>
99 reference to a resource object, if the action is to 100 offset within file
100 be applied to the local file only (rope.base.resources.File) 101 </dd><dt><i>isLocal</i> (bool)</dt>
101 </dd><dt><i>selectedText</i></dt>
102 <dd> 102 <dd>
103 selected text to rename (str) 103 flag indicating to restrict refactoring to
104 </dd><dt><i>parent</i></dt> 104 the local file
105 </dd><dt><i>selectedText</i> (str)</dt>
105 <dd> 106 <dd>
106 reference to the parent widget (QWidget) 107 selected text to rename
108 </dd><dt><i>parent</i> (QWidget)</dt>
109 <dd>
110 reference to the parent widget
107 </dd> 111 </dd>
108 </dl><a NAME="RenameDialog.__confirmUnsure" ID="RenameDialog.__confirmUnsure"></a> 112 </dl><a NAME="RenameDialog.__confirmUnsure" ID="RenameDialog.__confirmUnsure"></a>
109 <h4>RenameDialog.__confirmUnsure</h4> 113 <h4>RenameDialog.__confirmUnsure</h4>
110 <b>__confirmUnsure</b>(<i>occurrence</i>) 114 <b>__confirmUnsure</b>(<i>data</i>)
111 <p> 115 <p>
112 Private method to confirm unsure occurrences. 116 Private method to confirm unsure occurrences.
113 </p><dl> 117 </p><dl>
114 <dt><i>occurrence</i></dt> 118 <dt><i>data</i> (dict)</dt>
115 <dd> 119 <dd>
116 reference to the occurrence object 120 dictionary containing the change data
117 (rope.refactor.occurrences.Occurrence)
118 </dd>
119 </dl><dl>
120 <dt>Returns:</dt>
121 <dd>
122 flag indicating an occurrence (boolean)
123 </dd> 121 </dd>
124 </dl><a NAME="RenameDialog._calculateChanges" ID="RenameDialog._calculateChanges"></a> 122 </dl><a NAME="RenameDialog._calculateChanges" ID="RenameDialog._calculateChanges"></a>
125 <h4>RenameDialog._calculateChanges</h4> 123 <h4>RenameDialog._calculateChanges</h4>
126 <b>_calculateChanges</b>(<i>handle</i>) 124 <b>_calculateChanges</b>(<i></i>)
127 <p> 125 <p>
128 Protected method to calculate the changes. 126 Protected method to initiate the calculation of the changes.
129 </p><dl> 127 </p><a NAME="RenameDialog.on_buttonBox_clicked" ID="RenameDialog.on_buttonBox_clicked"></a>
130 <dt><i>handle</i></dt>
131 <dd>
132 reference to the task handle
133 (rope.base.taskhandle.TaskHandle)
134 </dd>
135 </dl><dl>
136 <dt>Returns:</dt>
137 <dd>
138 reference to the Changes object (rope.base.change.ChangeSet)
139 </dd>
140 </dl><a NAME="RenameDialog.on_buttonBox_clicked" ID="RenameDialog.on_buttonBox_clicked"></a>
141 <h4>RenameDialog.on_buttonBox_clicked</h4> 128 <h4>RenameDialog.on_buttonBox_clicked</h4>
142 <b>on_buttonBox_clicked</b>(<i>button</i>) 129 <b>on_buttonBox_clicked</b>(<i>button</i>)
143 <p> 130 <p>
144 Private slot to act on the button pressed. 131 Private slot to act on the button pressed.
145 </p><dl> 132 </p><dl>
146 <dt><i>button</i></dt> 133 <dt><i>button</i> (QAbstractButton)</dt>
147 <dd> 134 <dd>
148 reference to the button pressed (QAbstractButton) 135 reference to the button pressed
149 </dd> 136 </dd>
150 </dl><a NAME="RenameDialog.on_newNameEdit_textChanged" ID="RenameDialog.on_newNameEdit_textChanged"></a> 137 </dl><a NAME="RenameDialog.on_newNameEdit_textChanged" ID="RenameDialog.on_newNameEdit_textChanged"></a>
151 <h4>RenameDialog.on_newNameEdit_textChanged</h4> 138 <h4>RenameDialog.on_newNameEdit_textChanged</h4>
152 <b>on_newNameEdit_textChanged</b>(<i>text</i>) 139 <b>on_newNameEdit_textChanged</b>(<i>text</i>)
153 <p> 140 <p>
154 Private slot to react to changes of the new name. 141 Private slot to react to changes of the new name.
155 </p><dl> 142 </p><dl>
156 <dt><i>text</i></dt> 143 <dt><i>text</i> (str)</dt>
157 <dd> 144 <dd>
158 text entered into the edit (string) 145 text entered into the edit
146 </dd>
147 </dl><a NAME="RenameDialog.processChangeData" ID="RenameDialog.processChangeData"></a>
148 <h4>RenameDialog.processChangeData</h4>
149 <b>processChangeData</b>(<i>data</i>)
150 <p>
151 Public method to process the change data sent by the refactoring
152 client.
153 </p><dl>
154 <dt><i>data</i> (dict)</dt>
155 <dd>
156 dictionary containing the change data
159 </dd> 157 </dd>
160 </dl> 158 </dl>
161 <div align="right"><a href="#top">Up</a></div> 159 <div align="right"><a href="#top">Up</a></div>
162 <hr /> 160 <hr />
163 </body></html> 161 </body></html>

eric ide

mercurial