blob: 70a773d39ae9d4fdba118f6879102eff0f6b773f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension-point id="RemoteProxyManager" name="Remote Proxy Manager" schema="schema/RemoteProxyManager.exsd"/>
<extension-point id="launchProvider" name="Launch Provider" schema="schema/org.eclipse.linuxtools.profiling.launch.provider.exsd"/>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
class="org.eclipse.linuxtools.internal.profiling.launch.provider.ProviderPreferencesPage"
id="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
name="%page.name">
</page>
</extension>
<extension
id="org.eclipse.linuxtools.profiling.timing.launch"
name="Profile Timing"
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
icon="icons/time_obj.gif"
id="org.eclipse.linuxtools.profiling.provider.TimingLaunchShortcut"
label="%shortcut.label"
modes="profile"
path="/linuxtools/category">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.launch.ProviderLaunchShortcut">
<parameter
name="type"
value="timing"/>
<parameter
name="configurationId"
value="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationType"/>
</class>
<contextualLaunch>
<enablement>
<with
variable="selection">
<count
value="1">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.cdt.core.model.IBinary">
</instanceof>
<instanceof
value="org.eclipse.cdt.core.model.ICProject">
</instanceof>
<test
property="org.eclipse.cdt.launch.isExecutable">
</test>
<test
property="org.eclipse.cdt.launch.isCProject">
</test>
<and>
<instanceof
value="org.eclipse.ui.IFileEditorInput">
</instanceof>
<adapt
type="org.eclipse.core.resources.IResource">
<adapt
type="org.eclipse.cdt.core.model.ICElement">
</adapt>
</adapt>
</and>
</or>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
id="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationTabGroup"
type="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationType">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.ProviderLaunchConfigurationTabGroup">
<parameter
name="type"
value="timing"/>
<parameter
name="name"
value="Timing"/>
</class>
</launchConfigurationTabGroup>
</extension>
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
delegate="org.eclipse.linuxtools.internal.profiling.launch.provider.launch.ProviderLaunchConfigurationDelegate"
id="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationType"
modes="profile"
name="%launchConfigurationType.name"
public="true"
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
</launchConfigurationType>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
id="org.eclipse.linuxtools.profiling.provider.TimingPreferencePage"
name="%page.name.0">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.AbstractProviderPreferencesPage">
<parameter
name="type"
value="timing"/>
</class>
</page>
</extension>
<extension
id="org.eclipse.linuxtools.profiling.memory.launch"
name="Profile Memory"
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
icon="icons/memory_view.gif"
id="org.eclipse.linuxtools.profiling.provider.MemoryLaunchShortcut"
label="%shortcut.label.0"
modes="profile"
path="/linuxtools/category">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.launch.ProviderLaunchShortcut">
<parameter
name="type"
value="memory"/>
<parameter
name="configurationId"
value="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationType"/>
</class>
<contextualLaunch>
<enablement>
<with
variable="selection">
<count
value="1">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.cdt.core.model.IBinary">
</instanceof>
<instanceof
value="org.eclipse.cdt.core.model.ICProject">
</instanceof>
<test
property="org.eclipse.cdt.launch.isExecutable">
</test>
<test
property="org.eclipse.cdt.launch.isCProject">
</test>
<and>
<instanceof
value="org.eclipse.ui.IFileEditorInput">
</instanceof>
<adapt
type="org.eclipse.core.resources.IResource">
<adapt
type="org.eclipse.cdt.core.model.ICElement">
</adapt>
</adapt>
</and>
</or>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
id="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationTabGroup"
type="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationType">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.ProviderLaunchConfigurationTabGroup">
<parameter
name="type"
value="memory"/>
<parameter
name="name"
value="Memory"/>
</class>
</launchConfigurationTabGroup>
</extension>
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
delegate="org.eclipse.linuxtools.internal.profiling.launch.provider.launch.ProviderLaunchConfigurationDelegate"
id="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationType"
modes="profile"
name="%launchConfigurationType.name.0"
public="true"
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
</launchConfigurationType>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
id="org.eclipse.linuxtools.profiling.provider.MemoryPreferencePage"
name="%page.name.1">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.AbstractProviderPreferencesPage">
<parameter
name="type"
value="memory"/>
</class>
</page>
</extension>
<extension
id="org.eclipse.linuxtools.profiling.coverage.launch"
name="Profile Memory"
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
icon="icons/toggle.gif"
id="org.eclipse.linuxtools.profiling.provider.CoverageLaunchShortcut"
label="%shortcut.label.1"
modes="profile"
path="/linuxtools/category">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.launch.ProviderLaunchShortcut">
<parameter
name="type"
value="coverage"/>
<parameter
name="configurationId"
value="org.eclipse.linuxtools.profiling.provider.CoverageLaunchConfigurationType"/>
</class>
<contextualLaunch>
<enablement>
<with
variable="selection">
<count
value="1">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.cdt.core.model.IBinary">
</instanceof>
<instanceof
value="org.eclipse.cdt.core.model.ICProject">
</instanceof>
<test
property="org.eclipse.cdt.launch.isExecutable">
</test>
<test
property="org.eclipse.cdt.launch.isCProject">
</test>
<and>
<instanceof
value="org.eclipse.ui.IFileEditorInput">
</instanceof>
<adapt
type="org.eclipse.core.resources.IResource">
<adapt
type="org.eclipse.cdt.core.model.ICElement">
</adapt>
</adapt>
</and>
</or>
</iterate>
</with>
</enablement>
</contextualLaunch>
</shortcut>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup
id="org.eclipse.linuxtools.profiling.provider.CoverageLaunchConfigurationTabGroup"
type="org.eclipse.linuxtools.profiling.provider.CoverageLaunchConfigurationType">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.ProviderLaunchConfigurationTabGroup">
<parameter
name="type"
value="coverage"/>
<parameter
name="name"
value="Coverage"/>
</class>
</launchConfigurationTabGroup>
</extension>
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
delegate="org.eclipse.linuxtools.internal.profiling.launch.provider.launch.ProviderLaunchConfigurationDelegate"
id="org.eclipse.linuxtools.profiling.provider.CoverageLaunchConfigurationType"
modes="profile"
name="%launchConfigurationType.name.1"
public="true"
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
</launchConfigurationType>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.linuxtools.profiling.provider.MainPreferencePage"
id="org.eclipse.linuxtools.profiling.provider.CoveragePreferencePage"
name="%page.name.2">
<class class="org.eclipse.linuxtools.internal.profiling.launch.provider.AbstractProviderPreferencesPage">
<parameter
name="type"
value="coverage"/>
</class>
</page>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
configTypeID="org.eclipse.linuxtools.profiling.provider.CoverageLaunchConfigurationType"
icon="icons/toggle.gif"
id="org.eclipse.linuxtools.profiling.provider.CoverageLaunchConfigurationType.image">
</launchConfigurationTypeImage>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
configTypeID="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationType"
icon="icons/time_obj.gif"
id="org.eclipse.linuxtools.profiling.provider.TimingLaunchConfigurationType.image">
</launchConfigurationTypeImage>
</extension>
<extension
point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
configTypeID="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationType"
icon="icons/memory_view.gif"
id="org.eclipse.linuxtools.profiling.provider.MemoryLaunchConfigurationType.image">
</launchConfigurationTypeImage>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
category="org.eclipse.cdt.ui.newui.Page_head_general"
class="org.eclipse.linuxtools.internal.profiling.launch.provider.ProfilingPropertyPage"
id="org.eclipse.linuxtools.profiling.launch.provider.properties.page"
name="%page.name">
</page>
</extension>
<extension
point="org.eclipse.cdt.ui.cPropertyTab">
<tab
class="org.eclipse.linuxtools.internal.profiling.launch.provider.TimingPropertyTab"
icon="icons/time_obj.gif"
name="%page.name.0"
parent="org.eclipse.linuxtools.internal.profiling.launch.provider.ProfilingPropertyPage"
weight="010">
</tab>
</extension>
<extension
point="org.eclipse.cdt.ui.cPropertyTab">
<tab
class="org.eclipse.linuxtools.internal.profiling.launch.provider.MemoryPropertyTab"
icon="icons/memory_view.gif"
name="%page.name.1"
parent="org.eclipse.linuxtools.internal.profiling.launch.provider.ProfilingPropertyPage"
weight="011">
</tab>
</extension>
<extension
point="org.eclipse.cdt.ui.cPropertyTab">
<tab
class="org.eclipse.linuxtools.internal.profiling.launch.provider.CoveragePropertyTab"
icon="icons/toggle.gif"
name="%page.name.2"
parent="org.eclipse.linuxtools.internal.profiling.launch.provider.ProfilingPropertyPage"
weight="012">
</tab>
</extension>
</plugin>