RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.MoveGlobalMethodDialog.html

changeset 26
b02d1f37b55e
child 44
8aa985c8dee5
equal deleted inserted replaced
25:136944186655 26:b02d1f37b55e
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.MoveGlobalMethodDialog</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.MoveGlobalMethodDialog</h1>
24 <p>
25 Module implementing the Move Global 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="#MoveGlobalMethodDialog">MoveGlobalMethodDialog</a></td>
35 <td>Class implementing the Move Global 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="MoveGlobalMethodDialog" ID="MoveGlobalMethodDialog"></a>
44 <h2>MoveGlobalMethodDialog</h2>
45 <p>
46 Class implementing the Move Global Method dialog.
47 </p>
48 <h3>Derived from</h3>
49 RefactoringDialogBase, Ui_MoveGlobalMethodDialog
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="#MoveGlobalMethodDialog.__init__">MoveGlobalMethodDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#MoveGlobalMethodDialog.__checkDestination">__checkDestination</a></td>
61 <td>Private method to check the destination entered.</td>
62 </tr><tr>
63 <td><a href="#MoveGlobalMethodDialog._calculateChanges">_calculateChanges</a></td>
64 <td>Protected method to calculate the changes.</td>
65 </tr><tr>
66 <td><a href="#MoveGlobalMethodDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
67 <td>Private slot to act on the button pressed.</td>
68 </tr><tr>
69 <td><a href="#MoveGlobalMethodDialog.on_destinationEdit_textChanged">on_destinationEdit_textChanged</a></td>
70 <td>Private slot to react to changes of the destination module.</td>
71 </tr><tr>
72 <td><a href="#MoveGlobalMethodDialog.on_selectButton_clicked">on_selectButton_clicked</a></td>
73 <td>Slot called to select the destination module via a file selection dialog.</td>
74 </tr>
75 </table>
76 <a NAME="MoveGlobalMethodDialog.__init__" ID="MoveGlobalMethodDialog.__init__"></a>
77 <h4>MoveGlobalMethodDialog (Constructor)</h4>
78 <b>MoveGlobalMethodDialog</b>(<i>refactoring, title, mover, ropeproject, 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>ropeproject</i></dt>
94 <dd>
95 reference to the rope project
96 (rope.base.project.Project)
97 </dd><dt><i>parent</i></dt>
98 <dd>
99 reference to the parent widget (QWidget)
100 </dd>
101 </dl><a NAME="MoveGlobalMethodDialog.__checkDestination" ID="MoveGlobalMethodDialog.__checkDestination"></a>
102 <h4>MoveGlobalMethodDialog.__checkDestination</h4>
103 <b>__checkDestination</b>(<i></i>)
104 <p>
105 Private method to check the destination entered.
106 </p><dl>
107 <dt>Returns:</dt>
108 <dd>
109 flag indicating a valid entry (boolean)
110 </dd>
111 </dl><a NAME="MoveGlobalMethodDialog._calculateChanges" ID="MoveGlobalMethodDialog._calculateChanges"></a>
112 <h4>MoveGlobalMethodDialog._calculateChanges</h4>
113 <b>_calculateChanges</b>(<i>handle</i>)
114 <p>
115 Protected method to calculate the changes.
116 </p><dl>
117 <dt><i>handle</i></dt>
118 <dd>
119 reference to the task handle
120 (rope.base.taskhandle.TaskHandle)
121 </dd>
122 </dl><dl>
123 <dt>Returns:</dt>
124 <dd>
125 reference to the Changes object (rope.base.change.ChangeSet)
126 </dd>
127 </dl><a NAME="MoveGlobalMethodDialog.on_buttonBox_clicked" ID="MoveGlobalMethodDialog.on_buttonBox_clicked"></a>
128 <h4>MoveGlobalMethodDialog.on_buttonBox_clicked</h4>
129 <b>on_buttonBox_clicked</b>(<i>button</i>)
130 <p>
131 Private slot to act on the button pressed.
132 </p><dl>
133 <dt><i>button</i></dt>
134 <dd>
135 reference to the button pressed (QAbstractButton)
136 </dd>
137 </dl><a NAME="MoveGlobalMethodDialog.on_destinationEdit_textChanged" ID="MoveGlobalMethodDialog.on_destinationEdit_textChanged"></a>
138 <h4>MoveGlobalMethodDialog.on_destinationEdit_textChanged</h4>
139 <b>on_destinationEdit_textChanged</b>(<i>text</i>)
140 <p>
141 Private slot to react to changes of the destination module.
142 </p><dl>
143 <dt><i>text</i></dt>
144 <dd>
145 text entered into the edit (string)
146 </dd>
147 </dl><a NAME="MoveGlobalMethodDialog.on_selectButton_clicked" ID="MoveGlobalMethodDialog.on_selectButton_clicked"></a>
148 <h4>MoveGlobalMethodDialog.on_selectButton_clicked</h4>
149 <b>on_selectButton_clicked</b>(<i></i>)
150 <p>
151 Slot called to select the destination module via a file
152 selection dialog.
153 </p>
154 <div align="right"><a href="#top">Up</a></div>
155 <hr />
156 </body></html>

eric ide

mercurial