|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.PluginWizardEricPlugin</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.PluginWizardEricPlugin</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the eric plug-in wizard plug-in. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <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>needsRestart</td></tr><tr><td>packageName</td></tr><tr><td>pyqtApi</td></tr><tr><td>shortDescription</td></tr><tr><td>version</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#WizardEricPluginWizard">WizardEricPluginWizard</a></td> |
|
39 <td>Class implementing the eric plug-in wizard plug-in.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="WizardEricPluginWizard" ID="WizardEricPluginWizard"></a> |
|
50 <h2>WizardEricPluginWizard</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the eric plug-in wizard plug-in. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QObject |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#WizardEricPluginWizard.__init__">WizardEricPluginWizard</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#WizardEricPluginWizard.__callForm">__callForm</a></td> |
|
77 <td>Private method to display a dialog and get the code.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#WizardEricPluginWizard.__handle">__handle</a></td> |
|
81 <td>Private method to handle the wizards action.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#WizardEricPluginWizard.__initAction">__initAction</a></td> |
|
85 <td>Private method to initialize the action.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#WizardEricPluginWizard.__initMenu">__initMenu</a></td> |
|
89 <td>Private method to add the actions to the right menu.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#WizardEricPluginWizard.__initialize">__initialize</a></td> |
|
93 <td>Private slot to (re)initialize the plug-in.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#WizardEricPluginWizard.activate">activate</a></td> |
|
97 <td>Public method to activate this plug-in.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#WizardEricPluginWizard.deactivate">deactivate</a></td> |
|
101 <td>Public method to deactivate this plug-in.</td> |
|
102 </tr> |
|
103 </table> |
|
104 <h3>Static Methods</h3> |
|
105 |
|
106 <table> |
|
107 <tr><td>None</td></tr> |
|
108 </table> |
|
109 |
|
110 <a NAME="WizardEricPluginWizard.__init__" ID="WizardEricPluginWizard.__init__"></a> |
|
111 <h4>WizardEricPluginWizard (Constructor)</h4> |
|
112 <b>WizardEricPluginWizard</b>(<i>ui</i>) |
|
113 |
|
114 <p> |
|
115 Constructor |
|
116 </p> |
|
117 <dl> |
|
118 |
|
119 <dt><i>ui</i></dt> |
|
120 <dd> |
|
121 reference to the user interface object (UI.UserInterface) |
|
122 </dd> |
|
123 </dl> |
|
124 <a NAME="WizardEricPluginWizard.__callForm" ID="WizardEricPluginWizard.__callForm"></a> |
|
125 <h4>WizardEricPluginWizard.__callForm</h4> |
|
126 <b>__callForm</b>(<i>editor</i>) |
|
127 |
|
128 <p> |
|
129 Private method to display a dialog and get the code. |
|
130 </p> |
|
131 <dl> |
|
132 |
|
133 <dt><i>editor</i></dt> |
|
134 <dd> |
|
135 reference to the current editor |
|
136 </dd> |
|
137 </dl> |
|
138 <dl> |
|
139 <dt>Return:</dt> |
|
140 <dd> |
|
141 generated code (string), the plug-in package name (string) |
|
142 and a flag indicating success (boolean) |
|
143 </dd> |
|
144 </dl> |
|
145 <a NAME="WizardEricPluginWizard.__handle" ID="WizardEricPluginWizard.__handle"></a> |
|
146 <h4>WizardEricPluginWizard.__handle</h4> |
|
147 <b>__handle</b>(<i></i>) |
|
148 |
|
149 <p> |
|
150 Private method to handle the wizards action. |
|
151 </p> |
|
152 <a NAME="WizardEricPluginWizard.__initAction" ID="WizardEricPluginWizard.__initAction"></a> |
|
153 <h4>WizardEricPluginWizard.__initAction</h4> |
|
154 <b>__initAction</b>(<i></i>) |
|
155 |
|
156 <p> |
|
157 Private method to initialize the action. |
|
158 </p> |
|
159 <a NAME="WizardEricPluginWizard.__initMenu" ID="WizardEricPluginWizard.__initMenu"></a> |
|
160 <h4>WizardEricPluginWizard.__initMenu</h4> |
|
161 <b>__initMenu</b>(<i></i>) |
|
162 |
|
163 <p> |
|
164 Private method to add the actions to the right menu. |
|
165 </p> |
|
166 <a NAME="WizardEricPluginWizard.__initialize" ID="WizardEricPluginWizard.__initialize"></a> |
|
167 <h4>WizardEricPluginWizard.__initialize</h4> |
|
168 <b>__initialize</b>(<i></i>) |
|
169 |
|
170 <p> |
|
171 Private slot to (re)initialize the plug-in. |
|
172 </p> |
|
173 <a NAME="WizardEricPluginWizard.activate" ID="WizardEricPluginWizard.activate"></a> |
|
174 <h4>WizardEricPluginWizard.activate</h4> |
|
175 <b>activate</b>(<i></i>) |
|
176 |
|
177 <p> |
|
178 Public method to activate this plug-in. |
|
179 </p> |
|
180 <dl> |
|
181 <dt>Return:</dt> |
|
182 <dd> |
|
183 tuple of None and activation status (boolean) |
|
184 </dd> |
|
185 </dl> |
|
186 <a NAME="WizardEricPluginWizard.deactivate" ID="WizardEricPluginWizard.deactivate"></a> |
|
187 <h4>WizardEricPluginWizard.deactivate</h4> |
|
188 <b>deactivate</b>(<i></i>) |
|
189 |
|
190 <p> |
|
191 Public method to deactivate this plug-in. |
|
192 </p> |
|
193 <div align="right"><a href="#top">Up</a></div> |
|
194 <hr /> |
|
195 </body></html> |