mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 01:06:01 +02:00
426 lines
17 KiB
XML
426 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.0"?>
|
|
<plugin>
|
|
|
|
<extension-point id="DiscoveryProfilePage" name="%discoveryProfilePage.name" schema="schema/DiscoveryProfilePage.exsd"/>
|
|
|
|
|
|
<extension
|
|
point="org.eclipse.ui.newWizards">
|
|
<wizard
|
|
name="%WizardNewCMakeProject.name"
|
|
icon="icons/etool16/newc_app.gif"
|
|
category="org.eclipse.cdt.ui.newCWizards"
|
|
class="org.eclipse.cdt.make.ui.wizards.NewMakeCProjectWizard"
|
|
project="true"
|
|
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
id="org.eclipse.cdt.ui.wizards.NewMakeCProjectWizard">
|
|
<description>
|
|
%WizardNewCMakeProject.description
|
|
</description>
|
|
</wizard>
|
|
<wizard
|
|
name="%WizardConvertMakeProject.name"
|
|
icon="icons/etool16/convert-normal.gif"
|
|
category="org.eclipse.cdt.ui.newCWizards"
|
|
class="org.eclipse.cdt.make.ui.wizards.ConvertToMakeProjectWizard"
|
|
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
id="org.eclipse.cdt.ui.wizards.ConvertToMakeWizard">
|
|
<description>
|
|
%WizardConvertMakeProject.description
|
|
</description>
|
|
<selection
|
|
class="org.eclipse.core.resources.IProject">
|
|
</selection>
|
|
</wizard>
|
|
<!-- For C++ Wizards -->
|
|
<wizard
|
|
name="%WizardNewCCMakeProject.name"
|
|
icon="icons/etool16/newcc_app.gif"
|
|
category="org.eclipse.cdt.ui.newCCWizards"
|
|
class="org.eclipse.cdt.make.ui.wizards.NewMakeCCProjectWizard"
|
|
project="true"
|
|
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
id="org.eclipse.cdt.make.ui.wizards.NewMakeCCProjectWizard">
|
|
<description>
|
|
%WizardNewCCMakeProject.description
|
|
</description>
|
|
</wizard>
|
|
<wizard
|
|
name="%WizardConvertMakeProject.name"
|
|
icon="icons/etool16/convert-normal.gif"
|
|
category="org.eclipse.cdt.ui.newCCWizards"
|
|
class="org.eclipse.cdt.make.ui.wizards.ConvertToMakeProjectWizard"
|
|
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
id="org.eclipse.cdt.ui.wizards.ConvertToMakeWizard">
|
|
<description>
|
|
%WizardConvertMakeProject.description
|
|
</description>
|
|
<selection
|
|
class="org.eclipse.core.resources.IProject">
|
|
</selection>
|
|
</wizard>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.popupMenus">
|
|
<objectContribution
|
|
objectClass="org.eclipse.core.resources.IResource"
|
|
adaptable="true"
|
|
id="org.eclipse.cdt.make.ui.popupMenu.NavigatorContribution">
|
|
<action
|
|
label="%ActionMakeBuildTarget.label"
|
|
class="org.eclipse.cdt.make.ui.actions.BuildTargetAction"
|
|
menubarPath="buildGroup"
|
|
enablesFor="1"
|
|
id="org.eclipse.cdt.make.ui.NavigatorBuildTargetAction">
|
|
</action>
|
|
<action
|
|
label="%ActionMakeCreateTarget.label"
|
|
class="org.eclipse.cdt.make.ui.actions.CreateTargetAction"
|
|
menubarPath="buildGroup"
|
|
enablesFor="1"
|
|
id="org.eclipse.cdt.make.ui.CViewCreateTargetAction">
|
|
</action>
|
|
<filter
|
|
name="projectNature"
|
|
value="org.eclipse.cdt.make.core.makeNature">
|
|
</filter>
|
|
</objectContribution>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.contexts">
|
|
<context
|
|
name="%scope.makefileEditor.name"
|
|
parentId="org.eclipse.ui.textEditorScope"
|
|
description="%makefileEditor.description"
|
|
id="org.eclipse.cdt.make.ui.makefileEditorScope">
|
|
</context>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.bindings">
|
|
<!-- Makefile Editor keybindings -->
|
|
<key
|
|
sequence="F3"
|
|
contextId="org.eclipse.cdt.make.ui.makefileEditorScope"
|
|
commandId="org.eclipse.cdt.make.ui.edit.text.makefile.opendecl"
|
|
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
|
|
<key
|
|
sequence="Ctrl+/"
|
|
contextId="org.eclipse.cdt.make.ui.makefileEditorScope"
|
|
commandId="org.eclipse.cdt.make.ui.edit.text.makefile.comment"
|
|
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
|
|
<key
|
|
sequence="Ctrl+\"
|
|
contextId="org.eclipse.cdt.make.ui.makefileEditorScope"
|
|
commandId="org.eclipse.cdt.make.ui.edit.text.makefile.uncomment"
|
|
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.commands">
|
|
<command
|
|
name="%CommandTargetBuild.name"
|
|
description="%CommandTargetBuild.description"
|
|
categoryId="org.eclipse.ui.category.project"
|
|
id="org.eclipse.cdt.make.ui.targetBuildCommand">
|
|
</command>
|
|
<command
|
|
name="%CommandTargetCreate.name"
|
|
description="%CommandTargetCreate.description"
|
|
categoryId="org.eclipse.ui.category.project"
|
|
id="org.eclipse.cdt.make.ui.targetCreateCommand">
|
|
</command>
|
|
<category
|
|
name="%category.source.name"
|
|
description="%category.source.description"
|
|
id="org.eclipse.cdt.make.ui.category.source">
|
|
</category>
|
|
<command
|
|
name="%ActionDefinition.comment.name"
|
|
description="%ActionDefinition.comment.description"
|
|
categoryId="org.eclipse.cdt.make.ui.category.source"
|
|
id="org.eclipse.cdt.make.ui.edit.text.makefile.comment">
|
|
</command>
|
|
<command
|
|
name="%ActionDefinition.uncomment.name"
|
|
description="%ActionDefinition.uncomment.description"
|
|
categoryId="org.eclipse.cdt.make.ui.category.source"
|
|
id="org.eclipse.cdt.make.ui.edit.text.makefile.uncomment">
|
|
</command>
|
|
<command
|
|
name="%ActionDefinition.opendecl.name"
|
|
categoryId="org.eclipse.cdt.make.ui.category.source"
|
|
description="%ActionDefinition.opendecl.description"
|
|
id="org.eclipse.cdt.make.ui.edit.text.makefile.opendecl">
|
|
</command>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.preferencePages">
|
|
<page
|
|
name="%PreferenceMake.name"
|
|
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
|
|
class="org.eclipse.cdt.make.internal.ui.preferences.MakePreferencePage"
|
|
id="org.eclipse.cdt.make.ui.preferences.MakePreferencePage">
|
|
</page>
|
|
<page
|
|
name="%PreferenceMakeProject.name"
|
|
category="org.eclipse.cdt.make.ui.preferences.MakePreferencePage"
|
|
class="org.eclipse.cdt.make.internal.ui.preferences.NewMakeProjectPreferencePage"
|
|
id="org.eclipse.cdt.make.ui.preferences.MakeProjectPreferencePage">
|
|
</page>
|
|
<page
|
|
name="%PreferenceMakefileEditor.name"
|
|
category="org.eclipse.cdt.make.ui.preferences.MakePreferencePage"
|
|
class="org.eclipse.cdt.make.internal.ui.preferences.MakefileEditorPreferencePage"
|
|
id="org.eclipse.cdt.make.ui.preferences.MakeFileEditorPreferencePage">
|
|
</page>
|
|
<page
|
|
name="%PreferenceMakefileSettings.name"
|
|
category="org.eclipse.cdt.make.ui.preferences.MakeFileEditorPreferencePage"
|
|
class="org.eclipse.cdt.make.internal.ui.preferences.MakefileSettingsPreferencePage"
|
|
id="org.eclipse.cdt.make.ui.preferences.MakefileSettingPreferencePage">
|
|
</page>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.propertyPages">
|
|
<page
|
|
objectClass="org.eclipse.core.resources.IProject"
|
|
adaptable="true"
|
|
name="%PropertyMakeProject.name"
|
|
class="org.eclipse.cdt.make.internal.ui.properties.MakePropertyPage"
|
|
id="org.eclipse.cdt.make.ui.properties.MakePropertyPage">
|
|
<filter
|
|
name="nature"
|
|
value="org.eclipse.cdt.make.core.makeNature">
|
|
</filter>
|
|
</page>
|
|
<page
|
|
objectClass="org.eclipse.core.resources.IProject"
|
|
adaptable="true"
|
|
name="%ProjectPathProperties.name"
|
|
nameFilter="*"
|
|
class="org.eclipse.cdt.internal.ui.dialogs.cpaths.CPathPropertyPage"
|
|
id="org.eclipse.cdt.internal.ui.dialogs.cpath.CPathPropertyPage">
|
|
<filter
|
|
name="projectNature"
|
|
value="org.eclipse.cdt.make.core.makeNature">
|
|
</filter>
|
|
</page>
|
|
<!--page
|
|
objectClass="org.eclipse.cdt.core.model.ICContainer"
|
|
name="%IncludeSymbolProperties.name"
|
|
class="org.eclipse.cdt.internal.ui.dialogs.cpaths.IncludesSymbolsPropertyPage"
|
|
id="org.eclipse.cdt.internal.ui.dialogs.cpath.IncludeSymbolsPropertyPage">
|
|
<filter
|
|
name="projectNature"
|
|
value="org.eclipse.cdt.make.core.makeNature">
|
|
</filter>
|
|
</page>
|
|
<page
|
|
objectClass="org.eclipse.cdt.core.model.ITranslationUnit"
|
|
name="%IncludeSymbolProperties.name"
|
|
class="org.eclipse.cdt.internal.ui.dialogs.cpaths.IncludesSymbolsPropertyPage"
|
|
id="org.eclipse.cdt.internal.ui.dialogs.cpath.IncludeSymbolsPropertyPage">
|
|
<filter
|
|
name="projectNature"
|
|
value="org.eclipse.cdt.make.core.makeNature">
|
|
</filter>
|
|
</page-->
|
|
<page
|
|
objectClass="org.eclipse.core.resources.IProject"
|
|
adaptable="true"
|
|
name="%IncludeSymbolProperties.name"
|
|
class="org.eclipse.cdt.internal.ui.dialogs.cpaths.IncludesSymbolsPropertyPage"
|
|
id="org.eclipse.cdt.internal.ui.dialogs.cpath.IncludeSymbolsPropertyPage">
|
|
<filter
|
|
name="projectNature"
|
|
value="org.eclipse.cdt.make.core.makeNature">
|
|
</filter>
|
|
</page>
|
|
<page
|
|
adaptable="true"
|
|
class="org.eclipse.cdt.internal.ui.dialogs.cpaths.IncludesSymbolsPropertyPage"
|
|
id="org.eclipse.cdt.make.ui.scannerconfig.PerFileIncludesSymbolsPropertyPage"
|
|
name="%IncludeSymbolProperties.name"
|
|
objectClass="org.eclipse.cdt.core.model.ITranslationUnit">
|
|
<filter
|
|
name="projectNature"
|
|
value="org.eclipse.cdt.make.core.makeNature"/>
|
|
</page>
|
|
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.views">
|
|
<category
|
|
name="%ViewCatagoryMake.name"
|
|
id="org.eclipse.cdt.make.ui">
|
|
</category>
|
|
<view
|
|
name="%ViewMake.name"
|
|
icon="icons/view16/make_target.gif"
|
|
category="org.eclipse.cdt.make.ui"
|
|
class="org.eclipse.cdt.make.ui.views.MakeView"
|
|
id="org.eclipse.cdt.make.ui.views.MakeView">
|
|
</view>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.actionSets">
|
|
<actionSet
|
|
label="%ActionSetUpdateMake.label"
|
|
id="org.eclipse.cdt.make.ui.updateActionSet">
|
|
<action
|
|
label="%ActionMakeUpdate.label"
|
|
icon="icons/etool16/update_old.gif"
|
|
tooltip="%ActionMakeUpdate.tooltip"
|
|
class="org.eclipse.cdt.make.ui.actions.UpdateMakeProjectAction"
|
|
toolbarPath="Normal"
|
|
id="org.eclipse.cdt.make.ui.UpdateMakeAction">
|
|
<enablement>
|
|
<and>
|
|
<not>
|
|
<objectState
|
|
value="org.eclipse.cdt.make.core.makeNature"
|
|
name="projectNature">
|
|
</objectState>
|
|
</not>
|
|
<objectState
|
|
value="org.eclipse.cdt.core.cnature"
|
|
name="projectNature">
|
|
</objectState>
|
|
</and>
|
|
</enablement>
|
|
</action>
|
|
</actionSet>
|
|
<actionSet
|
|
label="%ActionSetMake.label"
|
|
id="org.eclipse.cdt.make.ui.makeTargetActionSet">
|
|
<action
|
|
definitionId="org.eclipse.cdt.make.ui.targetBuildCommand"
|
|
label="%ActionMakeBuildTarget.label"
|
|
class="org.eclipse.cdt.make.ui.actions.BuildTargetAction"
|
|
menubarPath="project/additions"
|
|
enablesFor="1"
|
|
id="org.eclipse.cdt.make.ui.makeTargetAction">
|
|
<enablement>
|
|
<or>
|
|
<objectClass
|
|
name="org.eclipse.core.resources.IContainer">
|
|
</objectClass>
|
|
<objectClass
|
|
name="org.eclipse.cdt.core.model.ICContainer">
|
|
</objectClass>
|
|
<objectClass
|
|
name="org.eclipse.cdt.core.model.ICProject">
|
|
</objectClass>
|
|
</or>
|
|
</enablement>
|
|
</action>
|
|
<action
|
|
definitionId="org.eclipse.cdt.make.ui.targetCreateCommand"
|
|
label="%ActionMakeCreateTarget.label"
|
|
class="org.eclipse.cdt.make.ui.actions.CreateTargetAction"
|
|
menubarPath="project/additions"
|
|
enablesFor="1"
|
|
id="org.eclipse.cdt.make.ui.createTargetAction">
|
|
<enablement>
|
|
<or>
|
|
<objectClass
|
|
name="org.eclipse.core.resources.IContainer">
|
|
</objectClass>
|
|
<objectClass
|
|
name="org.eclipse.cdt.core.model.ICContainer">
|
|
</objectClass>
|
|
<objectClass
|
|
name="org.eclipse.cdt.core.model.ICProject">
|
|
</objectClass>
|
|
</or>
|
|
</enablement>
|
|
</action>
|
|
</actionSet>
|
|
</extension>
|
|
|
|
<!-- Makefile Editor extensions. -->
|
|
<extension
|
|
id="org.eclipse.cdt.make.editor"
|
|
name="MakefileEditor"
|
|
point="org.eclipse.ui.editors">
|
|
<editor
|
|
name="%MakefileEditor.name"
|
|
icon="icons/etool16/makefile.gif"
|
|
contributorClass="org.eclipse.cdt.make.internal.ui.editor.MakefileEditorActionContributor"
|
|
class="org.eclipse.cdt.make.internal.ui.editor.MakefileEditor"
|
|
id="org.eclipse.cdt.make.editor">
|
|
<contentTypeBinding contentTypeId="org.eclipse.cdt.make.core.makefile"/>
|
|
</editor>
|
|
</extension>
|
|
<extension
|
|
id="org.eclipse.cdt.make.ui.MakefileDocumentFactory"
|
|
name="%MakefileDocumentFactory.name"
|
|
point="org.eclipse.core.filebuffers.documentCreation">
|
|
<factory
|
|
contentTypeId="org.eclipse.cdt.make.core.makefile"
|
|
class="org.eclipse.cdt.make.internal.ui.editor.MakefileDocumentFactory">
|
|
</factory>
|
|
</extension>
|
|
<extension
|
|
id="org.eclipse.cdt.make.ui.MakefileDocumentSetupParticipant"
|
|
name="%MakefileDocumentSetupParticipant.name"
|
|
point="org.eclipse.core.filebuffers.documentSetup">
|
|
<participant
|
|
contentTypeId="org.eclipse.cdt.make.core.makefile"
|
|
class="org.eclipse.cdt.make.internal.ui.editor.MakefileDocumentSetupParticipant">
|
|
</participant>
|
|
</extension>
|
|
|
|
|
|
<extension
|
|
point="org.eclipse.ui.startup">
|
|
<startup
|
|
class="org.eclipse.cdt.make.internal.ui.MakeStartup">
|
|
</startup>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.perspectiveExtensions">
|
|
<perspectiveExtension
|
|
targetID="org.eclipse.cdt.ui.CPerspective">
|
|
<view
|
|
relative="org.eclipse.ui.views.ContentOutline"
|
|
visible="true"
|
|
relationship="stack"
|
|
id="org.eclipse.cdt.make.ui.views.MakeView">
|
|
</view>
|
|
<viewShortcut
|
|
id="org.eclipse.cdt.make.ui.views.MakeView">
|
|
</viewShortcut>
|
|
<actionSet
|
|
id="org.eclipse.cdt.make.ui.makeTargetActionSet">
|
|
</actionSet>
|
|
</perspectiveExtension>
|
|
</extension>
|
|
|
|
|
|
<extension
|
|
point="org.eclipse.cdt.ui.PathContainerPage">
|
|
<PathContainerPage
|
|
class="org.eclipse.cdt.make.ui.dialogs.DiscoveredPathContainerPage"
|
|
icon="icons/obj16/lib_obj.gif"
|
|
id="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"
|
|
name="%DiscoveredScannerInfoContainer.name"/>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.core.runtime.preferences">
|
|
<initializer class="org.eclipse.cdt.make.internal.ui.MakeUIPreferenceInitializer"/>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.cdt.make.ui.DiscoveryProfilePage">
|
|
<profilePage
|
|
class="org.eclipse.cdt.make.ui.dialogs.GCCPerProjectSCDProfilePage"
|
|
name="%GCCPerProjectProfile.name"
|
|
profileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.cdt.make.ui.DiscoveryProfilePage">
|
|
<profilePage
|
|
class="org.eclipse.cdt.make.ui.dialogs.GCCPerFileSCDProfilePage"
|
|
name="%GCCPerFileProfile.name"
|
|
profileId="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"/>
|
|
</extension></plugin>
|