|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.PluginEricapi</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.PluginEricapi</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the Ericapi plugin. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <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>shortDescription</td></tr><tr><td>version</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#EricapiPlugin">EricapiPlugin</a></td> |
|
25 <td>Class implementing the Ericapi plugin.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 |
|
32 <tr> |
|
33 <td><a href="#exeDisplayData">exeDisplayData</a></td> |
|
34 <td>Public method to support the display of some executable info.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <hr /> |
|
38 <hr /> |
|
39 <a NAME="EricapiPlugin" ID="EricapiPlugin"></a> |
|
40 <h2>EricapiPlugin</h2> |
|
41 |
|
42 <p> |
|
43 Class implementing the Ericapi plugin. |
|
44 </p> |
|
45 <h3>Derived from</h3> |
|
46 QObject |
|
47 <h3>Class Attributes</h3> |
|
48 |
|
49 <table> |
|
50 <tr><td>None</td></tr> |
|
51 </table> |
|
52 <h3>Class Methods</h3> |
|
53 |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 |
|
59 <table> |
|
60 |
|
61 <tr> |
|
62 <td><a href="#EricapiPlugin.__init__">EricapiPlugin</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#EricapiPlugin.__doEricapi">__doEricapi</a></td> |
|
67 <td>Private slot to perform the eric7_api api generation.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#EricapiPlugin.__initialize">__initialize</a></td> |
|
71 <td>Private slot to (re)initialize the plugin.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#EricapiPlugin.__projectShowMenu">__projectShowMenu</a></td> |
|
75 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#EricapiPlugin.activate">activate</a></td> |
|
79 <td>Public method to activate this plugin.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#EricapiPlugin.deactivate">deactivate</a></td> |
|
83 <td>Public method to deactivate this plugin.</td> |
|
84 </tr> |
|
85 </table> |
|
86 <h3>Static Methods</h3> |
|
87 |
|
88 <table> |
|
89 <tr><td>None</td></tr> |
|
90 </table> |
|
91 |
|
92 <a NAME="EricapiPlugin.__init__" ID="EricapiPlugin.__init__"></a> |
|
93 <h4>EricapiPlugin (Constructor)</h4> |
|
94 <b>EricapiPlugin</b>(<i>ui</i>) |
|
95 |
|
96 <p> |
|
97 Constructor |
|
98 </p> |
|
99 <dl> |
|
100 |
|
101 <dt><i>ui</i></dt> |
|
102 <dd> |
|
103 reference to the user interface object (UI.UserInterface) |
|
104 </dd> |
|
105 </dl> |
|
106 <a NAME="EricapiPlugin.__doEricapi" ID="EricapiPlugin.__doEricapi"></a> |
|
107 <h4>EricapiPlugin.__doEricapi</h4> |
|
108 <b>__doEricapi</b>(<i></i>) |
|
109 |
|
110 <p> |
|
111 Private slot to perform the eric7_api api generation. |
|
112 </p> |
|
113 <a NAME="EricapiPlugin.__initialize" ID="EricapiPlugin.__initialize"></a> |
|
114 <h4>EricapiPlugin.__initialize</h4> |
|
115 <b>__initialize</b>(<i></i>) |
|
116 |
|
117 <p> |
|
118 Private slot to (re)initialize the plugin. |
|
119 </p> |
|
120 <a NAME="EricapiPlugin.__projectShowMenu" ID="EricapiPlugin.__projectShowMenu"></a> |
|
121 <h4>EricapiPlugin.__projectShowMenu</h4> |
|
122 <b>__projectShowMenu</b>(<i>menuName, menu</i>) |
|
123 |
|
124 <p> |
|
125 Private slot called, when the the project menu or a submenu is |
|
126 about to be shown. |
|
127 </p> |
|
128 <dl> |
|
129 |
|
130 <dt><i>menuName</i></dt> |
|
131 <dd> |
|
132 name of the menu to be shown (string) |
|
133 </dd> |
|
134 <dt><i>menu</i></dt> |
|
135 <dd> |
|
136 reference to the menu (QMenu) |
|
137 </dd> |
|
138 </dl> |
|
139 <a NAME="EricapiPlugin.activate" ID="EricapiPlugin.activate"></a> |
|
140 <h4>EricapiPlugin.activate</h4> |
|
141 <b>activate</b>(<i></i>) |
|
142 |
|
143 <p> |
|
144 Public method to activate this plugin. |
|
145 </p> |
|
146 <dl> |
|
147 <dt>Return:</dt> |
|
148 <dd> |
|
149 tuple of None and activation status (boolean) |
|
150 </dd> |
|
151 </dl> |
|
152 <a NAME="EricapiPlugin.deactivate" ID="EricapiPlugin.deactivate"></a> |
|
153 <h4>EricapiPlugin.deactivate</h4> |
|
154 <b>deactivate</b>(<i></i>) |
|
155 |
|
156 <p> |
|
157 Public method to deactivate this plugin. |
|
158 </p> |
|
159 <div align="right"><a href="#top">Up</a></div> |
|
160 <hr /> |
|
161 <hr /> |
|
162 <a NAME="exeDisplayData" ID="exeDisplayData"></a> |
|
163 <h2>exeDisplayData</h2> |
|
164 <b>exeDisplayData</b>(<i></i>) |
|
165 |
|
166 <p> |
|
167 Public method to support the display of some executable info. |
|
168 </p> |
|
169 <dl> |
|
170 <dt>Return:</dt> |
|
171 <dd> |
|
172 dictionary containing the data to query the presence of |
|
173 the executable |
|
174 </dd> |
|
175 </dl> |
|
176 <div align="right"><a href="#top">Up</a></div> |
|
177 <hr /> |
|
178 </body></html> |