|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <?eclipse version="3.2"?> |
|
3 <plugin> |
|
4 <!-- ************* PREFERENCE PAGES ************** --> |
|
5 <extension |
|
6 point="org.eclipse.ui.preferencePages"> |
|
7 <page |
|
8 name="Preprocess" |
|
9 category="com.nokia.carbide.cpp.project.ui.preferences.CarbidePreferencePage" |
|
10 class="com.nokia.carbide.cpp.internal.builder.utils.ui.PreprocessPreferencePage" |
|
11 id="com.nokia.carbide.cpp.builder.utils.ui.PreprocessPreferencePage"> |
|
12 </page> |
|
13 </extension> |
|
14 |
|
15 <extension |
|
16 point="org.eclipse.core.runtime.preferences"> |
|
17 <initializer |
|
18 class="com.nokia.carbide.cpp.internal.builder.utils.ui.BuilderUtilsPreferenceInitializer"> |
|
19 </initializer> |
|
20 </extension> |
|
21 |
|
22 <!-- ************* PROPERTY TESTERS ************** --> |
|
23 <extension |
|
24 point="org.eclipse.core.expressions.propertyTesters"> |
|
25 <propertyTester |
|
26 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.BuilderUtilsPropertyTester" |
|
27 id="com.nokia.carbide.cpp.builder.utils.propertyTester" |
|
28 namespace="com.nokia.carbide.cpp.builder.utils" |
|
29 properties="canCompile,canPreprocess,isComponent,isProject,isPKGFile,canABLD" |
|
30 type="org.eclipse.jface.viewers.ISelection"> |
|
31 </propertyTester> |
|
32 </extension> |
|
33 |
|
34 <!-- ************* EXPRESSIONS ************** --> |
|
35 <extension point="org.eclipse.core.expressions.definitions"> |
|
36 <definition id="com.nokia.carbide.cpp.builder.utils.definition.canCompile"> |
|
37 <and> |
|
38 <count value="+"/> |
|
39 <with variable="selection"> |
|
40 <test |
|
41 property="com.nokia.carbide.cpp.builder.utils.canCompile" |
|
42 forcePluginActivation="true"> |
|
43 </test> |
|
44 </with> |
|
45 </and> |
|
46 </definition> |
|
47 <definition id="com.nokia.carbide.cpp.builder.utils.definition.canPreprocess"> |
|
48 <and> |
|
49 <count value="1"/> |
|
50 <with variable="selection"> |
|
51 <test |
|
52 property="com.nokia.carbide.cpp.builder.utils.canPreprocess" |
|
53 forcePluginActivation="true"> |
|
54 </test> |
|
55 </with> |
|
56 </and> |
|
57 </definition> |
|
58 <definition id="com.nokia.carbide.cpp.builder.utils.definition.isComponent"> |
|
59 <and> |
|
60 <count value="+"/> |
|
61 <with variable="selection"> |
|
62 <test |
|
63 property="com.nokia.carbide.cpp.builder.utils.isComponent" |
|
64 forcePluginActivation="true"> |
|
65 </test> |
|
66 </with> |
|
67 </and> |
|
68 </definition> |
|
69 <definition id="com.nokia.carbide.cpp.builder.utils.definition.isProject"> |
|
70 <and> |
|
71 <count value="+"/> |
|
72 <with variable="selection"> |
|
73 <test |
|
74 property="com.nokia.carbide.cpp.builder.utils.isProject" |
|
75 forcePluginActivation="true"> |
|
76 </test> |
|
77 </with> |
|
78 </and> |
|
79 </definition> |
|
80 <definition id="com.nokia.carbide.cpp.builder.utils.definition.isPKGFile"> |
|
81 <and> |
|
82 <count value="+"/> |
|
83 <with variable="selection"> |
|
84 <test |
|
85 property="com.nokia.carbide.cpp.builder.utils.isPKGFile" |
|
86 forcePluginActivation="true"> |
|
87 </test> |
|
88 </with> |
|
89 </and> |
|
90 </definition> |
|
91 <definition id="com.nokia.carbide.cpp.builder.utils.definition.canABLD"> |
|
92 <and> |
|
93 <count value="+"/> |
|
94 <with variable="selection"> |
|
95 <test |
|
96 property="com.nokia.carbide.cpp.builder.utils.canABLD" |
|
97 forcePluginActivation="true"> |
|
98 </test> |
|
99 </with> |
|
100 </and> |
|
101 </definition> |
|
102 </extension> |
|
103 |
|
104 <!-- ************* COMMANDS ************** --> |
|
105 <extension point="org.eclipse.ui.commands"> |
|
106 <command |
|
107 id="com.nokia.carbide.cpp.builder.utils.commands.compileSource" |
|
108 categoryId="org.eclipse.ui.category.file" |
|
109 name="%BuilderUtils.Compile_Source" |
|
110 description="%BuilderUtils.Compile_Source"> |
|
111 </command> |
|
112 <command |
|
113 id="com.nokia.carbide.cpp.builder.utils.preprocessSource" |
|
114 categoryId="org.eclipse.ui.category.file" |
|
115 name="%BuilderUtils.Preprocess" |
|
116 description="%BuilderUtils.Preprocess"> |
|
117 </command> |
|
118 <command |
|
119 id="com.nokia.carbide.cpp.builder.utils.commands.buildSymbianComponent" |
|
120 categoryId="org.eclipse.ui.category.file" |
|
121 name="%BuilderUtils.Build_Symbian_Component" |
|
122 description="%BuilderUtils.Build_Symbian_Component"> |
|
123 </command> |
|
124 <command |
|
125 id="com.nokia.carbide.cpp.builder.utils.commands.cleanSymbianComponent" |
|
126 categoryId="org.eclipse.ui.category.file" |
|
127 name="%BuilderUtils.Clean_Symbian_Component" |
|
128 description="%BuilderUtils.Clean_Symbian_Component"> |
|
129 </command> |
|
130 <command |
|
131 id="com.nokia.carbide.cpp.builder.utils.commands.freezeSymbianComponent" |
|
132 categoryId="org.eclipse.ui.category.file" |
|
133 name="%BuilderUtils.Freeze_Symbian_Component" |
|
134 description="%BuilderUtils.Freeze_Symbian_Component"> |
|
135 </command> |
|
136 <command |
|
137 id="com.nokia.carbide.cpp.builder.utils.commands.buildAllConfigs" |
|
138 categoryId="org.eclipse.ui.category.project" |
|
139 name="%BuilderUtils.Build_All_Targets" |
|
140 description="%BuilderUtils.Build_All_Targets"> |
|
141 </command> |
|
142 <command |
|
143 id="com.nokia.carbide.cpp.builder.utils.commands.freezeExports" |
|
144 categoryId="org.eclipse.ui.category.project" |
|
145 name="%BuilderUtils.Freeze_Exports" |
|
146 description="%BuilderUtils.Freeze_Exports_ToolTip"> |
|
147 </command> |
|
148 <command |
|
149 id="com.nokia.carbide.cpp.builder.utils.commands.buildPKG" |
|
150 categoryId="org.eclipse.ui.category.file" |
|
151 name="%BuilderUtils.Build_PKG" |
|
152 description="%BuilderUtils.Build_PKG_ToolTip"> |
|
153 </command> |
|
154 <command |
|
155 id="com.nokia.carbide.cpp.builder.utils.commands.abldTarget" |
|
156 categoryId="org.eclipse.ui.category.project" |
|
157 name="%BuilderUtils.Target" |
|
158 description="%BuilderUtils.Target"> |
|
159 </command> |
|
160 <command |
|
161 id="com.nokia.carbide.cpp.builder.utils.commands.abldExport" |
|
162 categoryId="org.eclipse.ui.category.project" |
|
163 name="%BuilderUtils.Export" |
|
164 description="%BuilderUtils.Export"> |
|
165 </command> |
|
166 <command |
|
167 id="com.nokia.carbide.cpp.builder.utils.commands.abldCleanExport" |
|
168 categoryId="org.eclipse.ui.category.project" |
|
169 name="%BuilderUtils.CleanExport" |
|
170 description="%BuilderUtils.CleanExport"> |
|
171 </command> |
|
172 <command |
|
173 id="com.nokia.carbide.cpp.builder.utils.commands.abldResource" |
|
174 categoryId="org.eclipse.ui.category.project" |
|
175 name="%BuilderUtils.Resource" |
|
176 description="%BuilderUtils.Resource"> |
|
177 </command> |
|
178 <command |
|
179 id="com.nokia.carbide.cpp.builder.utils.commands.abldFinal" |
|
180 categoryId="org.eclipse.ui.category.project" |
|
181 name="%BuilderUtils.Final" |
|
182 description="%BuilderUtils.Final"> |
|
183 </command> |
|
184 <command |
|
185 id="com.nokia.carbide.cpp.builder.utils.commands.abldTidy" |
|
186 categoryId="org.eclipse.ui.category.project" |
|
187 name="%BuilderUtils.Tidy" |
|
188 description="%BuilderUtils.Tidy"> |
|
189 </command> |
|
190 <command |
|
191 id="com.nokia.carbide.cpp.builder.utils.commands.abldTestTarget" |
|
192 categoryId="org.eclipse.ui.category.project" |
|
193 name="%BuilderUtils.TestTarget" |
|
194 description="%BuilderUtils.TestTarget"> |
|
195 </command> |
|
196 <command |
|
197 id="com.nokia.carbide.cpp.builder.utils.commands.abldTestExport" |
|
198 categoryId="org.eclipse.ui.category.project" |
|
199 name="%BuilderUtils.TestExport" |
|
200 description="%BuilderUtils.TestExport"> |
|
201 </command> |
|
202 <command |
|
203 id="com.nokia.carbide.cpp.builder.utils.commands.abldTestCleanExport" |
|
204 categoryId="org.eclipse.ui.category.project" |
|
205 name="%BuilderUtils.TestCleanExport" |
|
206 description="%BuilderUtils.TestCleanExport"> |
|
207 </command> |
|
208 <command |
|
209 id="com.nokia.carbide.cpp.builder.utils.commands.abldTestResource" |
|
210 categoryId="org.eclipse.ui.category.project" |
|
211 name="%BuilderUtils.TestResource" |
|
212 description="%BuilderUtils.TestResource"> |
|
213 </command> |
|
214 <command |
|
215 id="com.nokia.carbide.cpp.builder.utils.commands.abldTestFinal" |
|
216 categoryId="org.eclipse.ui.category.project" |
|
217 name="%BuilderUtils.TestFinal" |
|
218 description="%BuilderUtils.TestFinal"> |
|
219 </command> |
|
220 <command |
|
221 id="com.nokia.carbide.cpp.builder.utils.commands.abldTestTidy" |
|
222 categoryId="org.eclipse.ui.category.project" |
|
223 name="%BuilderUtils.TestTidy" |
|
224 description="%BuilderUtils.TestTidy"> |
|
225 </command> |
|
226 </extension> |
|
227 |
|
228 <!-- ************* HANDLERS ************** --> |
|
229 <extension point="org.eclipse.ui.handlers"> |
|
230 <handler |
|
231 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.CompileHandler" |
|
232 commandId="com.nokia.carbide.cpp.builder.utils.commands.compileSource"> |
|
233 <activeWhen> |
|
234 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canCompile"/> |
|
235 </activeWhen> |
|
236 </handler> |
|
237 <handler |
|
238 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.PreprocessHandler" |
|
239 commandId="com.nokia.carbide.cpp.builder.utils.preprocessSource"> |
|
240 <activeWhen> |
|
241 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canPreprocess"/> |
|
242 </activeWhen> |
|
243 </handler> |
|
244 <handler |
|
245 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ComponentCommandHandler" |
|
246 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildSymbianComponent"> |
|
247 <activeWhen> |
|
248 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
|
249 </activeWhen> |
|
250 </handler> |
|
251 <handler |
|
252 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ComponentCommandHandler" |
|
253 commandId="com.nokia.carbide.cpp.builder.utils.commands.cleanSymbianComponent"> |
|
254 <activeWhen> |
|
255 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
|
256 </activeWhen> |
|
257 </handler> |
|
258 <handler |
|
259 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ComponentCommandHandler" |
|
260 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeSymbianComponent"> |
|
261 <activeWhen> |
|
262 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
|
263 </activeWhen> |
|
264 </handler> |
|
265 <handler |
|
266 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ProjectCommandHandler" |
|
267 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildAllConfigs"> |
|
268 <activeWhen> |
|
269 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
|
270 </activeWhen> |
|
271 </handler> |
|
272 <handler |
|
273 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ProjectCommandHandler" |
|
274 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeExports"> |
|
275 <activeWhen> |
|
276 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
|
277 </activeWhen> |
|
278 </handler> |
|
279 <handler |
|
280 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.BuildPKGCommandHandler" |
|
281 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildPKG"> |
|
282 <activeWhen> |
|
283 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isPKGFile"/> |
|
284 </activeWhen> |
|
285 </handler> |
|
286 <handler |
|
287 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
288 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTarget"> |
|
289 <activeWhen> |
|
290 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
291 </activeWhen> |
|
292 </handler> |
|
293 <handler |
|
294 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
295 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldExport"> |
|
296 <activeWhen> |
|
297 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
298 </activeWhen> |
|
299 </handler> |
|
300 <handler |
|
301 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
302 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldCleanExport"> |
|
303 <activeWhen> |
|
304 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
305 </activeWhen> |
|
306 </handler> |
|
307 <handler |
|
308 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
309 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldResource"> |
|
310 <activeWhen> |
|
311 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
312 </activeWhen> |
|
313 </handler> |
|
314 <handler |
|
315 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
316 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldFinal"> |
|
317 <activeWhen> |
|
318 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
319 </activeWhen> |
|
320 </handler> |
|
321 <handler |
|
322 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
323 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTidy"> |
|
324 <activeWhen> |
|
325 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
326 </activeWhen> |
|
327 </handler> |
|
328 <handler |
|
329 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
330 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestTarget"> |
|
331 <activeWhen> |
|
332 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
333 </activeWhen> |
|
334 </handler> |
|
335 <handler |
|
336 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
337 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestExport"> |
|
338 <activeWhen> |
|
339 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
340 </activeWhen> |
|
341 </handler> |
|
342 <handler |
|
343 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
344 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestCleanExport"> |
|
345 <activeWhen> |
|
346 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
347 </activeWhen> |
|
348 </handler> |
|
349 <handler |
|
350 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
351 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestResource"> |
|
352 <activeWhen> |
|
353 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
354 </activeWhen> |
|
355 </handler> |
|
356 <handler |
|
357 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
358 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestFinal"> |
|
359 <activeWhen> |
|
360 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
361 </activeWhen> |
|
362 </handler> |
|
363 <handler |
|
364 class="com.nokia.carbide.cpp.internal.builder.utils.handlers.ABLDCommandHandler" |
|
365 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestTidy"> |
|
366 <activeWhen> |
|
367 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
368 </activeWhen> |
|
369 </handler> |
|
370 </extension> |
|
371 |
|
372 <!-- ************* MENUS ************** --> |
|
373 <extension point="org.eclipse.ui.menus"> |
|
374 <menuContribution |
|
375 locationURI="popup:org.eclipse.ui.popup.any"> |
|
376 <separator name="BuilderUtils" visible="true"/> |
|
377 </menuContribution> |
|
378 <menuContribution |
|
379 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
380 <command |
|
381 commandId="com.nokia.carbide.cpp.builder.utils.preprocessSource" |
|
382 label="%BuilderUtils.Preprocess"> |
|
383 <visibleWhen> |
|
384 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canPreprocess"/> |
|
385 </visibleWhen> |
|
386 </command> |
|
387 </menuContribution> |
|
388 <menuContribution |
|
389 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
390 <command |
|
391 commandId="com.nokia.carbide.cpp.builder.utils.commands.compileSource" |
|
392 label="%BuilderUtils.Compile_Source"> |
|
393 <visibleWhen> |
|
394 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canCompile"/> |
|
395 </visibleWhen> |
|
396 </command> |
|
397 </menuContribution> |
|
398 <menuContribution |
|
399 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
400 <command |
|
401 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeSymbianComponent" |
|
402 label="%BuilderUtils.Freeze_Symbian_Component"> |
|
403 <visibleWhen> |
|
404 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
|
405 </visibleWhen> |
|
406 </command> |
|
407 </menuContribution> |
|
408 <menuContribution |
|
409 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
410 <command |
|
411 commandId="com.nokia.carbide.cpp.builder.utils.commands.cleanSymbianComponent" |
|
412 label="%BuilderUtils.Clean_Symbian_Component"> |
|
413 <visibleWhen> |
|
414 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
|
415 </visibleWhen> |
|
416 </command> |
|
417 </menuContribution> |
|
418 <menuContribution |
|
419 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
420 <command |
|
421 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildSymbianComponent" |
|
422 label="%BuilderUtils.Build_Symbian_Component"> |
|
423 <visibleWhen> |
|
424 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
|
425 </visibleWhen> |
|
426 </command> |
|
427 </menuContribution> |
|
428 <menuContribution |
|
429 locationURI="menu:project?after=build"> |
|
430 <command |
|
431 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildAllConfigs" |
|
432 label="%BuilderUtils.Build_All_Targets" |
|
433 icon="icons/Build_All_Targets_16x16.png"> |
|
434 <visibleWhen> |
|
435 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
|
436 </visibleWhen> |
|
437 </command> |
|
438 </menuContribution> |
|
439 <menuContribution |
|
440 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
441 <command |
|
442 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildAllConfigs" |
|
443 label="%BuilderUtils.Build_All_Targets" |
|
444 icon="icons/Build_All_Targets_16x16.png"> |
|
445 <visibleWhen> |
|
446 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
|
447 </visibleWhen> |
|
448 </command> |
|
449 </menuContribution> |
|
450 <menuContribution |
|
451 locationURI="menu:project?after=build"> |
|
452 <command |
|
453 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeExports" |
|
454 label="%BuilderUtils.Freeze_Exports" |
|
455 icon="icons/Freeze_Exports_16x16.png"> |
|
456 <visibleWhen> |
|
457 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
|
458 </visibleWhen> |
|
459 </command> |
|
460 </menuContribution> |
|
461 <menuContribution |
|
462 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
463 <command |
|
464 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeExports" |
|
465 label="%BuilderUtils.Freeze_Exports" |
|
466 icon="icons/Freeze_Exports_16x16.png"> |
|
467 <visibleWhen> |
|
468 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
|
469 </visibleWhen> |
|
470 </command> |
|
471 </menuContribution> |
|
472 <menuContribution |
|
473 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
474 <command |
|
475 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildPKG" |
|
476 label="%BuilderUtils.Build_PKG"> |
|
477 <visibleWhen> |
|
478 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isPKGFile"/> |
|
479 </visibleWhen> |
|
480 </command> |
|
481 </menuContribution> |
|
482 <menuContribution |
|
483 locationURI="menu:project?after=build"> |
|
484 <menu |
|
485 id="com.nokia.carbide.cpp.builder.utils.abldmenu" |
|
486 label="ABLD"> |
|
487 </menu> |
|
488 </menuContribution> |
|
489 <menuContribution |
|
490 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
491 <command |
|
492 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTarget" |
|
493 label="%BuilderUtils.Target"> |
|
494 <visibleWhen> |
|
495 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
496 </visibleWhen> |
|
497 </command> |
|
498 </menuContribution> |
|
499 <menuContribution |
|
500 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
501 <command |
|
502 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldExport" |
|
503 label="%BuilderUtils.Export"> |
|
504 <visibleWhen> |
|
505 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
506 </visibleWhen> |
|
507 </command> |
|
508 </menuContribution> |
|
509 <menuContribution |
|
510 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
511 <command |
|
512 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldCleanExport" |
|
513 label="%BuilderUtils.CleanExport"> |
|
514 <visibleWhen> |
|
515 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
516 </visibleWhen> |
|
517 </command> |
|
518 </menuContribution> |
|
519 <menuContribution |
|
520 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
521 <command |
|
522 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldResource" |
|
523 label="%BuilderUtils.Resource"> |
|
524 <visibleWhen> |
|
525 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
526 </visibleWhen> |
|
527 </command> |
|
528 </menuContribution> |
|
529 <menuContribution |
|
530 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
531 <command |
|
532 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldFinal" |
|
533 label="%BuilderUtils.Final"> |
|
534 <visibleWhen> |
|
535 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
536 </visibleWhen> |
|
537 </command> |
|
538 </menuContribution> |
|
539 <menuContribution |
|
540 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
541 <command |
|
542 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTidy" |
|
543 label="%BuilderUtils.Tidy"> |
|
544 <visibleWhen> |
|
545 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
546 </visibleWhen> |
|
547 </command> |
|
548 </menuContribution> |
|
549 <menuContribution |
|
550 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
551 <menu |
|
552 id="com.nokia.carbide.cpp.builder.utils.abldtestmenu" |
|
553 label="test"> |
|
554 </menu> |
|
555 </menuContribution> |
|
556 <menuContribution |
|
557 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
558 <command |
|
559 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestTarget" |
|
560 label="%BuilderUtils.Target"> |
|
561 <visibleWhen> |
|
562 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
563 </visibleWhen> |
|
564 </command> |
|
565 </menuContribution> |
|
566 <menuContribution |
|
567 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
568 <command |
|
569 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestExport" |
|
570 label="%BuilderUtils.Export"> |
|
571 <visibleWhen> |
|
572 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
573 </visibleWhen> |
|
574 </command> |
|
575 </menuContribution> |
|
576 <menuContribution |
|
577 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
578 <command |
|
579 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestCleanExport" |
|
580 label="%BuilderUtils.CleanExport"> |
|
581 <visibleWhen> |
|
582 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
583 </visibleWhen> |
|
584 </command> |
|
585 </menuContribution> |
|
586 <menuContribution |
|
587 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
588 <command |
|
589 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestResource" |
|
590 label="%BuilderUtils.Resource"> |
|
591 <visibleWhen> |
|
592 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
593 </visibleWhen> |
|
594 </command> |
|
595 </menuContribution> |
|
596 <menuContribution |
|
597 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
598 <command |
|
599 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestFinal" |
|
600 label="%BuilderUtils.Final"> |
|
601 <visibleWhen> |
|
602 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
603 </visibleWhen> |
|
604 </command> |
|
605 </menuContribution> |
|
606 <menuContribution |
|
607 locationURI="menu:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
608 <command |
|
609 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestTidy" |
|
610 label="%BuilderUtils.Tidy"> |
|
611 <visibleWhen> |
|
612 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
613 </visibleWhen> |
|
614 </command> |
|
615 </menuContribution> |
|
616 <menuContribution |
|
617 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
|
618 <menu |
|
619 id="com.nokia.carbide.cpp.builder.utils.abldmenu" |
|
620 label="ABLD"> |
|
621 </menu> |
|
622 </menuContribution> |
|
623 <menuContribution |
|
624 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
625 <command |
|
626 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTarget" |
|
627 label="%BuilderUtils.Target"> |
|
628 <visibleWhen> |
|
629 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
630 </visibleWhen> |
|
631 </command> |
|
632 </menuContribution> |
|
633 <menuContribution |
|
634 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
635 <command |
|
636 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldExport" |
|
637 label="%BuilderUtils.Export"> |
|
638 <visibleWhen> |
|
639 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
640 </visibleWhen> |
|
641 </command> |
|
642 </menuContribution> |
|
643 <menuContribution |
|
644 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
645 <command |
|
646 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldCleanExport" |
|
647 label="%BuilderUtils.CleanExport"> |
|
648 <visibleWhen> |
|
649 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
650 </visibleWhen> |
|
651 </command> |
|
652 </menuContribution> |
|
653 <menuContribution |
|
654 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
655 <command |
|
656 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldResource" |
|
657 label="%BuilderUtils.Resource"> |
|
658 <visibleWhen> |
|
659 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
660 </visibleWhen> |
|
661 </command> |
|
662 </menuContribution> |
|
663 <menuContribution |
|
664 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
665 <command |
|
666 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldFinal" |
|
667 label="%BuilderUtils.Final"> |
|
668 <visibleWhen> |
|
669 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
670 </visibleWhen> |
|
671 </command> |
|
672 </menuContribution> |
|
673 <menuContribution |
|
674 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
675 <command |
|
676 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTidy" |
|
677 label="%BuilderUtils.Tidy"> |
|
678 <visibleWhen> |
|
679 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
680 </visibleWhen> |
|
681 </command> |
|
682 </menuContribution> |
|
683 <menuContribution |
|
684 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldmenu"> |
|
685 <menu |
|
686 id="com.nokia.carbide.cpp.builder.utils.abldtestmenu" |
|
687 label="test"> |
|
688 </menu> |
|
689 </menuContribution> |
|
690 <menuContribution |
|
691 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
692 <command |
|
693 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestTarget" |
|
694 label="%BuilderUtils.Target"> |
|
695 <visibleWhen> |
|
696 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
697 </visibleWhen> |
|
698 </command> |
|
699 </menuContribution> |
|
700 <menuContribution |
|
701 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
702 <command |
|
703 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestExport" |
|
704 label="%BuilderUtils.Export"> |
|
705 <visibleWhen> |
|
706 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
707 </visibleWhen> |
|
708 </command> |
|
709 </menuContribution> |
|
710 <menuContribution |
|
711 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
712 <command |
|
713 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestCleanExport" |
|
714 label="%BuilderUtils.CleanExport"> |
|
715 <visibleWhen> |
|
716 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
717 </visibleWhen> |
|
718 </command> |
|
719 </menuContribution> |
|
720 <menuContribution |
|
721 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
722 <command |
|
723 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestResource" |
|
724 label="%BuilderUtils.Resource"> |
|
725 <visibleWhen> |
|
726 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
727 </visibleWhen> |
|
728 </command> |
|
729 </menuContribution> |
|
730 <menuContribution |
|
731 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
732 <command |
|
733 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestFinal" |
|
734 label="%BuilderUtils.Final"> |
|
735 <visibleWhen> |
|
736 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
737 </visibleWhen> |
|
738 </command> |
|
739 </menuContribution> |
|
740 <menuContribution |
|
741 locationURI="popup:com.nokia.carbide.cpp.builder.utils.abldtestmenu"> |
|
742 <command |
|
743 commandId="com.nokia.carbide.cpp.builder.utils.commands.abldTestTidy" |
|
744 label="%BuilderUtils.Tidy"> |
|
745 <visibleWhen> |
|
746 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canABLD"/> |
|
747 </visibleWhen> |
|
748 </command> |
|
749 </menuContribution> |
|
750 </extension> |
|
751 </plugin> |