377 |
377 |
378 <!-- ************* MENUS ************** --> |
378 <!-- ************* MENUS ************** --> |
379 <extension point="org.eclipse.ui.menus"> |
379 <extension point="org.eclipse.ui.menus"> |
380 <menuContribution |
380 <menuContribution |
381 locationURI="popup:org.eclipse.ui.popup.any"> |
381 locationURI="popup:org.eclipse.ui.popup.any"> |
|
382 <separator name="SymbianBuildGroup" visible="true"/> |
|
383 </menuContribution> |
|
384 <menuContribution |
|
385 locationURI="popup:org.eclipse.ui.popup.any?after=SymbianBuildGroup"> |
|
386 <menu |
|
387 id="com.nokia.carbide.cpp.builder.utils.buildmenu" |
|
388 label="%BuilderUtils.Symbian_Build_Utils"> |
|
389 </menu> |
|
390 </menuContribution> |
|
391 <menuContribution |
|
392 locationURI="popup:com.nokia.carbide.cpp.builder.utils.buildmenu"> |
382 <separator name="BuilderUtils" visible="true"/> |
393 <separator name="BuilderUtils" visible="true"/> |
383 </menuContribution> |
394 </menuContribution> |
384 <menuContribution |
395 <menuContribution |
385 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
396 locationURI="popup:com.nokia.carbide.cpp.builder.utils.buildmenu?after=BuilderUtils"> |
386 <command |
397 <command |
387 commandId="com.nokia.carbide.cpp.builder.utils.preprocessSource" |
398 commandId="com.nokia.carbide.cpp.builder.utils.preprocessSource" |
388 label="%BuilderUtils.Preprocess"> |
399 label="%BuilderUtils.Preprocess"> |
389 <visibleWhen> |
400 <visibleWhen> |
390 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canPreprocess"/> |
401 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canPreprocess"/> |
391 </visibleWhen> |
402 </visibleWhen> |
392 </command> |
403 </command> |
393 </menuContribution> |
404 </menuContribution> |
394 <menuContribution |
405 <menuContribution |
395 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
406 locationURI="popup:com.nokia.carbide.cpp.builder.utils.buildmenu?after=BuilderUtils"> |
396 <command |
407 <command |
397 commandId="com.nokia.carbide.cpp.builder.utils.commands.compileSource" |
408 commandId="com.nokia.carbide.cpp.builder.utils.commands.compileSource" |
398 label="%BuilderUtils.Compile_Source"> |
409 label="%BuilderUtils.Compile_Source"> |
399 <visibleWhen> |
410 <visibleWhen> |
400 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canCompile"/> |
411 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.canCompile"/> |
401 </visibleWhen> |
412 </visibleWhen> |
402 </command> |
413 </command> |
403 </menuContribution> |
414 </menuContribution> |
404 <menuContribution |
415 <menuContribution |
405 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
416 locationURI="popup:com.nokia.carbide.cpp.builder.utils.buildmenu?after=BuilderUtils"> |
406 <command |
417 <command |
407 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeSymbianComponent" |
418 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeSymbianComponent" |
408 label="%BuilderUtils.Freeze_Symbian_Component"> |
419 label="%BuilderUtils.Freeze_Symbian_Component"> |
409 <visibleWhen> |
420 <visibleWhen> |
410 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
421 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
411 </visibleWhen> |
422 </visibleWhen> |
412 </command> |
423 </command> |
413 </menuContribution> |
424 </menuContribution> |
414 <menuContribution |
425 <menuContribution |
415 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
426 locationURI="popup:com.nokia.carbide.cpp.builder.utils.buildmenu?after=BuilderUtils"> |
416 <command |
427 <command |
417 commandId="com.nokia.carbide.cpp.builder.utils.commands.cleanSymbianComponent" |
428 commandId="com.nokia.carbide.cpp.builder.utils.commands.cleanSymbianComponent" |
418 label="%BuilderUtils.Clean_Symbian_Component"> |
429 label="%BuilderUtils.Clean_Symbian_Component"> |
419 <visibleWhen> |
430 <visibleWhen> |
420 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
431 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
421 </visibleWhen> |
432 </visibleWhen> |
422 </command> |
433 </command> |
423 </menuContribution> |
434 </menuContribution> |
424 <menuContribution |
435 <menuContribution |
425 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
436 locationURI="popup:com.nokia.carbide.cpp.builder.utils.buildmenu?after=BuilderUtils"> |
426 <command |
437 <command |
427 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildSymbianComponent" |
438 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildSymbianComponent" |
428 label="%BuilderUtils.Build_Symbian_Component"> |
439 label="%BuilderUtils.Build_Symbian_Component"> |
429 <visibleWhen> |
440 <visibleWhen> |
430 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
441 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isComponent"/> |
463 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
474 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
464 </visibleWhen> |
475 </visibleWhen> |
465 </command> |
476 </command> |
466 </menuContribution> |
477 </menuContribution> |
467 <menuContribution |
478 <menuContribution |
468 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
479 locationURI="popup:com.nokia.carbide.cpp.builder.utils.buildmenu?after=BuilderUtils"> |
469 <command |
480 <command |
470 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeExports" |
481 commandId="com.nokia.carbide.cpp.builder.utils.commands.freezeExports" |
471 label="%BuilderUtils.Freeze_Exports" |
482 label="%BuilderUtils.Freeze_Exports" |
472 icon="icons/Freeze_Exports_16x16.png"> |
483 icon="icons/Freeze_Exports_16x16.png"> |
473 <visibleWhen> |
484 <visibleWhen> |
474 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
485 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isProject"/> |
475 </visibleWhen> |
486 </visibleWhen> |
476 </command> |
487 </command> |
477 </menuContribution> |
488 </menuContribution> |
478 <menuContribution |
489 <menuContribution |
479 locationURI="popup:org.eclipse.ui.popup.any?after=BuilderUtils"> |
490 locationURI="popup:com.nokia.carbide.cpp.builder.utils.buildmenu?after=BuilderUtils"> |
480 <command |
491 <command |
481 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildPKG" |
492 commandId="com.nokia.carbide.cpp.builder.utils.commands.buildPKG" |
482 label="%BuilderUtils.Build_PKG"> |
493 label="%BuilderUtils.Build_PKG"> |
483 <visibleWhen> |
494 <visibleWhen> |
484 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isPKGFile"/> |
495 <reference definitionId="com.nokia.carbide.cpp.builder.utils.definition.isPKGFile"/> |