Documentation/Source/eric6.Plugins.PluginVcsSubversion.html

changeset 3673
e26d7d0c1088
child 4115
0c70a8f8d54a
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.PluginVcsSubversion</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.PluginVcsSubversion</h1>
23 <p>
24 Module implementing the Subversion 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="#VcsSubversionPlugin">VcsSubversionPlugin</a></td>
34 <td>Class implementing the Subversion 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="VcsSubversionPlugin" ID="VcsSubversionPlugin"></a>
61 <h2>VcsSubversionPlugin</h2>
62 <p>
63 Class implementing the Subversion 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="#VcsSubversionPlugin.__init__">VcsSubversionPlugin</a></td>
79 <td>Constructor</td>
80 </tr><tr>
81 <td><a href="#VcsSubversionPlugin.activate">activate</a></td>
82 <td>Public method to activate this plugin.</td>
83 </tr><tr>
84 <td><a href="#VcsSubversionPlugin.deactivate">deactivate</a></td>
85 <td>Public method to deactivate this plugin.</td>
86 </tr><tr>
87 <td><a href="#VcsSubversionPlugin.getConfigPath">getConfigPath</a></td>
88 <td>Public method to get the filename of the config file.</td>
89 </tr><tr>
90 <td><a href="#VcsSubversionPlugin.getPreferences">getPreferences</a></td>
91 <td>Public method to retrieve the various settings.</td>
92 </tr><tr>
93 <td><a href="#VcsSubversionPlugin.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="#VcsSubversionPlugin.getServersPath">getServersPath</a></td>
97 <td>Public method to get the filename of the servers file.</td>
98 </tr><tr>
99 <td><a href="#VcsSubversionPlugin.prepareUninstall">prepareUninstall</a></td>
100 <td>Public method to prepare for an uninstallation.</td>
101 </tr><tr>
102 <td><a href="#VcsSubversionPlugin.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="VcsSubversionPlugin.__init__" ID="VcsSubversionPlugin.__init__"></a>
111 <h4>VcsSubversionPlugin (Constructor)</h4>
112 <b>VcsSubversionPlugin</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="VcsSubversionPlugin.activate" ID="VcsSubversionPlugin.activate"></a>
121 <h4>VcsSubversionPlugin.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="VcsSubversionPlugin.deactivate" ID="VcsSubversionPlugin.deactivate"></a>
132 <h4>VcsSubversionPlugin.deactivate</h4>
133 <b>deactivate</b>(<i></i>)
134 <p>
135 Public method to deactivate this plugin.
136 </p><a NAME="VcsSubversionPlugin.getConfigPath" ID="VcsSubversionPlugin.getConfigPath"></a>
137 <h4>VcsSubversionPlugin.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="VcsSubversionPlugin.getPreferences" ID="VcsSubversionPlugin.getPreferences"></a>
147 <h4>VcsSubversionPlugin.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 setting
160 </dd>
161 </dl><a NAME="VcsSubversionPlugin.getProjectHelper" ID="VcsSubversionPlugin.getProjectHelper"></a>
162 <h4>VcsSubversionPlugin.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="VcsSubversionPlugin.getServersPath" ID="VcsSubversionPlugin.getServersPath"></a>
172 <h4>VcsSubversionPlugin.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="VcsSubversionPlugin.prepareUninstall" ID="VcsSubversionPlugin.prepareUninstall"></a>
182 <h4>VcsSubversionPlugin.prepareUninstall</h4>
183 <b>prepareUninstall</b>(<i></i>)
184 <p>
185 Public method to prepare for an uninstallation.
186 </p><a NAME="VcsSubversionPlugin.setPreferences" ID="VcsSubversionPlugin.setPreferences"></a>
187 <h4>VcsSubversionPlugin.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 query the presence of
242 the executable
243 </dd>
244 </dl>
245 <div align="right"><a href="#top">Up</a></div>
246 <hr /><hr />
247 <a NAME="getConfigData" ID="getConfigData"></a>
248 <h2>getConfigData</h2>
249 <b>getConfigData</b>(<i></i>)
250 <p>
251 Module function returning data as required by the configuration dialog.
252 </p><dl>
253 <dt>Returns:</dt>
254 <dd>
255 dictionary with key "zzz_subversionPage" containing the relevant
256 data
257 </dd>
258 </dl>
259 <div align="right"><a href="#top">Up</a></div>
260 <hr /><hr />
261 <a NAME="getVcsSystemIndicator" ID="getVcsSystemIndicator"></a>
262 <h2>getVcsSystemIndicator</h2>
263 <b>getVcsSystemIndicator</b>(<i></i>)
264 <p>
265 Public function to get the indicators for this version control system.
266 </p><dl>
267 <dt>Returns:</dt>
268 <dd>
269 dictionary with indicator as key and a tuple with the vcs name
270 (string) and vcs display string (string)
271 </dd>
272 </dl>
273 <div align="right"><a href="#top">Up</a></div>
274 <hr /><hr />
275 <a NAME="prepareUninstall" ID="prepareUninstall"></a>
276 <h2>prepareUninstall</h2>
277 <b>prepareUninstall</b>(<i></i>)
278 <p>
279 Module function to prepare for an uninstallation.
280 </p>
281 <div align="right"><a href="#top">Up</a></div>
282 <hr />
283 </body></html>

eric ide

mercurial