mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00

This view lists all launch targets that could appear in the Target selector. It allows us to add context menus to them to perform operations, such as opening a terminal view to the target. It will also gives us a cleaner UI to add and remove targets Change-Id: I538a204ce6f25fd017573c50585ac45cdeeaf554 Reviewed-on: https://git.eclipse.org/r/31856 Tested-by: Hudson CI Reviewed-by: Jonathan Williams <jonwilliams@qnx.com> Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
47 lines
1.7 KiB
XML
47 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.4"?>
|
|
<plugin>
|
|
|
|
<extension
|
|
point="org.eclipse.ui.startup">
|
|
<startup
|
|
class="org.eclipse.cdt.codan.internal.ui.cxx.Startup"></startup>
|
|
</extension>
|
|
|
|
<extension
|
|
point="org.eclipse.ui.menus">
|
|
<menuContribution
|
|
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
|
|
<command
|
|
commandId="org.eclipse.cdt.codan.commands.runCodanCommand"
|
|
icon="platform:/plugin/org.eclipse.cdt.codan.ui/icons/search_bug.gif"
|
|
id="org.eclipse.cdt.codan.ui.cxx.menus.runCodanCxxCommand"
|
|
label="%command.name"
|
|
mnemonic="%command.mnemonic">
|
|
<visibleWhen checkEnabled="false">
|
|
<iterate ifEmpty="false">
|
|
<adapt type="org.eclipse.core.resources.IResource">
|
|
<test
|
|
forcePluginActivation="true"
|
|
property="org.eclipse.core.resources.projectNature"
|
|
value="org.eclipse.cdt.core.cnature"/>
|
|
</adapt>
|
|
</iterate>
|
|
</visibleWhen>
|
|
</command>
|
|
</menuContribution>
|
|
<!-- <menuContribution
|
|
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
|
|
<toolbar
|
|
id="org.eclipse.cdt.codan.ui.cxx.toolbars.sampleToolbar">
|
|
<command
|
|
commandId="org.eclipse.cdt.codan.ui.cxx.commands.runCodanCxxCommand"
|
|
icon="icons/sample.gif"
|
|
id="org.eclipse.cdt.codan.ui.cxx.toolbars.sampleCommand"
|
|
tooltip="%command.name">
|
|
</command>
|
|
</toolbar>
|
|
</menuContribution> -->
|
|
</extension>
|
|
|
|
</plugin>
|