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