|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.PluginVcsPySvn</title> |
|
4 <meta charset="UTF-8"> |
|
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>eric6.Plugins.PluginVcsPySvn</h1> |
|
23 <p> |
|
24 Module implementing the PySvn version control plugin. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <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>python2Compatible</td></tr><tr><td>shortDescription</td></tr><tr><td>subversionCfgPluginObject</td></tr><tr><td>version</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#VcsPySvnPlugin">VcsPySvnPlugin</a></td> |
|
34 <td>Class implementing the PySvn version control plugin.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr> |
|
40 <td><a href="#createConfigurationPage">createConfigurationPage</a></td> |
|
41 <td>Module function to create the configuration page.</td> |
|
42 </tr><tr> |
|
43 <td><a href="#displayString">displayString</a></td> |
|
44 <td>Public function to get the display string.</td> |
|
45 </tr><tr> |
|
46 <td><a href="#exeDisplayData">exeDisplayData</a></td> |
|
47 <td>Public method to support the display of some executable info.</td> |
|
48 </tr><tr> |
|
49 <td><a href="#getConfigData">getConfigData</a></td> |
|
50 <td>Module function returning data as required by the configuration dialog.</td> |
|
51 </tr><tr> |
|
52 <td><a href="#getVcsSystemIndicator">getVcsSystemIndicator</a></td> |
|
53 <td>Public function to get the indicators for this version control system.</td> |
|
54 </tr><tr> |
|
55 <td><a href="#prepareUninstall">prepareUninstall</a></td> |
|
56 <td>Module function to prepare for an uninstallation.</td> |
|
57 </tr> |
|
58 </table> |
|
59 <hr /><hr /> |
|
60 <a NAME="VcsPySvnPlugin" ID="VcsPySvnPlugin"></a> |
|
61 <h2>VcsPySvnPlugin</h2> |
|
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 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <h3>Class Methods</h3> |
|
72 <table> |
|
73 <tr><td>None</td></tr> |
|
74 </table> |
|
75 <h3>Methods</h3> |
|
76 <table> |
|
77 <tr> |
|
78 <td><a href="#VcsPySvnPlugin.__init__">VcsPySvnPlugin</a></td> |
|
79 <td>Constructor</td> |
|
80 </tr><tr> |
|
81 <td><a href="#VcsPySvnPlugin.activate">activate</a></td> |
|
82 <td>Public method to activate this plugin.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#VcsPySvnPlugin.deactivate">deactivate</a></td> |
|
85 <td>Public method to deactivate this plugin.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#VcsPySvnPlugin.getConfigPath">getConfigPath</a></td> |
|
88 <td>Public method to get the filename of the config file.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#VcsPySvnPlugin.getPreferences">getPreferences</a></td> |
|
91 <td>Public method to retrieve the various settings.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#VcsPySvnPlugin.getProjectHelper">getProjectHelper</a></td> |
|
94 <td>Public method to get a reference to the project helper object.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#VcsPySvnPlugin.getServersPath">getServersPath</a></td> |
|
97 <td>Public method to get the filename of the servers file.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#VcsPySvnPlugin.prepareUninstall">prepareUninstall</a></td> |
|
100 <td>Public method to prepare for an uninstallation.</td> |
|
101 </tr><tr> |
|
102 <td><a href="#VcsPySvnPlugin.setPreferences">setPreferences</a></td> |
|
103 <td>Public method to store the various settings.</td> |
|
104 </tr> |
|
105 </table> |
|
106 <h3>Static Methods</h3> |
|
107 <table> |
|
108 <tr><td>None</td></tr> |
|
109 </table> |
|
110 <a NAME="VcsPySvnPlugin.__init__" ID="VcsPySvnPlugin.__init__"></a> |
|
111 <h4>VcsPySvnPlugin (Constructor)</h4> |
|
112 <b>VcsPySvnPlugin</b>(<i>ui</i>) |
|
113 <p> |
|
114 Constructor |
|
115 </p><dl> |
|
116 <dt><i>ui</i></dt> |
|
117 <dd> |
|
118 reference to the user interface object (UI.UserInterface) |
|
119 </dd> |
|
120 </dl><a NAME="VcsPySvnPlugin.activate" ID="VcsPySvnPlugin.activate"></a> |
|
121 <h4>VcsPySvnPlugin.activate</h4> |
|
122 <b>activate</b>(<i></i>) |
|
123 <p> |
|
124 Public method to activate this plugin. |
|
125 </p><dl> |
|
126 <dt>Returns:</dt> |
|
127 <dd> |
|
128 tuple of reference to instantiated viewmanager and |
|
129 activation status (boolean) |
|
130 </dd> |
|
131 </dl><a NAME="VcsPySvnPlugin.deactivate" ID="VcsPySvnPlugin.deactivate"></a> |
|
132 <h4>VcsPySvnPlugin.deactivate</h4> |
|
133 <b>deactivate</b>(<i></i>) |
|
134 <p> |
|
135 Public method to deactivate this plugin. |
|
136 </p><a NAME="VcsPySvnPlugin.getConfigPath" ID="VcsPySvnPlugin.getConfigPath"></a> |
|
137 <h4>VcsPySvnPlugin.getConfigPath</h4> |
|
138 <b>getConfigPath</b>(<i></i>) |
|
139 <p> |
|
140 Public method to get the filename of the config file. |
|
141 </p><dl> |
|
142 <dt>Returns:</dt> |
|
143 <dd> |
|
144 filename of the config file (string) |
|
145 </dd> |
|
146 </dl><a NAME="VcsPySvnPlugin.getPreferences" ID="VcsPySvnPlugin.getPreferences"></a> |
|
147 <h4>VcsPySvnPlugin.getPreferences</h4> |
|
148 <b>getPreferences</b>(<i>key</i>) |
|
149 <p> |
|
150 Public method to retrieve the various settings. |
|
151 </p><dl> |
|
152 <dt><i>key</i></dt> |
|
153 <dd> |
|
154 the key of the value to get |
|
155 </dd> |
|
156 </dl><dl> |
|
157 <dt>Returns:</dt> |
|
158 <dd> |
|
159 the requested refactoring setting |
|
160 </dd> |
|
161 </dl><a NAME="VcsPySvnPlugin.getProjectHelper" ID="VcsPySvnPlugin.getProjectHelper"></a> |
|
162 <h4>VcsPySvnPlugin.getProjectHelper</h4> |
|
163 <b>getProjectHelper</b>(<i></i>) |
|
164 <p> |
|
165 Public method to get a reference to the project helper object. |
|
166 </p><dl> |
|
167 <dt>Returns:</dt> |
|
168 <dd> |
|
169 reference to the project helper object |
|
170 </dd> |
|
171 </dl><a NAME="VcsPySvnPlugin.getServersPath" ID="VcsPySvnPlugin.getServersPath"></a> |
|
172 <h4>VcsPySvnPlugin.getServersPath</h4> |
|
173 <b>getServersPath</b>(<i></i>) |
|
174 <p> |
|
175 Public method to get the filename of the servers file. |
|
176 </p><dl> |
|
177 <dt>Returns:</dt> |
|
178 <dd> |
|
179 filename of the servers file (string) |
|
180 </dd> |
|
181 </dl><a NAME="VcsPySvnPlugin.prepareUninstall" ID="VcsPySvnPlugin.prepareUninstall"></a> |
|
182 <h4>VcsPySvnPlugin.prepareUninstall</h4> |
|
183 <b>prepareUninstall</b>(<i></i>) |
|
184 <p> |
|
185 Public method to prepare for an uninstallation. |
|
186 </p><a NAME="VcsPySvnPlugin.setPreferences" ID="VcsPySvnPlugin.setPreferences"></a> |
|
187 <h4>VcsPySvnPlugin.setPreferences</h4> |
|
188 <b>setPreferences</b>(<i>key, value</i>) |
|
189 <p> |
|
190 Public method to store the various settings. |
|
191 </p><dl> |
|
192 <dt><i>key</i></dt> |
|
193 <dd> |
|
194 the key of the setting to be set |
|
195 </dd><dt><i>value</i></dt> |
|
196 <dd> |
|
197 the value to be set |
|
198 </dd> |
|
199 </dl> |
|
200 <div align="right"><a href="#top">Up</a></div> |
|
201 <hr /><hr /> |
|
202 <a NAME="createConfigurationPage" ID="createConfigurationPage"></a> |
|
203 <h2>createConfigurationPage</h2> |
|
204 <b>createConfigurationPage</b>(<i>configDlg</i>) |
|
205 <p> |
|
206 Module function to create the configuration page. |
|
207 </p><dl> |
|
208 <dt><i>configDlg</i></dt> |
|
209 <dd> |
|
210 reference to the configuration dialog (QDialog) |
|
211 </dd> |
|
212 </dl><dl> |
|
213 <dt>Returns:</dt> |
|
214 <dd> |
|
215 reference to the configuration page |
|
216 </dd> |
|
217 </dl> |
|
218 <div align="right"><a href="#top">Up</a></div> |
|
219 <hr /><hr /> |
|
220 <a NAME="displayString" ID="displayString"></a> |
|
221 <h2>displayString</h2> |
|
222 <b>displayString</b>(<i></i>) |
|
223 <p> |
|
224 Public function to get the display string. |
|
225 </p><dl> |
|
226 <dt>Returns:</dt> |
|
227 <dd> |
|
228 display string (string) |
|
229 </dd> |
|
230 </dl> |
|
231 <div align="right"><a href="#top">Up</a></div> |
|
232 <hr /><hr /> |
|
233 <a NAME="exeDisplayData" ID="exeDisplayData"></a> |
|
234 <h2>exeDisplayData</h2> |
|
235 <b>exeDisplayData</b>(<i></i>) |
|
236 <p> |
|
237 Public method to support the display of some executable info. |
|
238 </p><dl> |
|
239 <dt>Returns:</dt> |
|
240 <dd> |
|
241 dictionary containing the data to be shown |
|
242 </dd> |
|
243 </dl> |
|
244 <div align="right"><a href="#top">Up</a></div> |
|
245 <hr /><hr /> |
|
246 <a NAME="getConfigData" ID="getConfigData"></a> |
|
247 <h2>getConfigData</h2> |
|
248 <b>getConfigData</b>(<i></i>) |
|
249 <p> |
|
250 Module function returning data as required by the configuration dialog. |
|
251 </p><dl> |
|
252 <dt>Returns:</dt> |
|
253 <dd> |
|
254 dictionary with key "zzz_subversionPage" containing the relevant |
|
255 data |
|
256 </dd> |
|
257 </dl> |
|
258 <div align="right"><a href="#top">Up</a></div> |
|
259 <hr /><hr /> |
|
260 <a NAME="getVcsSystemIndicator" ID="getVcsSystemIndicator"></a> |
|
261 <h2>getVcsSystemIndicator</h2> |
|
262 <b>getVcsSystemIndicator</b>(<i></i>) |
|
263 <p> |
|
264 Public function to get the indicators for this version control system. |
|
265 </p><dl> |
|
266 <dt>Returns:</dt> |
|
267 <dd> |
|
268 dictionary with indicator as key and a tuple with the vcs name |
|
269 (string) and vcs display string (string) |
|
270 </dd> |
|
271 </dl> |
|
272 <div align="right"><a href="#top">Up</a></div> |
|
273 <hr /><hr /> |
|
274 <a NAME="prepareUninstall" ID="prepareUninstall"></a> |
|
275 <h2>prepareUninstall</h2> |
|
276 <b>prepareUninstall</b>(<i></i>) |
|
277 <p> |
|
278 Module function to prepare for an uninstallation. |
|
279 </p> |
|
280 <div align="right"><a href="#top">Up</a></div> |
|
281 <hr /> |
|
282 </body></html> |