158 <p> |
158 <p> |
159 Constructor |
159 Constructor |
160 </p> |
160 </p> |
161 <dl> |
161 <dl> |
162 |
162 |
163 <dt><i>ui</i></dt> |
163 <dt><i>ui</i> (UserInterface)</dt> |
164 <dd> |
164 <dd> |
165 reference to the user interface object (UI.UserInterface) |
165 reference to the user interface object |
166 </dd> |
166 </dd> |
167 </dl> |
167 </dl> |
168 <a NAME="ProjectDjangoPlugin.__initialize" ID="ProjectDjangoPlugin.__initialize"></a> |
168 <a NAME="ProjectDjangoPlugin.__initialize" ID="ProjectDjangoPlugin.__initialize"></a> |
169 <h4>ProjectDjangoPlugin.__initialize</h4> |
169 <h4>ProjectDjangoPlugin.__initialize</h4> |
170 <b>__initialize</b>(<i></i>) |
170 <b>__initialize</b>(<i></i>) |
208 Public method to activate this plugin. |
208 Public method to activate this plugin. |
209 </p> |
209 </p> |
210 <dl> |
210 <dl> |
211 <dt>Return:</dt> |
211 <dt>Return:</dt> |
212 <dd> |
212 <dd> |
213 tuple of None and activation status (boolean) |
213 tuple of None and activation status |
|
214 </dd> |
|
215 </dl> |
|
216 <dl> |
|
217 <dt>Return Type:</dt> |
|
218 <dd> |
|
219 bool |
214 </dd> |
220 </dd> |
215 </dl> |
221 </dl> |
216 <a NAME="ProjectDjangoPlugin.binaryTranslationsCallback" ID="ProjectDjangoPlugin.binaryTranslationsCallback"></a> |
222 <a NAME="ProjectDjangoPlugin.binaryTranslationsCallback" ID="ProjectDjangoPlugin.binaryTranslationsCallback"></a> |
217 <h4>ProjectDjangoPlugin.binaryTranslationsCallback</h4> |
223 <h4>ProjectDjangoPlugin.binaryTranslationsCallback</h4> |
218 <b>binaryTranslationsCallback</b>(<i>filename</i>) |
224 <b>binaryTranslationsCallback</b>(<i>filename</i>) |
221 Public method to determine the filename of a compiled translation file |
227 Public method to determine the filename of a compiled translation file |
222 given the translation source file. |
228 given the translation source file. |
223 </p> |
229 </p> |
224 <dl> |
230 <dl> |
225 |
231 |
226 <dt><i>filename</i></dt> |
232 <dt><i>filename</i> (str)</dt> |
227 <dd> |
233 <dd> |
228 name of the translation source file (string) |
234 name of the translation source file |
229 </dd> |
235 </dd> |
230 </dl> |
236 </dl> |
231 <dl> |
237 <dl> |
232 <dt>Return:</dt> |
238 <dt>Return:</dt> |
233 <dd> |
239 <dd> |
234 name of the binary translation file (string) |
240 name of the binary translation file |
|
241 </dd> |
|
242 </dl> |
|
243 <dl> |
|
244 <dt>Return Type:</dt> |
|
245 <dd> |
|
246 str |
235 </dd> |
247 </dd> |
236 </dl> |
248 </dl> |
237 <a NAME="ProjectDjangoPlugin.deactivate" ID="ProjectDjangoPlugin.deactivate"></a> |
249 <a NAME="ProjectDjangoPlugin.deactivate" ID="ProjectDjangoPlugin.deactivate"></a> |
238 <h4>ProjectDjangoPlugin.deactivate</h4> |
250 <h4>ProjectDjangoPlugin.deactivate</h4> |
239 <b>deactivate</b>(<i></i>) |
251 <b>deactivate</b>(<i></i>) |
295 <p> |
313 <p> |
296 Public method to retrieve the various settings. |
314 Public method to retrieve the various settings. |
297 </p> |
315 </p> |
298 <dl> |
316 <dl> |
299 |
317 |
300 <dt><i>key</i></dt> |
318 <dt><i>key</i> (str)</dt> |
301 <dd> |
319 <dd> |
302 the key of the value to get |
320 the key of the value to get |
303 </dd> |
321 </dd> |
304 </dl> |
322 </dl> |
305 <dl> |
323 <dl> |
306 <dt>Return:</dt> |
324 <dt>Return:</dt> |
307 <dd> |
325 <dd> |
308 the requested setting |
326 value of the requested setting |
|
327 </dd> |
|
328 </dl> |
|
329 <dl> |
|
330 <dt>Return Type:</dt> |
|
331 <dd> |
|
332 Any |
309 </dd> |
333 </dd> |
310 </dl> |
334 </dl> |
311 <a NAME="ProjectDjangoPlugin.lexerAssociationCallback" ID="ProjectDjangoPlugin.lexerAssociationCallback"></a> |
335 <a NAME="ProjectDjangoPlugin.lexerAssociationCallback" ID="ProjectDjangoPlugin.lexerAssociationCallback"></a> |
312 <h4>ProjectDjangoPlugin.lexerAssociationCallback</h4> |
336 <h4>ProjectDjangoPlugin.lexerAssociationCallback</h4> |
313 <b>lexerAssociationCallback</b>(<i>filename</i>) |
337 <b>lexerAssociationCallback</b>(<i>filename</i>) |
316 Public method to get the lexer association of the Django project type |
340 Public method to get the lexer association of the Django project type |
317 for a file. |
341 for a file. |
318 </p> |
342 </p> |
319 <dl> |
343 <dl> |
320 |
344 |
321 <dt><i>filename</i></dt> |
345 <dt><i>filename</i> (str)</dt> |
322 <dd> |
346 <dd> |
323 name of the file (string) |
347 name of the file |
324 </dd> |
348 </dd> |
325 </dl> |
349 </dl> |
326 <dl> |
350 <dl> |
327 <dt>Return:</dt> |
351 <dt>Return:</dt> |
328 <dd> |
352 <dd> |
329 name of the lexer (string) (Pygments lexers are prefixed with |
353 name of the lexer (Pygments lexers are prefixed with |
330 'Pygments|') |
354 'Pygments|') |
|
355 </dd> |
|
356 </dl> |
|
357 <dl> |
|
358 <dt>Return Type:</dt> |
|
359 <dd> |
|
360 str |
331 </dd> |
361 </dd> |
332 </dl> |
362 </dl> |
333 <a NAME="ProjectDjangoPlugin.setPreferences" ID="ProjectDjangoPlugin.setPreferences"></a> |
363 <a NAME="ProjectDjangoPlugin.setPreferences" ID="ProjectDjangoPlugin.setPreferences"></a> |
334 <h4>ProjectDjangoPlugin.setPreferences</h4> |
364 <h4>ProjectDjangoPlugin.setPreferences</h4> |
335 <b>setPreferences</b>(<i>key, value</i>) |
365 <b>setPreferences</b>(<i>key, value</i>) |
358 <p> |
388 <p> |
359 Module function to return the API files made available by this plugin. |
389 Module function to return the API files made available by this plugin. |
360 </p> |
390 </p> |
361 <dl> |
391 <dl> |
362 |
392 |
363 <dt><i>language</i></dt> |
393 <dt><i>language</i> (str)</dt> |
364 <dd> |
394 <dd> |
365 language to get APIs for (string) |
395 language to get APIs for |
366 </dd> |
396 </dd> |
367 </dl> |
397 </dl> |
368 <dl> |
398 <dl> |
369 <dt>Return:</dt> |
399 <dt>Return:</dt> |
370 <dd> |
400 <dd> |
371 list of API filenames (list of string) |
401 list of API filenames |
|
402 </dd> |
|
403 </dl> |
|
404 <dl> |
|
405 <dt>Return Type:</dt> |
|
406 <dd> |
|
407 list of str |
372 </dd> |
408 </dd> |
373 </dl> |
409 </dl> |
374 <div align="right"><a href="#top">Up</a></div> |
410 <div align="right"><a href="#top">Up</a></div> |
375 <hr /> |
411 <hr /> |
376 <hr /> |
412 <hr /> |
381 <p> |
417 <p> |
382 Module function to create the Django configuration page. |
418 Module function to create the Django configuration page. |
383 </p> |
419 </p> |
384 <dl> |
420 <dl> |
385 |
421 |
386 <dt><i>configDlg</i></dt> |
422 <dt><i>configDlg</i> (ConfigurationWidget)</dt> |
387 <dd> |
423 <dd> |
388 reference to the configuration dialog |
424 reference to the configuration dialog |
389 </dd> |
425 </dd> |
390 </dl> |
426 </dl> |
391 <dl> |
427 <dl> |
392 <dt>Return:</dt> |
428 <dt>Return:</dt> |
393 <dd> |
429 <dd> |
394 reference to the configuration page |
430 reference to the configuration page |
|
431 </dd> |
|
432 </dl> |
|
433 <dl> |
|
434 <dt>Return Type:</dt> |
|
435 <dd> |
|
436 DjangoPage |
395 </dd> |
437 </dd> |
396 </dl> |
438 </dl> |
397 <div align="right"><a href="#top">Up</a></div> |
439 <div align="right"><a href="#top">Up</a></div> |
398 <hr /> |
440 <hr /> |
399 <hr /> |
441 <hr /> |