src/eric7/Documentation/Source/eric7.PluginManager.PluginManager.html

branch
eric7
changeset 9303
91f61f6e3ffb
parent 9209
b99e7fd55fd3
child 10070
9f5758c0fec1
equal deleted inserted replaced
9302:93f057ae133f 9303:91f61f6e3ffb
501 <p> 501 <p>
502 Public method to activate a plugin. 502 Public method to activate a plugin.
503 </p> 503 </p>
504 <dl> 504 <dl>
505 505
506 <dt><i>name</i></dt> 506 <dt><i>name</i> (str)</dt>
507 <dd> 507 <dd>
508 name of the module to be activated 508 name of the module to be activated
509 </dd> 509 </dd>
510 <dt><i>onDemand</i></dt> 510 <dt><i>onDemand</i> (bool)</dt>
511 <dd> 511 <dd>
512 flag indicating activation of an 512 flag indicating activation of an
513 on demand plugin (boolean) 513 on demand plugin
514 </dd> 514 </dd>
515 </dl> 515 </dl>
516 <dl> 516 <dl>
517 <dt>Return:</dt> 517 <dt>Return:</dt>
518 <dd> 518 <dd>
519 reference to the initialized plugin object 519 reference to the initialized plugin object and an error string
520 </dd>
521 </dl>
522 <dl>
523 <dt>Return Type:</dt>
524 <dd>
525 tuple of (QObject, str)
520 </dd> 526 </dd>
521 </dl> 527 </dl>
522 <dl> 528 <dl>
523 529
524 <dt>Raises <b>PluginActivationError</b>:</dt> 530 <dt>Raises <b>PluginActivationError</b>:</dt>
871 Public method to activate an ondemand plugin given by type and 877 Public method to activate an ondemand plugin given by type and
872 typename. 878 typename.
873 </p> 879 </p>
874 <dl> 880 <dl>
875 881
876 <dt><i>type_</i></dt> 882 <dt><i>type_</i> (str)</dt>
877 <dd> 883 <dd>
878 type of the plugin to be activated (string) 884 type of the plugin to be activated
879 </dd> 885 </dd>
880 <dt><i>typename</i></dt> 886 <dt><i>typename</i> (str)</dt>
881 <dd> 887 <dd>
882 name of the plugin within the type category (string) 888 name of the plugin within the type category
883 </dd> 889 </dd>
884 <dt><i>maybeActive</i></dt> 890 <dt><i>maybeActive</i> (bool)</dt>
885 <dd> 891 <dd>
886 flag indicating, that the plugin may be active 892 flag indicating, that the plugin may be active
887 already (boolean) 893 already
888 </dd> 894 </dd>
889 </dl> 895 </dl>
890 <dl> 896 <dl>
891 <dt>Return:</dt> 897 <dt>Return:</dt>
892 <dd> 898 <dd>
893 reference to the initialized plugin object 899 reference to the initialized plugin object and an error string
900 </dd>
901 </dl>
902 <dl>
903 <dt>Return Type:</dt>
904 <dd>
905 tuple of (QObject, str)
894 </dd> 906 </dd>
895 </dl> 907 </dl>
896 <a NAME="PluginManager.getPluginPreviewPixmap" ID="PluginManager.getPluginPreviewPixmap"></a> 908 <a NAME="PluginManager.getPluginPreviewPixmap" ID="PluginManager.getPluginPreviewPixmap"></a>
897 <h4>PluginManager.getPluginPreviewPixmap</h4> 909 <h4>PluginManager.getPluginPreviewPixmap</h4>
898 <b>getPluginPreviewPixmap</b>(<i>type_, name</i>) 910 <b>getPluginPreviewPixmap</b>(<i>type_, name</i>)

eric ide

mercurial