|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.PluginEricapi</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.PluginEricapi</h1> |
|
23 <p> |
|
24 Module implementing the Ericapi 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>pyqtApi</td></tr><tr><td>python2Compatible</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#EricapiPlugin">EricapiPlugin</a></td> |
|
34 <td>Class implementing the Ericapi plugin.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr> |
|
40 <td><a href="#exeDisplayData">exeDisplayData</a></td> |
|
41 <td>Public method to support the display of some executable info.</td> |
|
42 </tr> |
|
43 </table> |
|
44 <hr /><hr /> |
|
45 <a NAME="EricapiPlugin" ID="EricapiPlugin"></a> |
|
46 <h2>EricapiPlugin</h2> |
|
47 <p> |
|
48 Class implementing the Ericapi plugin. |
|
49 </p> |
|
50 <h3>Derived from</h3> |
|
51 QObject |
|
52 <h3>Class Attributes</h3> |
|
53 <table> |
|
54 <tr><td>None</td></tr> |
|
55 </table> |
|
56 <h3>Class Methods</h3> |
|
57 <table> |
|
58 <tr><td>None</td></tr> |
|
59 </table> |
|
60 <h3>Methods</h3> |
|
61 <table> |
|
62 <tr> |
|
63 <td><a href="#EricapiPlugin.__init__">EricapiPlugin</a></td> |
|
64 <td>Constructor</td> |
|
65 </tr><tr> |
|
66 <td><a href="#EricapiPlugin.__doEricapi">__doEricapi</a></td> |
|
67 <td>Private slot to perform the eric6_api api generation.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#EricapiPlugin.__initialize">__initialize</a></td> |
|
70 <td>Private slot to (re)initialize the plugin.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#EricapiPlugin.__projectShowMenu">__projectShowMenu</a></td> |
|
73 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#EricapiPlugin.activate">activate</a></td> |
|
76 <td>Public method to activate this plugin.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#EricapiPlugin.deactivate">deactivate</a></td> |
|
79 <td>Public method to deactivate this plugin.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 <table> |
|
84 <tr><td>None</td></tr> |
|
85 </table> |
|
86 <a NAME="EricapiPlugin.__init__" ID="EricapiPlugin.__init__"></a> |
|
87 <h4>EricapiPlugin (Constructor)</h4> |
|
88 <b>EricapiPlugin</b>(<i>ui</i>) |
|
89 <p> |
|
90 Constructor |
|
91 </p><dl> |
|
92 <dt><i>ui</i></dt> |
|
93 <dd> |
|
94 reference to the user interface object (UI.UserInterface) |
|
95 </dd> |
|
96 </dl><a NAME="EricapiPlugin.__doEricapi" ID="EricapiPlugin.__doEricapi"></a> |
|
97 <h4>EricapiPlugin.__doEricapi</h4> |
|
98 <b>__doEricapi</b>(<i></i>) |
|
99 <p> |
|
100 Private slot to perform the eric6_api api generation. |
|
101 </p><a NAME="EricapiPlugin.__initialize" ID="EricapiPlugin.__initialize"></a> |
|
102 <h4>EricapiPlugin.__initialize</h4> |
|
103 <b>__initialize</b>(<i></i>) |
|
104 <p> |
|
105 Private slot to (re)initialize the plugin. |
|
106 </p><a NAME="EricapiPlugin.__projectShowMenu" ID="EricapiPlugin.__projectShowMenu"></a> |
|
107 <h4>EricapiPlugin.__projectShowMenu</h4> |
|
108 <b>__projectShowMenu</b>(<i>menuName, menu</i>) |
|
109 <p> |
|
110 Private slot called, when the the project menu or a submenu is |
|
111 about to be shown. |
|
112 </p><dl> |
|
113 <dt><i>menuName</i></dt> |
|
114 <dd> |
|
115 name of the menu to be shown (string) |
|
116 </dd><dt><i>menu</i></dt> |
|
117 <dd> |
|
118 reference to the menu (QMenu) |
|
119 </dd> |
|
120 </dl><a NAME="EricapiPlugin.activate" ID="EricapiPlugin.activate"></a> |
|
121 <h4>EricapiPlugin.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 None and activation status (boolean) |
|
129 </dd> |
|
130 </dl><a NAME="EricapiPlugin.deactivate" ID="EricapiPlugin.deactivate"></a> |
|
131 <h4>EricapiPlugin.deactivate</h4> |
|
132 <b>deactivate</b>(<i></i>) |
|
133 <p> |
|
134 Public method to deactivate this plugin. |
|
135 </p> |
|
136 <div align="right"><a href="#top">Up</a></div> |
|
137 <hr /><hr /> |
|
138 <a NAME="exeDisplayData" ID="exeDisplayData"></a> |
|
139 <h2>exeDisplayData</h2> |
|
140 <b>exeDisplayData</b>(<i></i>) |
|
141 <p> |
|
142 Public method to support the display of some executable info. |
|
143 </p><dl> |
|
144 <dt>Returns:</dt> |
|
145 <dd> |
|
146 dictionary containing the data to query the presence of |
|
147 the executable |
|
148 </dd> |
|
149 </dl> |
|
150 <div align="right"><a href="#top">Up</a></div> |
|
151 <hr /> |
|
152 </body></html> |