|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.PluginVcsPySvn</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.PluginVcsPySvn</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the PySvn version control plugin. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>author</td></tr><tr><td>autoactivate</td></tr><tr><td>className</td></tr><tr><td>deactivateable</td></tr><tr><td>error</td></tr><tr><td>longDescription</td></tr><tr><td>name</td></tr><tr><td>packageName</td></tr><tr><td>pluginType</td></tr><tr><td>pluginTypename</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>subversionCfgPluginObject</td></tr><tr><td>version</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#VcsPySvnPlugin">VcsPySvnPlugin</a></td> |
|
25 <td>Class implementing the PySvn version control plugin.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 |
|
32 <tr> |
|
33 <td><a href="#createConfigurationPage">createConfigurationPage</a></td> |
|
34 <td>Module function to create the configuration page.</td> |
|
35 </tr> |
|
36 <tr> |
|
37 <td><a href="#displayString">displayString</a></td> |
|
38 <td>Public function to get the display string.</td> |
|
39 </tr> |
|
40 <tr> |
|
41 <td><a href="#exeDisplayData">exeDisplayData</a></td> |
|
42 <td>Public method to support the display of some executable info.</td> |
|
43 </tr> |
|
44 <tr> |
|
45 <td><a href="#getConfigData">getConfigData</a></td> |
|
46 <td>Module function returning data as required by the configuration dialog.</td> |
|
47 </tr> |
|
48 <tr> |
|
49 <td><a href="#getVcsSystemIndicator">getVcsSystemIndicator</a></td> |
|
50 <td>Public function to get the indicators for this version control system.</td> |
|
51 </tr> |
|
52 <tr> |
|
53 <td><a href="#prepareUninstall">prepareUninstall</a></td> |
|
54 <td>Module function to prepare for an uninstallation.</td> |
|
55 </tr> |
|
56 </table> |
|
57 <hr /> |
|
58 <hr /> |
|
59 <a NAME="VcsPySvnPlugin" ID="VcsPySvnPlugin"></a> |
|
60 <h2>VcsPySvnPlugin</h2> |
|
61 |
|
62 <p> |
|
63 Class implementing the PySvn version control plugin. |
|
64 </p> |
|
65 <h3>Derived from</h3> |
|
66 QObject |
|
67 <h3>Class Attributes</h3> |
|
68 |
|
69 <table> |
|
70 <tr><td>None</td></tr> |
|
71 </table> |
|
72 <h3>Class Methods</h3> |
|
73 |
|
74 <table> |
|
75 <tr><td>None</td></tr> |
|
76 </table> |
|
77 <h3>Methods</h3> |
|
78 |
|
79 <table> |
|
80 |
|
81 <tr> |
|
82 <td><a href="#VcsPySvnPlugin.__init__">VcsPySvnPlugin</a></td> |
|
83 <td>Constructor</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#VcsPySvnPlugin.activate">activate</a></td> |
|
87 <td>Public method to activate this plugin.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#VcsPySvnPlugin.deactivate">deactivate</a></td> |
|
91 <td>Public method to deactivate this plugin.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#VcsPySvnPlugin.getConfigPath">getConfigPath</a></td> |
|
95 <td>Public method to get the filename of the config file.</td> |
|
96 </tr> |
|
97 <tr> |
|
98 <td><a href="#VcsPySvnPlugin.getPreferences">getPreferences</a></td> |
|
99 <td>Public method to retrieve the various settings.</td> |
|
100 </tr> |
|
101 <tr> |
|
102 <td><a href="#VcsPySvnPlugin.getProjectHelper">getProjectHelper</a></td> |
|
103 <td>Public method to get a reference to the project helper object.</td> |
|
104 </tr> |
|
105 <tr> |
|
106 <td><a href="#VcsPySvnPlugin.getServersPath">getServersPath</a></td> |
|
107 <td>Public method to get the filename of the servers file.</td> |
|
108 </tr> |
|
109 <tr> |
|
110 <td><a href="#VcsPySvnPlugin.initToolbar">initToolbar</a></td> |
|
111 <td>Public slot to initialize the VCS toolbar.</td> |
|
112 </tr> |
|
113 <tr> |
|
114 <td><a href="#VcsPySvnPlugin.prepareUninstall">prepareUninstall</a></td> |
|
115 <td>Public method to prepare for an uninstallation.</td> |
|
116 </tr> |
|
117 <tr> |
|
118 <td><a href="#VcsPySvnPlugin.prepareUnload">prepareUnload</a></td> |
|
119 <td>Public method to prepare for an unload.</td> |
|
120 </tr> |
|
121 <tr> |
|
122 <td><a href="#VcsPySvnPlugin.setPreferences">setPreferences</a></td> |
|
123 <td>Public method to store the various settings.</td> |
|
124 </tr> |
|
125 </table> |
|
126 <h3>Static Methods</h3> |
|
127 |
|
128 <table> |
|
129 <tr><td>None</td></tr> |
|
130 </table> |
|
131 |
|
132 <a NAME="VcsPySvnPlugin.__init__" ID="VcsPySvnPlugin.__init__"></a> |
|
133 <h4>VcsPySvnPlugin (Constructor)</h4> |
|
134 <b>VcsPySvnPlugin</b>(<i>ui</i>) |
|
135 |
|
136 <p> |
|
137 Constructor |
|
138 </p> |
|
139 <dl> |
|
140 |
|
141 <dt><i>ui</i></dt> |
|
142 <dd> |
|
143 reference to the user interface object (UI.UserInterface) |
|
144 </dd> |
|
145 </dl> |
|
146 <a NAME="VcsPySvnPlugin.activate" ID="VcsPySvnPlugin.activate"></a> |
|
147 <h4>VcsPySvnPlugin.activate</h4> |
|
148 <b>activate</b>(<i></i>) |
|
149 |
|
150 <p> |
|
151 Public method to activate this plugin. |
|
152 </p> |
|
153 <dl> |
|
154 <dt>Return:</dt> |
|
155 <dd> |
|
156 tuple of reference to instantiated viewmanager and |
|
157 activation status (boolean) |
|
158 </dd> |
|
159 </dl> |
|
160 <a NAME="VcsPySvnPlugin.deactivate" ID="VcsPySvnPlugin.deactivate"></a> |
|
161 <h4>VcsPySvnPlugin.deactivate</h4> |
|
162 <b>deactivate</b>(<i></i>) |
|
163 |
|
164 <p> |
|
165 Public method to deactivate this plugin. |
|
166 </p> |
|
167 <a NAME="VcsPySvnPlugin.getConfigPath" ID="VcsPySvnPlugin.getConfigPath"></a> |
|
168 <h4>VcsPySvnPlugin.getConfigPath</h4> |
|
169 <b>getConfigPath</b>(<i></i>) |
|
170 |
|
171 <p> |
|
172 Public method to get the filename of the config file. |
|
173 </p> |
|
174 <dl> |
|
175 <dt>Return:</dt> |
|
176 <dd> |
|
177 filename of the config file (string) |
|
178 </dd> |
|
179 </dl> |
|
180 <a NAME="VcsPySvnPlugin.getPreferences" ID="VcsPySvnPlugin.getPreferences"></a> |
|
181 <h4>VcsPySvnPlugin.getPreferences</h4> |
|
182 <b>getPreferences</b>(<i>key</i>) |
|
183 |
|
184 <p> |
|
185 Public method to retrieve the various settings. |
|
186 </p> |
|
187 <dl> |
|
188 |
|
189 <dt><i>key</i></dt> |
|
190 <dd> |
|
191 the key of the value to get |
|
192 </dd> |
|
193 </dl> |
|
194 <dl> |
|
195 <dt>Return:</dt> |
|
196 <dd> |
|
197 the requested refactoring setting |
|
198 </dd> |
|
199 </dl> |
|
200 <a NAME="VcsPySvnPlugin.getProjectHelper" ID="VcsPySvnPlugin.getProjectHelper"></a> |
|
201 <h4>VcsPySvnPlugin.getProjectHelper</h4> |
|
202 <b>getProjectHelper</b>(<i></i>) |
|
203 |
|
204 <p> |
|
205 Public method to get a reference to the project helper object. |
|
206 </p> |
|
207 <dl> |
|
208 <dt>Return:</dt> |
|
209 <dd> |
|
210 reference to the project helper object |
|
211 </dd> |
|
212 </dl> |
|
213 <a NAME="VcsPySvnPlugin.getServersPath" ID="VcsPySvnPlugin.getServersPath"></a> |
|
214 <h4>VcsPySvnPlugin.getServersPath</h4> |
|
215 <b>getServersPath</b>(<i></i>) |
|
216 |
|
217 <p> |
|
218 Public method to get the filename of the servers file. |
|
219 </p> |
|
220 <dl> |
|
221 <dt>Return:</dt> |
|
222 <dd> |
|
223 filename of the servers file (string) |
|
224 </dd> |
|
225 </dl> |
|
226 <a NAME="VcsPySvnPlugin.initToolbar" ID="VcsPySvnPlugin.initToolbar"></a> |
|
227 <h4>VcsPySvnPlugin.initToolbar</h4> |
|
228 <b>initToolbar</b>(<i>ui, toolbarManager</i>) |
|
229 |
|
230 <p> |
|
231 Public slot to initialize the VCS toolbar. |
|
232 </p> |
|
233 <dl> |
|
234 |
|
235 <dt><i>ui</i></dt> |
|
236 <dd> |
|
237 reference to the main window (UserInterface) |
|
238 </dd> |
|
239 <dt><i>toolbarManager</i></dt> |
|
240 <dd> |
|
241 reference to a toolbar manager object |
|
242 (EricToolBarManager) |
|
243 </dd> |
|
244 </dl> |
|
245 <a NAME="VcsPySvnPlugin.prepareUninstall" ID="VcsPySvnPlugin.prepareUninstall"></a> |
|
246 <h4>VcsPySvnPlugin.prepareUninstall</h4> |
|
247 <b>prepareUninstall</b>(<i></i>) |
|
248 |
|
249 <p> |
|
250 Public method to prepare for an uninstallation. |
|
251 </p> |
|
252 <a NAME="VcsPySvnPlugin.prepareUnload" ID="VcsPySvnPlugin.prepareUnload"></a> |
|
253 <h4>VcsPySvnPlugin.prepareUnload</h4> |
|
254 <b>prepareUnload</b>(<i></i>) |
|
255 |
|
256 <p> |
|
257 Public method to prepare for an unload. |
|
258 </p> |
|
259 <a NAME="VcsPySvnPlugin.setPreferences" ID="VcsPySvnPlugin.setPreferences"></a> |
|
260 <h4>VcsPySvnPlugin.setPreferences</h4> |
|
261 <b>setPreferences</b>(<i>key, value</i>) |
|
262 |
|
263 <p> |
|
264 Public method to store the various settings. |
|
265 </p> |
|
266 <dl> |
|
267 |
|
268 <dt><i>key</i></dt> |
|
269 <dd> |
|
270 the key of the setting to be set |
|
271 </dd> |
|
272 <dt><i>value</i></dt> |
|
273 <dd> |
|
274 the value to be set |
|
275 </dd> |
|
276 </dl> |
|
277 <div align="right"><a href="#top">Up</a></div> |
|
278 <hr /> |
|
279 <hr /> |
|
280 <a NAME="createConfigurationPage" ID="createConfigurationPage"></a> |
|
281 <h2>createConfigurationPage</h2> |
|
282 <b>createConfigurationPage</b>(<i>configDlg</i>) |
|
283 |
|
284 <p> |
|
285 Module function to create the configuration page. |
|
286 </p> |
|
287 <dl> |
|
288 |
|
289 <dt><i>configDlg</i></dt> |
|
290 <dd> |
|
291 reference to the configuration dialog (QDialog) |
|
292 </dd> |
|
293 </dl> |
|
294 <dl> |
|
295 <dt>Return:</dt> |
|
296 <dd> |
|
297 reference to the configuration page |
|
298 </dd> |
|
299 </dl> |
|
300 <div align="right"><a href="#top">Up</a></div> |
|
301 <hr /> |
|
302 <hr /> |
|
303 <a NAME="displayString" ID="displayString"></a> |
|
304 <h2>displayString</h2> |
|
305 <b>displayString</b>(<i></i>) |
|
306 |
|
307 <p> |
|
308 Public function to get the display string. |
|
309 </p> |
|
310 <dl> |
|
311 <dt>Return:</dt> |
|
312 <dd> |
|
313 display string (string) |
|
314 </dd> |
|
315 </dl> |
|
316 <div align="right"><a href="#top">Up</a></div> |
|
317 <hr /> |
|
318 <hr /> |
|
319 <a NAME="exeDisplayData" ID="exeDisplayData"></a> |
|
320 <h2>exeDisplayData</h2> |
|
321 <b>exeDisplayData</b>(<i></i>) |
|
322 |
|
323 <p> |
|
324 Public method to support the display of some executable info. |
|
325 </p> |
|
326 <dl> |
|
327 <dt>Return:</dt> |
|
328 <dd> |
|
329 dictionary containing the data to be shown |
|
330 </dd> |
|
331 </dl> |
|
332 <div align="right"><a href="#top">Up</a></div> |
|
333 <hr /> |
|
334 <hr /> |
|
335 <a NAME="getConfigData" ID="getConfigData"></a> |
|
336 <h2>getConfigData</h2> |
|
337 <b>getConfigData</b>(<i></i>) |
|
338 |
|
339 <p> |
|
340 Module function returning data as required by the configuration dialog. |
|
341 </p> |
|
342 <dl> |
|
343 <dt>Return:</dt> |
|
344 <dd> |
|
345 dictionary with key "zzz_subversionPage" containing the relevant |
|
346 data |
|
347 </dd> |
|
348 </dl> |
|
349 <div align="right"><a href="#top">Up</a></div> |
|
350 <hr /> |
|
351 <hr /> |
|
352 <a NAME="getVcsSystemIndicator" ID="getVcsSystemIndicator"></a> |
|
353 <h2>getVcsSystemIndicator</h2> |
|
354 <b>getVcsSystemIndicator</b>(<i></i>) |
|
355 |
|
356 <p> |
|
357 Public function to get the indicators for this version control system. |
|
358 </p> |
|
359 <dl> |
|
360 <dt>Return:</dt> |
|
361 <dd> |
|
362 dictionary with indicator as key and a tuple with the vcs name |
|
363 (string) and vcs display string (string) |
|
364 </dd> |
|
365 </dl> |
|
366 <div align="right"><a href="#top">Up</a></div> |
|
367 <hr /> |
|
368 <hr /> |
|
369 <a NAME="prepareUninstall" ID="prepareUninstall"></a> |
|
370 <h2>prepareUninstall</h2> |
|
371 <b>prepareUninstall</b>(<i></i>) |
|
372 |
|
373 <p> |
|
374 Module function to prepare for an uninstallation. |
|
375 </p> |
|
376 <div align="right"><a href="#top">Up</a></div> |
|
377 <hr /> |
|
378 </body></html> |