eric6/Documentation/Source/eric6.Plugins.VcsPlugins.vcsPySvn.SvnDialogMixin.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsPySvn.SvnDialogMixin</h1> 23 <h1>eric6.Plugins.VcsPlugins.vcsPySvn.SvnDialogMixin</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog mixin class providing common callback methods for 26 Module implementing a dialog mixin class providing common callback methods for
25 the pysvn client. 27 the pysvn client.
26 </p> 28 </p>
27 <h3>Global Attributes</h3> 29 <h3>Global Attributes</h3>
30
28 <table> 31 <table>
29 <tr><td>None</td></tr> 32 <tr><td>None</td></tr>
30 </table> 33 </table>
31 <h3>Classes</h3> 34 <h3>Classes</h3>
32 <table> 35
36 <table>
37
33 <tr> 38 <tr>
34 <td><a href="#SvnDialogMixin">SvnDialogMixin</a></td> 39 <td><a href="#SvnDialogMixin">SvnDialogMixin</a></td>
35 <td>Class implementing a dialog mixin providing common callback methods for the pysvn client.</td> 40 <td>Class implementing a dialog mixin providing common callback methods for the pysvn client.</td>
36 </tr> 41 </tr>
37 </table> 42 </table>
38 <h3>Functions</h3> 43 <h3>Functions</h3>
39 <table> 44
40 <tr><td>None</td></tr> 45 <table>
41 </table> 46 <tr><td>None</td></tr>
42 <hr /><hr /> 47 </table>
48 <hr />
49 <hr />
43 <a NAME="SvnDialogMixin" ID="SvnDialogMixin"></a> 50 <a NAME="SvnDialogMixin" ID="SvnDialogMixin"></a>
44 <h2>SvnDialogMixin</h2> 51 <h2>SvnDialogMixin</h2>
52
45 <p> 53 <p>
46 Class implementing a dialog mixin providing common callback methods for 54 Class implementing a dialog mixin providing common callback methods for
47 the pysvn client. 55 the pysvn client.
48 </p> 56 </p>
49 <h3>Derived from</h3> 57 <h3>Derived from</h3>
50 object 58 object
51 <h3>Class Attributes</h3> 59 <h3>Class Attributes</h3>
60
52 <table> 61 <table>
53 <tr><td>None</td></tr> 62 <tr><td>None</td></tr>
54 </table> 63 </table>
55 <h3>Class Methods</h3> 64 <h3>Class Methods</h3>
65
56 <table> 66 <table>
57 <tr><td>None</td></tr> 67 <tr><td>None</td></tr>
58 </table> 68 </table>
59 <h3>Methods</h3> 69 <h3>Methods</h3>
60 <table> 70
71 <table>
72
61 <tr> 73 <tr>
62 <td><a href="#SvnDialogMixin.__init__">SvnDialogMixin</a></td> 74 <td><a href="#SvnDialogMixin.__init__">SvnDialogMixin</a></td>
63 <td>Constructor</td> 75 <td>Constructor</td>
64 </tr><tr> 76 </tr>
77 <tr>
65 <td><a href="#SvnDialogMixin._cancel">_cancel</a></td> 78 <td><a href="#SvnDialogMixin._cancel">_cancel</a></td>
66 <td>Protected method to request a cancellation of the current action.</td> 79 <td>Protected method to request a cancellation of the current action.</td>
67 </tr><tr> 80 </tr>
81 <tr>
68 <td><a href="#SvnDialogMixin._clientCancelCallback">_clientCancelCallback</a></td> 82 <td><a href="#SvnDialogMixin._clientCancelCallback">_clientCancelCallback</a></td>
69 <td>Protected method called by the client to check for cancellation.</td> 83 <td>Protected method called by the client to check for cancellation.</td>
70 </tr><tr> 84 </tr>
85 <tr>
71 <td><a href="#SvnDialogMixin._clientLogCallback">_clientLogCallback</a></td> 86 <td><a href="#SvnDialogMixin._clientLogCallback">_clientLogCallback</a></td>
72 <td>Protected method called by the client to request a log message.</td> 87 <td>Protected method called by the client to request a log message.</td>
73 </tr><tr> 88 </tr>
89 <tr>
74 <td><a href="#SvnDialogMixin._clientLoginCallback">_clientLoginCallback</a></td> 90 <td><a href="#SvnDialogMixin._clientLoginCallback">_clientLoginCallback</a></td>
75 <td>Protected method called by the client to get login information.</td> 91 <td>Protected method called by the client to get login information.</td>
76 </tr><tr> 92 </tr>
93 <tr>
77 <td><a href="#SvnDialogMixin._clientSslServerTrustPromptCallback">_clientSslServerTrustPromptCallback</a></td> 94 <td><a href="#SvnDialogMixin._clientSslServerTrustPromptCallback">_clientSslServerTrustPromptCallback</a></td>
78 <td>Protected method called by the client to request acceptance for a ssl server certificate.</td> 95 <td>Protected method called by the client to request acceptance for a ssl server certificate.</td>
79 </tr><tr> 96 </tr>
97 <tr>
80 <td><a href="#SvnDialogMixin._reset">_reset</a></td> 98 <td><a href="#SvnDialogMixin._reset">_reset</a></td>
81 <td>Protected method to reset the internal state of the dialog.</td> 99 <td>Protected method to reset the internal state of the dialog.</td>
82 </tr> 100 </tr>
83 </table> 101 </table>
84 <h3>Static Methods</h3> 102 <h3>Static Methods</h3>
85 <table> 103
86 <tr><td>None</td></tr> 104 <table>
87 </table> 105 <tr><td>None</td></tr>
106 </table>
107
88 <a NAME="SvnDialogMixin.__init__" ID="SvnDialogMixin.__init__"></a> 108 <a NAME="SvnDialogMixin.__init__" ID="SvnDialogMixin.__init__"></a>
89 <h4>SvnDialogMixin (Constructor)</h4> 109 <h4>SvnDialogMixin (Constructor)</h4>
90 <b>SvnDialogMixin</b>(<i>log=""</i>) 110 <b>SvnDialogMixin</b>(<i>log=""</i>)
111
91 <p> 112 <p>
92 Constructor 113 Constructor
93 </p><dl> 114 </p>
115 <dl>
116
94 <dt><i>log</i></dt> 117 <dt><i>log</i></dt>
95 <dd> 118 <dd>
96 optional log message (string) 119 optional log message (string)
97 </dd> 120 </dd>
98 </dl><a NAME="SvnDialogMixin._cancel" ID="SvnDialogMixin._cancel"></a> 121 </dl>
122 <a NAME="SvnDialogMixin._cancel" ID="SvnDialogMixin._cancel"></a>
99 <h4>SvnDialogMixin._cancel</h4> 123 <h4>SvnDialogMixin._cancel</h4>
100 <b>_cancel</b>(<i></i>) 124 <b>_cancel</b>(<i></i>)
125
101 <p> 126 <p>
102 Protected method to request a cancellation of the current action. 127 Protected method to request a cancellation of the current action.
103 </p><a NAME="SvnDialogMixin._clientCancelCallback" ID="SvnDialogMixin._clientCancelCallback"></a> 128 </p>
129 <a NAME="SvnDialogMixin._clientCancelCallback" ID="SvnDialogMixin._clientCancelCallback"></a>
104 <h4>SvnDialogMixin._clientCancelCallback</h4> 130 <h4>SvnDialogMixin._clientCancelCallback</h4>
105 <b>_clientCancelCallback</b>(<i></i>) 131 <b>_clientCancelCallback</b>(<i></i>)
132
106 <p> 133 <p>
107 Protected method called by the client to check for cancellation. 134 Protected method called by the client to check for cancellation.
108 </p><dl> 135 </p>
136 <dl>
109 <dt>Returns:</dt> 137 <dt>Returns:</dt>
110 <dd> 138 <dd>
111 flag indicating a cancellation 139 flag indicating a cancellation
112 </dd> 140 </dd>
113 </dl><a NAME="SvnDialogMixin._clientLogCallback" ID="SvnDialogMixin._clientLogCallback"></a> 141 </dl>
142 <a NAME="SvnDialogMixin._clientLogCallback" ID="SvnDialogMixin._clientLogCallback"></a>
114 <h4>SvnDialogMixin._clientLogCallback</h4> 143 <h4>SvnDialogMixin._clientLogCallback</h4>
115 <b>_clientLogCallback</b>(<i></i>) 144 <b>_clientLogCallback</b>(<i></i>)
145
116 <p> 146 <p>
117 Protected method called by the client to request a log message. 147 Protected method called by the client to request a log message.
118 </p><dl> 148 </p>
149 <dl>
119 <dt>Returns:</dt> 150 <dt>Returns:</dt>
120 <dd> 151 <dd>
121 a flag indicating success and the log message (string) 152 a flag indicating success and the log message (string)
122 </dd> 153 </dd>
123 </dl><a NAME="SvnDialogMixin._clientLoginCallback" ID="SvnDialogMixin._clientLoginCallback"></a> 154 </dl>
155 <a NAME="SvnDialogMixin._clientLoginCallback" ID="SvnDialogMixin._clientLoginCallback"></a>
124 <h4>SvnDialogMixin._clientLoginCallback</h4> 156 <h4>SvnDialogMixin._clientLoginCallback</h4>
125 <b>_clientLoginCallback</b>(<i>realm, username, may_save</i>) 157 <b>_clientLoginCallback</b>(<i>realm, username, may_save</i>)
158
126 <p> 159 <p>
127 Protected method called by the client to get login information. 160 Protected method called by the client to get login information.
128 </p><dl> 161 </p>
162 <dl>
163
129 <dt><i>realm</i></dt> 164 <dt><i>realm</i></dt>
130 <dd> 165 <dd>
131 name of the realm of the requested credentials (string) 166 name of the realm of the requested credentials (string)
132 </dd><dt><i>username</i></dt> 167 </dd>
168 <dt><i>username</i></dt>
133 <dd> 169 <dd>
134 username as supplied by subversion (string) 170 username as supplied by subversion (string)
135 </dd><dt><i>may_save</i></dt> 171 </dd>
172 <dt><i>may_save</i></dt>
136 <dd> 173 <dd>
137 flag indicating, that subversion is willing to save 174 flag indicating, that subversion is willing to save
138 the answers returned (boolean) 175 the answers returned (boolean)
139 </dd> 176 </dd>
140 </dl><dl> 177 </dl>
178 <dl>
141 <dt>Returns:</dt> 179 <dt>Returns:</dt>
142 <dd> 180 <dd>
143 tuple of four values (retcode, username, password, save). 181 tuple of four values (retcode, username, password, save).
144 Retcode should be True, if username and password should be used 182 Retcode should be True, if username and password should be used
145 by subversion, username and password contain the relevant data 183 by subversion, username and password contain the relevant data
146 as strings and save is a flag indicating, that username and 184 as strings and save is a flag indicating, that username and
147 password should be saved. 185 password should be saved.
148 </dd> 186 </dd>
149 </dl><a NAME="SvnDialogMixin._clientSslServerTrustPromptCallback" ID="SvnDialogMixin._clientSslServerTrustPromptCallback"></a> 187 </dl>
188 <a NAME="SvnDialogMixin._clientSslServerTrustPromptCallback" ID="SvnDialogMixin._clientSslServerTrustPromptCallback"></a>
150 <h4>SvnDialogMixin._clientSslServerTrustPromptCallback</h4> 189 <h4>SvnDialogMixin._clientSslServerTrustPromptCallback</h4>
151 <b>_clientSslServerTrustPromptCallback</b>(<i>trust_dict</i>) 190 <b>_clientSslServerTrustPromptCallback</b>(<i>trust_dict</i>)
191
152 <p> 192 <p>
153 Protected method called by the client to request acceptance for a 193 Protected method called by the client to request acceptance for a
154 ssl server certificate. 194 ssl server certificate.
155 </p><dl> 195 </p>
196 <dl>
197
156 <dt><i>trust_dict</i></dt> 198 <dt><i>trust_dict</i></dt>
157 <dd> 199 <dd>
158 dictionary containing the trust data 200 dictionary containing the trust data
159 </dd> 201 </dd>
160 </dl><dl> 202 </dl>
203 <dl>
161 <dt>Returns:</dt> 204 <dt>Returns:</dt>
162 <dd> 205 <dd>
163 tuple of three values (retcode, acceptedFailures, save). 206 tuple of three values (retcode, acceptedFailures, save).
164 Retcode should be true, if the certificate should be accepted, 207 Retcode should be true, if the certificate should be accepted,
165 acceptedFailures should indicate the accepted certificate failures 208 acceptedFailures should indicate the accepted certificate failures
166 and save should be True, if subversion should save the certificate. 209 and save should be True, if subversion should save the certificate.
167 </dd> 210 </dd>
168 </dl><a NAME="SvnDialogMixin._reset" ID="SvnDialogMixin._reset"></a> 211 </dl>
212 <a NAME="SvnDialogMixin._reset" ID="SvnDialogMixin._reset"></a>
169 <h4>SvnDialogMixin._reset</h4> 213 <h4>SvnDialogMixin._reset</h4>
170 <b>_reset</b>(<i></i>) 214 <b>_reset</b>(<i></i>)
215
171 <p> 216 <p>
172 Protected method to reset the internal state of the dialog. 217 Protected method to reset the internal state of the dialog.
173 </p> 218 </p>
174 <div align="right"><a href="#top">Up</a></div> 219 <div align="right"><a href="#top">Up</a></div>
175 <hr /> 220 <hr />

eric ide

mercurial