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

branch
server_client_variant
changeset 204
b4bf79b956bc
parent 44
8aa985c8dee5
child 321
d51e810107ec
equal deleted inserted replaced
203:c38750e1bafd 204:b4bf79b956bc
74 <table> 74 <table>
75 <tr><td>None</td></tr> 75 <tr><td>None</td></tr>
76 </table> 76 </table>
77 <a NAME="ExtractDialog.__init__" ID="ExtractDialog.__init__"></a> 77 <a NAME="ExtractDialog.__init__" ID="ExtractDialog.__init__"></a>
78 <h4>ExtractDialog (Constructor)</h4> 78 <h4>ExtractDialog (Constructor)</h4>
79 <b>ExtractDialog</b>(<i>refactoring, title, extractor, parent=None</i>) 79 <b>ExtractDialog</b>(<i>refactoring, title, filename, startOffset, endOffset, extractionType, parent=None</i>)
80 <p> 80 <p>
81 Constructor 81 Constructor
82 </p><dl> 82 </p><dl>
83 <dt><i>refactoring</i></dt> 83 <dt><i>refactoring</i> (RefactoringServer)</dt>
84 <dd> 84 <dd>
85 reference to the main refactoring object 85 reference to the main refactoring object
86 (Refactoring) 86 </dd><dt><i>title</i> (str)</dt>
87 </dd><dt><i>title</i></dt>
88 <dd> 87 <dd>
89 title of the dialog (string) 88 title of the dialog
90 </dd><dt><i>extractor</i></dt> 89 </dd><dt><i>filename</i> (str)</dt>
91 <dd> 90 <dd>
92 reference to the extractor object 91 file name to be worked on
93 (rope.refactor.extract.ExtractMethod or 92 </dd><dt><i>startOffset</i> (int)</dt>
94 rope.refactor.extract.ExtractVariable)
95 </dd><dt><i>parent</i></dt>
96 <dd> 93 <dd>
97 reference to the parent widget (QWidget) 94 offset within file to start extraction
95 </dd><dt><i>endOffset</i> (int)</dt>
96 <dd>
97 offset within file to end extraction
98 </dd><dt><i>extractionType</i> (str)</dt>
99 <dd>
100 type of extraction to be performed
101 </dd><dt><i>parent</i> (QWidget)</dt>
102 <dd>
103 reference to the parent widget
98 </dd> 104 </dd>
99 </dl><a NAME="ExtractDialog._calculateChanges" ID="ExtractDialog._calculateChanges"></a> 105 </dl><a NAME="ExtractDialog._calculateChanges" ID="ExtractDialog._calculateChanges"></a>
100 <h4>ExtractDialog._calculateChanges</h4> 106 <h4>ExtractDialog._calculateChanges</h4>
101 <b>_calculateChanges</b>(<i>handle</i>) 107 <b>_calculateChanges</b>(<i></i>)
102 <p> 108 <p>
103 Protected method to calculate the changes. 109 Protected method to calculate the changes.
104 </p><dl> 110 </p><a NAME="ExtractDialog.on_buttonBox_clicked" ID="ExtractDialog.on_buttonBox_clicked"></a>
105 <dt><i>handle</i></dt>
106 <dd>
107 reference to the task handle
108 (rope.base.taskhandle.TaskHandle)
109 </dd>
110 </dl><dl>
111 <dt>Returns:</dt>
112 <dd>
113 reference to the Changes object (rope.base.change.ChangeSet)
114 </dd>
115 </dl><a NAME="ExtractDialog.on_buttonBox_clicked" ID="ExtractDialog.on_buttonBox_clicked"></a>
116 <h4>ExtractDialog.on_buttonBox_clicked</h4> 111 <h4>ExtractDialog.on_buttonBox_clicked</h4>
117 <b>on_buttonBox_clicked</b>(<i>button</i>) 112 <b>on_buttonBox_clicked</b>(<i>button</i>)
118 <p> 113 <p>
119 Private slot to act on the button pressed. 114 Private slot to act on the button pressed.
120 </p><dl> 115 </p><dl>
121 <dt><i>button</i></dt> 116 <dt><i>button</i> (QAbstractButton)</dt>
122 <dd> 117 <dd>
123 reference to the button pressed (QAbstractButton) 118 reference to the button pressed
124 </dd> 119 </dd>
125 </dl><a NAME="ExtractDialog.on_newNameEdit_textChanged" ID="ExtractDialog.on_newNameEdit_textChanged"></a> 120 </dl><a NAME="ExtractDialog.on_newNameEdit_textChanged" ID="ExtractDialog.on_newNameEdit_textChanged"></a>
126 <h4>ExtractDialog.on_newNameEdit_textChanged</h4> 121 <h4>ExtractDialog.on_newNameEdit_textChanged</h4>
127 <b>on_newNameEdit_textChanged</b>(<i>text</i>) 122 <b>on_newNameEdit_textChanged</b>(<i>text</i>)
128 <p> 123 <p>
129 Private slot to react to changes of the new name. 124 Private slot to react to changes of the new name.
130 </p><dl> 125 </p><dl>
131 <dt><i>text</i></dt> 126 <dt><i>text</i> (str)</dt>
132 <dd> 127 <dd>
133 text entered into the edit (string) 128 text entered into the edit
134 </dd> 129 </dd>
135 </dl> 130 </dl>
136 <div align="right"><a href="#top">Up</a></div> 131 <div align="right"><a href="#top">Up</a></div>
137 <hr /> 132 <hr />
138 </body></html> 133 </body></html>

eric ide

mercurial