Sat, 27 Jun 2015 11:15:48 +0200
Added capability to go to the definition of a class or function by clicking on it (while holding the Ctrl key or another configurable modifier sequence) (needs eric 6.1.0).
44
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
1 | <!DOCTYPE html> |
17 | 2 | <html><head> |
3 | <title>Plugin_Refactoring_Rope.RefactoringRope.RefactoringDialogBase</title> | |
44
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
4 | <meta charset="UTF-8"> |
17 | 5 | <style> |
6 | body { | |
7 | background: #EDECE6; | |
8 | margin: 0em 1em 10em 1em; | |
9 | color: black; | |
10 | } | |
11 | ||
12 | h1 { color: white; background: #85774A; } | |
13 | h2 { color: white; background: #85774A; } | |
14 | h3 { color: white; background: #9D936E; } | |
15 | h4 { color: white; background: #9D936E; } | |
16 | ||
17 | a { color: #BA6D36; } | |
18 | ||
19 | </style> | |
20 | </head> | |
21 | <body><a NAME="top" ID="top"></a> | |
22 | <h1>Plugin_Refactoring_Rope.RefactoringRope.RefactoringDialogBase</h1> | |
23 | <p> | |
24 | Module implementing the Refactoring dialog base class. | |
25 | </p> | |
26 | <h3>Global Attributes</h3> | |
27 | <table> | |
28 | <tr><td>None</td></tr> | |
29 | </table> | |
30 | <h3>Classes</h3> | |
31 | <table> | |
32 | <tr> | |
33 | <td><a href="#RefactoringDialogBase">RefactoringDialogBase</a></td> | |
34 | <td>Class implementing the Refactoring dialog base class.</td> | |
35 | </tr> | |
36 | </table> | |
37 | <h3>Functions</h3> | |
38 | <table> | |
39 | <tr><td>None</td></tr> | |
40 | </table> | |
41 | <hr /><hr /> | |
42 | <a NAME="RefactoringDialogBase" ID="RefactoringDialogBase"></a> | |
43 | <h2>RefactoringDialogBase</h2> | |
44 | <p> | |
45 | Class implementing the Refactoring dialog base class. | |
46 | </p> | |
47 | <h3>Derived from</h3> | |
48 | QDialog | |
49 | <h3>Class Attributes</h3> | |
50 | <table> | |
51 | <tr><td>None</td></tr> | |
52 | </table> | |
44
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
53 | <h3>Class Methods</h3> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
54 | <table> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
55 | <tr><td>None</td></tr> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
56 | </table> |
17 | 57 | <h3>Methods</h3> |
58 | <table> | |
59 | <tr> | |
60 | <td><a href="#RefactoringDialogBase.__init__">RefactoringDialogBase</a></td> | |
61 | <td>Constructor</td> | |
62 | </tr><tr> | |
63 | <td><a href="#RefactoringDialogBase.__createProgressHandle">__createProgressHandle</a></td> | |
64 | <td>Private method to create a TaskHandle to update a progress dialog.</td> | |
65 | </tr><tr> | |
66 | <td><a href="#RefactoringDialogBase.__getChanges">__getChanges</a></td> | |
67 | <td>Private method to build the Changes object.</td> | |
68 | </tr><tr> | |
69 | <td><a href="#RefactoringDialogBase._calculateChanges">_calculateChanges</a></td> | |
70 | <td>Protected method to calculate the changes.</td> | |
71 | </tr><tr> | |
72 | <td><a href="#RefactoringDialogBase.applyChanges">applyChanges</a></td> | |
73 | <td>Public method to apply the changes.</td> | |
74 | </tr><tr> | |
75 | <td><a href="#RefactoringDialogBase.previewChanges">previewChanges</a></td> | |
76 | <td>Public method to preview the changes.</td> | |
77 | </tr> | |
78 | </table> | |
44
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
79 | <h3>Static Methods</h3> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
80 | <table> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
81 | <tr><td>None</td></tr> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
82 | </table> |
17 | 83 | <a NAME="RefactoringDialogBase.__init__" ID="RefactoringDialogBase.__init__"></a> |
84 | <h4>RefactoringDialogBase (Constructor)</h4> | |
85 | <b>RefactoringDialogBase</b>(<i>refactoring, title, parent=None</i>) | |
86 | <p> | |
87 | Constructor | |
88 | </p><dl> | |
89 | <dt><i>refactoring</i></dt> | |
90 | <dd> | |
91 | reference to the main refactoring object | |
92 | (Refactoring) | |
93 | </dd><dt><i>title</i></dt> | |
94 | <dd> | |
95 | title of the dialog (string) | |
96 | </dd><dt><i>parent</i></dt> | |
97 | <dd> | |
98 | reference to the parent widget (QWidget) | |
99 | </dd> | |
100 | </dl><a NAME="RefactoringDialogBase.__createProgressHandle" ID="RefactoringDialogBase.__createProgressHandle"></a> | |
101 | <h4>RefactoringDialogBase.__createProgressHandle</h4> | |
102 | <b>__createProgressHandle</b>(<i>interruptable=True</i>) | |
103 | <p> | |
104 | Private method to create a TaskHandle to update a progress dialog. | |
105 | </p><dl> | |
106 | <dt><i>interruptable</i></dt> | |
107 | <dd> | |
108 | flag indicating, that the task may be | |
109 | interrupted (boolean) | |
110 | </dd> | |
111 | </dl><a NAME="RefactoringDialogBase.__getChanges" ID="RefactoringDialogBase.__getChanges"></a> | |
112 | <h4>RefactoringDialogBase.__getChanges</h4> | |
113 | <b>__getChanges</b>(<i></i>) | |
114 | <p> | |
115 | Private method to build the Changes object. | |
116 | </p><dl> | |
117 | <dt>Returns:</dt> | |
118 | <dd> | |
119 | reference to the Changes object (rope.base.change.ChangeSet) | |
120 | </dd> | |
121 | </dl><a NAME="RefactoringDialogBase._calculateChanges" ID="RefactoringDialogBase._calculateChanges"></a> | |
122 | <h4>RefactoringDialogBase._calculateChanges</h4> | |
123 | <b>_calculateChanges</b>(<i>handle</i>) | |
124 | <p> | |
125 | Protected method to calculate the changes. | |
126 | </p><dl> | |
127 | <dt><i>handle</i></dt> | |
128 | <dd> | |
129 | reference to the task handle | |
130 | (rope.base.taskhandle.TaskHandle) | |
131 | </dd> | |
132 | </dl><dl> | |
133 | <dt>Returns:</dt> | |
134 | <dd> | |
55
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
135 | reference to the ChangeSet object (rope.base.change.ChangeSet) |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
136 | </dd> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
137 | </dl><dl> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
138 | <dt>Raises <b>NotImplementedError</b>:</dt> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
139 | <dd> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
140 | raised to indicate that this method must |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
141 | be overridden by subclasses |
17 | 142 | </dd> |
143 | </dl><a NAME="RefactoringDialogBase.applyChanges" ID="RefactoringDialogBase.applyChanges"></a> | |
144 | <h4>RefactoringDialogBase.applyChanges</h4> | |
24
e18b36080a37
Updated source docu after making the code PEP-8 compliant.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
17
diff
changeset
|
145 | <b>applyChanges</b>(<i>changes=None</i>) |
17 | 146 | <p> |
147 | Public method to apply the changes. | |
148 | </p><dl> | |
55
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
149 | <dt><i>changes</i></dt> |
17 | 150 | <dd> |
55
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
151 | reference to the ChangeSet object |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
152 | (rope.base.change.ChangeSet) |
17 | 153 | </dd> |
154 | </dl><a NAME="RefactoringDialogBase.previewChanges" ID="RefactoringDialogBase.previewChanges"></a> | |
155 | <h4>RefactoringDialogBase.previewChanges</h4> | |
156 | <b>previewChanges</b>(<i></i>) | |
157 | <p> | |
158 | Public method to preview the changes. | |
159 | </p> | |
160 | <div align="right"><a href="#top">Up</a></div> | |
161 | <hr /> | |
162 | </body></html> |