RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.InlineArgumentDefaultDialog.html

branch
server_client_variant
changeset 204
b4bf79b956bc
parent 44
8aa985c8dee5
child 321
d51e810107ec
equal deleted inserted replaced
203:c38750e1bafd 204:b4bf79b956bc
61 <td>Constructor</td> 61 <td>Constructor</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#InlineArgumentDefaultDialog.__getParameterIndex">__getParameterIndex</a></td> 63 <td><a href="#InlineArgumentDefaultDialog.__getParameterIndex">__getParameterIndex</a></td>
64 <td>Private method to calculate the index of the given paramter.</td> 64 <td>Private method to calculate the index of the given paramter.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#InlineArgumentDefaultDialog.__processSignature">__processSignature</a></td>
67 <td>Private method to process the inline type data sent by the refactoring client in order to polish the dialog.</td>
68 </tr><tr>
66 <td><a href="#InlineArgumentDefaultDialog._calculateChanges">_calculateChanges</a></td> 69 <td><a href="#InlineArgumentDefaultDialog._calculateChanges">_calculateChanges</a></td>
67 <td>Protected method to calculate the changes.</td> 70 <td>Protected method to initiate the calculation of the changes.</td>
68 </tr><tr> 71 </tr><tr>
69 <td><a href="#InlineArgumentDefaultDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 72 <td><a href="#InlineArgumentDefaultDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
70 <td>Private slot to act on the button pressed.</td> 73 <td>Private slot to act on the button pressed.</td>
71 </tr><tr> 74 </tr><tr>
72 <td><a href="#InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged">on_parameterList_itemSelectionChanged</a></td> 75 <td><a href="#InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged">on_parameterList_itemSelectionChanged</a></td>
73 <td>Private slot called, when the selection changes.</td> 76 <td>Private slot called, when the selection changes.</td>
77 </tr><tr>
78 <td><a href="#InlineArgumentDefaultDialog.processChangeData">processChangeData</a></td>
79 <td>Public method to process the change data sent by the refactoring client.</td>
74 </tr> 80 </tr>
75 </table> 81 </table>
76 <h3>Static Methods</h3> 82 <h3>Static Methods</h3>
77 <table> 83 <table>
78 <tr><td>None</td></tr> 84 <tr><td>None</td></tr>
79 </table> 85 </table>
80 <a NAME="InlineArgumentDefaultDialog.__init__" ID="InlineArgumentDefaultDialog.__init__"></a> 86 <a NAME="InlineArgumentDefaultDialog.__init__" ID="InlineArgumentDefaultDialog.__init__"></a>
81 <h4>InlineArgumentDefaultDialog (Constructor)</h4> 87 <h4>InlineArgumentDefaultDialog (Constructor)</h4>
82 <b>InlineArgumentDefaultDialog</b>(<i>refactoring, title, changer, parent=None</i>) 88 <b>InlineArgumentDefaultDialog</b>(<i>refactoring, title, filename, offset, parent=None</i>)
83 <p> 89 <p>
84 Constructor 90 Constructor
85 </p><dl> 91 </p><dl>
86 <dt><i>refactoring</i></dt> 92 <dt><i>refactoring</i> (RefactoringServer)</dt>
87 <dd> 93 <dd>
88 reference to the main refactoring object 94 reference to the main refactoring object
89 (Refactoring) 95 </dd><dt><i>title</i> (str)</dt>
90 </dd><dt><i>title</i></dt>
91 <dd> 96 <dd>
92 title of the dialog (string) 97 title of the dialog
93 </dd><dt><i>changer</i></dt> 98 </dd><dt><i>filename</i> (str)</dt>
94 <dd> 99 <dd>
95 reference to the signature changer object 100 file name to be worked on
96 (rope.refactor.change_signature.ChangeSignature) 101 </dd><dt><i>offset</i> (int or None)</dt>
97 </dd><dt><i>parent</i></dt>
98 <dd> 102 <dd>
99 reference to the parent widget (QWidget) 103 offset within file
104 </dd><dt><i>parent</i> (QWidget)</dt>
105 <dd>
106 reference to the parent widget
100 </dd> 107 </dd>
101 </dl><a NAME="InlineArgumentDefaultDialog.__getParameterIndex" ID="InlineArgumentDefaultDialog.__getParameterIndex"></a> 108 </dl><a NAME="InlineArgumentDefaultDialog.__getParameterIndex" ID="InlineArgumentDefaultDialog.__getParameterIndex"></a>
102 <h4>InlineArgumentDefaultDialog.__getParameterIndex</h4> 109 <h4>InlineArgumentDefaultDialog.__getParameterIndex</h4>
103 <b>__getParameterIndex</b>(<i>definition_info, name</i>) 110 <b>__getParameterIndex</b>(<i>definition_info, name</i>)
104 <p> 111 <p>
105 Private method to calculate the index of the given paramter. 112 Private method to calculate the index of the given paramter.
106 </p><dl> 113 </p><dl>
107 <dt><i>definition_info</i></dt> 114 <dt><i>definition_info</i> (list of lists of two str)</dt>
108 <dd> 115 <dd>
109 object containing the method definition 116 list of lists containing the method signature
110 </dd><dt><i>name</i></dt> 117 definition
118 </dd><dt><i>name</i> (str)</dt>
111 <dd> 119 <dd>
112 parameter name (string) 120 parameter name
113 </dd> 121 </dd>
114 </dl><dl> 122 </dl><dl>
115 <dt>Returns:</dt> 123 <dt>Returns:</dt>
116 <dd> 124 <dd>
117 index of the parameter (integer) 125 index of the parameter
126 </dd>
127 </dl><dl>
128 <dt>Return Type:</dt>
129 <dd>
130 int
131 </dd>
132 </dl><a NAME="InlineArgumentDefaultDialog.__processSignature" ID="InlineArgumentDefaultDialog.__processSignature"></a>
133 <h4>InlineArgumentDefaultDialog.__processSignature</h4>
134 <b>__processSignature</b>(<i>data</i>)
135 <p>
136 Private method to process the inline type data sent by the refactoring
137 client in order to polish the dialog.
138 </p><dl>
139 <dt><i>data</i> (dict)</dt>
140 <dd>
141 dictionary containing the inline type data
118 </dd> 142 </dd>
119 </dl><a NAME="InlineArgumentDefaultDialog._calculateChanges" ID="InlineArgumentDefaultDialog._calculateChanges"></a> 143 </dl><a NAME="InlineArgumentDefaultDialog._calculateChanges" ID="InlineArgumentDefaultDialog._calculateChanges"></a>
120 <h4>InlineArgumentDefaultDialog._calculateChanges</h4> 144 <h4>InlineArgumentDefaultDialog._calculateChanges</h4>
121 <b>_calculateChanges</b>(<i>handle</i>) 145 <b>_calculateChanges</b>(<i></i>)
122 <p> 146 <p>
123 Protected method to calculate the changes. 147 Protected method to initiate the calculation of the changes.
124 </p><dl> 148 </p><a NAME="InlineArgumentDefaultDialog.on_buttonBox_clicked" ID="InlineArgumentDefaultDialog.on_buttonBox_clicked"></a>
125 <dt><i>handle</i></dt>
126 <dd>
127 reference to the task handle
128 (rope.base.taskhandle.TaskHandle)
129 </dd>
130 </dl><dl>
131 <dt>Returns:</dt>
132 <dd>
133 reference to the Changes object (rope.base.change.ChangeSet)
134 </dd>
135 </dl><a NAME="InlineArgumentDefaultDialog.on_buttonBox_clicked" ID="InlineArgumentDefaultDialog.on_buttonBox_clicked"></a>
136 <h4>InlineArgumentDefaultDialog.on_buttonBox_clicked</h4> 149 <h4>InlineArgumentDefaultDialog.on_buttonBox_clicked</h4>
137 <b>on_buttonBox_clicked</b>(<i>button</i>) 150 <b>on_buttonBox_clicked</b>(<i>button</i>)
138 <p> 151 <p>
139 Private slot to act on the button pressed. 152 Private slot to act on the button pressed.
140 </p><dl> 153 </p><dl>
141 <dt><i>button</i></dt> 154 <dt><i>button</i> (QAbstractButton)</dt>
142 <dd> 155 <dd>
143 reference to the button pressed (QAbstractButton) 156 reference to the button pressed
144 </dd> 157 </dd>
145 </dl><a NAME="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged" ID="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged"></a> 158 </dl><a NAME="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged" ID="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged"></a>
146 <h4>InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged</h4> 159 <h4>InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged</h4>
147 <b>on_parameterList_itemSelectionChanged</b>(<i></i>) 160 <b>on_parameterList_itemSelectionChanged</b>(<i></i>)
148 <p> 161 <p>
149 Private slot called, when the selection changes. 162 Private slot called, when the selection changes.
150 </p> 163 </p><a NAME="InlineArgumentDefaultDialog.processChangeData" ID="InlineArgumentDefaultDialog.processChangeData"></a>
164 <h4>InlineArgumentDefaultDialog.processChangeData</h4>
165 <b>processChangeData</b>(<i>data</i>)
166 <p>
167 Public method to process the change data sent by the refactoring
168 client.
169 </p><dl>
170 <dt><i>data</i> (dict)</dt>
171 <dd>
172 dictionary containing the change data
173 </dd>
174 </dl>
151 <div align="right"><a href="#top">Up</a></div> 175 <div align="right"><a href="#top">Up</a></div>
152 <hr /> 176 <hr />
153 </body></html> 177 </body></html>

eric ide

mercurial