eric6/Documentation/Source/eric6.Plugins.PluginVcsPySvn.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7204
cbf6d88004ce
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
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.initToolbar">initToolbar</a></td>
100 <td>Public slot to initialize the VCS toolbar.</td>
101 </tr><tr>
102 <td><a href="#VcsPySvnPlugin.prepareUninstall">prepareUninstall</a></td>
103 <td>Public method to prepare for an uninstallation.</td>
104 </tr><tr>
105 <td><a href="#VcsPySvnPlugin.prepareUnload">prepareUnload</a></td>
106 <td>Public method to prepare for an unload.</td>
107 </tr><tr>
108 <td><a href="#VcsPySvnPlugin.setPreferences">setPreferences</a></td>
109 <td>Public method to store the various settings.</td>
110 </tr>
111 </table>
112 <h3>Static Methods</h3>
113 <table>
114 <tr><td>None</td></tr>
115 </table>
116 <a NAME="VcsPySvnPlugin.__init__" ID="VcsPySvnPlugin.__init__"></a>
117 <h4>VcsPySvnPlugin (Constructor)</h4>
118 <b>VcsPySvnPlugin</b>(<i>ui</i>)
119 <p>
120 Constructor
121 </p><dl>
122 <dt><i>ui</i></dt>
123 <dd>
124 reference to the user interface object (UI.UserInterface)
125 </dd>
126 </dl><a NAME="VcsPySvnPlugin.activate" ID="VcsPySvnPlugin.activate"></a>
127 <h4>VcsPySvnPlugin.activate</h4>
128 <b>activate</b>(<i></i>)
129 <p>
130 Public method to activate this plugin.
131 </p><dl>
132 <dt>Returns:</dt>
133 <dd>
134 tuple of reference to instantiated viewmanager and
135 activation status (boolean)
136 </dd>
137 </dl><a NAME="VcsPySvnPlugin.deactivate" ID="VcsPySvnPlugin.deactivate"></a>
138 <h4>VcsPySvnPlugin.deactivate</h4>
139 <b>deactivate</b>(<i></i>)
140 <p>
141 Public method to deactivate this plugin.
142 </p><a NAME="VcsPySvnPlugin.getConfigPath" ID="VcsPySvnPlugin.getConfigPath"></a>
143 <h4>VcsPySvnPlugin.getConfigPath</h4>
144 <b>getConfigPath</b>(<i></i>)
145 <p>
146 Public method to get the filename of the config file.
147 </p><dl>
148 <dt>Returns:</dt>
149 <dd>
150 filename of the config file (string)
151 </dd>
152 </dl><a NAME="VcsPySvnPlugin.getPreferences" ID="VcsPySvnPlugin.getPreferences"></a>
153 <h4>VcsPySvnPlugin.getPreferences</h4>
154 <b>getPreferences</b>(<i>key</i>)
155 <p>
156 Public method to retrieve the various settings.
157 </p><dl>
158 <dt><i>key</i></dt>
159 <dd>
160 the key of the value to get
161 </dd>
162 </dl><dl>
163 <dt>Returns:</dt>
164 <dd>
165 the requested refactoring setting
166 </dd>
167 </dl><a NAME="VcsPySvnPlugin.getProjectHelper" ID="VcsPySvnPlugin.getProjectHelper"></a>
168 <h4>VcsPySvnPlugin.getProjectHelper</h4>
169 <b>getProjectHelper</b>(<i></i>)
170 <p>
171 Public method to get a reference to the project helper object.
172 </p><dl>
173 <dt>Returns:</dt>
174 <dd>
175 reference to the project helper object
176 </dd>
177 </dl><a NAME="VcsPySvnPlugin.getServersPath" ID="VcsPySvnPlugin.getServersPath"></a>
178 <h4>VcsPySvnPlugin.getServersPath</h4>
179 <b>getServersPath</b>(<i></i>)
180 <p>
181 Public method to get the filename of the servers file.
182 </p><dl>
183 <dt>Returns:</dt>
184 <dd>
185 filename of the servers file (string)
186 </dd>
187 </dl><a NAME="VcsPySvnPlugin.initToolbar" ID="VcsPySvnPlugin.initToolbar"></a>
188 <h4>VcsPySvnPlugin.initToolbar</h4>
189 <b>initToolbar</b>(<i>ui, toolbarManager</i>)
190 <p>
191 Public slot to initialize the VCS toolbar.
192 </p><dl>
193 <dt><i>ui</i></dt>
194 <dd>
195 reference to the main window (UserInterface)
196 </dd><dt><i>toolbarManager</i></dt>
197 <dd>
198 reference to a toolbar manager object
199 (E5ToolBarManager)
200 </dd>
201 </dl><a NAME="VcsPySvnPlugin.prepareUninstall" ID="VcsPySvnPlugin.prepareUninstall"></a>
202 <h4>VcsPySvnPlugin.prepareUninstall</h4>
203 <b>prepareUninstall</b>(<i></i>)
204 <p>
205 Public method to prepare for an uninstallation.
206 </p><a NAME="VcsPySvnPlugin.prepareUnload" ID="VcsPySvnPlugin.prepareUnload"></a>
207 <h4>VcsPySvnPlugin.prepareUnload</h4>
208 <b>prepareUnload</b>(<i></i>)
209 <p>
210 Public method to prepare for an unload.
211 </p><a NAME="VcsPySvnPlugin.setPreferences" ID="VcsPySvnPlugin.setPreferences"></a>
212 <h4>VcsPySvnPlugin.setPreferences</h4>
213 <b>setPreferences</b>(<i>key, value</i>)
214 <p>
215 Public method to store the various settings.
216 </p><dl>
217 <dt><i>key</i></dt>
218 <dd>
219 the key of the setting to be set
220 </dd><dt><i>value</i></dt>
221 <dd>
222 the value to be set
223 </dd>
224 </dl>
225 <div align="right"><a href="#top">Up</a></div>
226 <hr /><hr />
227 <a NAME="createConfigurationPage" ID="createConfigurationPage"></a>
228 <h2>createConfigurationPage</h2>
229 <b>createConfigurationPage</b>(<i>configDlg</i>)
230 <p>
231 Module function to create the configuration page.
232 </p><dl>
233 <dt><i>configDlg</i></dt>
234 <dd>
235 reference to the configuration dialog (QDialog)
236 </dd>
237 </dl><dl>
238 <dt>Returns:</dt>
239 <dd>
240 reference to the configuration page
241 </dd>
242 </dl>
243 <div align="right"><a href="#top">Up</a></div>
244 <hr /><hr />
245 <a NAME="displayString" ID="displayString"></a>
246 <h2>displayString</h2>
247 <b>displayString</b>(<i></i>)
248 <p>
249 Public function to get the display string.
250 </p><dl>
251 <dt>Returns:</dt>
252 <dd>
253 display string (string)
254 </dd>
255 </dl>
256 <div align="right"><a href="#top">Up</a></div>
257 <hr /><hr />
258 <a NAME="exeDisplayData" ID="exeDisplayData"></a>
259 <h2>exeDisplayData</h2>
260 <b>exeDisplayData</b>(<i></i>)
261 <p>
262 Public method to support the display of some executable info.
263 </p><dl>
264 <dt>Returns:</dt>
265 <dd>
266 dictionary containing the data to be shown
267 </dd>
268 </dl>
269 <div align="right"><a href="#top">Up</a></div>
270 <hr /><hr />
271 <a NAME="getConfigData" ID="getConfigData"></a>
272 <h2>getConfigData</h2>
273 <b>getConfigData</b>(<i></i>)
274 <p>
275 Module function returning data as required by the configuration dialog.
276 </p><dl>
277 <dt>Returns:</dt>
278 <dd>
279 dictionary with key "zzz_subversionPage" containing the relevant
280 data
281 </dd>
282 </dl>
283 <div align="right"><a href="#top">Up</a></div>
284 <hr /><hr />
285 <a NAME="getVcsSystemIndicator" ID="getVcsSystemIndicator"></a>
286 <h2>getVcsSystemIndicator</h2>
287 <b>getVcsSystemIndicator</b>(<i></i>)
288 <p>
289 Public function to get the indicators for this version control system.
290 </p><dl>
291 <dt>Returns:</dt>
292 <dd>
293 dictionary with indicator as key and a tuple with the vcs name
294 (string) and vcs display string (string)
295 </dd>
296 </dl>
297 <div align="right"><a href="#top">Up</a></div>
298 <hr /><hr />
299 <a NAME="prepareUninstall" ID="prepareUninstall"></a>
300 <h2>prepareUninstall</h2>
301 <b>prepareUninstall</b>(<i></i>)
302 <p>
303 Module function to prepare for an uninstallation.
304 </p>
305 <div align="right"><a href="#top">Up</a></div>
306 <hr />
307 </body></html>

eric ide

mercurial