2012-03-12 00:39:05 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?eclipse version="3.0"?>
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.newWizards">
|
|
|
|
<wizard
|
|
|
|
category="org.eclipse.cdt.ui.newCWizards"
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.wizards.ConvertToAutotoolsProjectWizard"
|
|
|
|
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
|
|
|
hasPages="true"
|
|
|
|
icon="icons/ac16/convert_normal.gif"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.wizards.conversionWizard"
|
|
|
|
name="%ConvertWizard.name">
|
|
|
|
<description>
|
|
|
|
%ConvertWizard.description
|
|
|
|
</description>
|
|
|
|
<selection class="org.eclipse.core.resources.IProject"/>
|
|
|
|
</wizard>
|
|
|
|
</extension>
|
|
|
|
<!--
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.navigator.navigatorContent">
|
|
|
|
<commonWizard
|
|
|
|
associatedExtensionId="org.eclipse.cdt.ui.navigator.content"
|
|
|
|
menuGroupId="org.eclipse.cdt.ui.newProject"
|
|
|
|
type="new"
|
|
|
|
wizardId="org.eclipse.linuxtools.cdt.autotools.ui.wizards.conversionWizard">
|
|
|
|
<enablement>
|
|
|
|
<and>
|
|
|
|
<adapt type="org.eclipse.core.resources.IProject" />
|
|
|
|
<not>
|
|
|
|
<adapt type="org.eclipse.core.resources.IProject" >
|
|
|
|
<test
|
|
|
|
property="org.eclipse.core.resources.projectNature"
|
|
|
|
value="org.eclipse.cdt.autotools.core.autotoolsNatureV2"/>
|
|
|
|
</adapt>
|
|
|
|
</not>
|
|
|
|
</and>
|
|
|
|
</enablement>
|
|
|
|
</commonWizard>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.navigator.viewer">
|
|
|
|
<viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
|
|
|
|
<includes>
|
|
|
|
<contentExtension pattern="org.eclipse.linuxtools.cdt.autotools.ui.wizards.*"/>
|
|
|
|
</includes>
|
|
|
|
</viewerContentBinding>
|
|
|
|
</extension>
|
|
|
|
-->
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.menus">
|
|
|
|
<menuContribution
|
|
|
|
locationURI="popup:org.eclipse.ui.popup.any?before=additions">
|
|
|
|
<separator
|
|
|
|
name="autotoolsGroup"
|
|
|
|
visible="true">
|
|
|
|
</separator>
|
|
|
|
</menuContribution>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="org.eclipse.cdt.autotools.ui.popup1"
|
|
|
|
point="org.eclipse.ui.popupMenus">
|
|
|
|
<objectContribution
|
|
|
|
objectClass="org.eclipse.core.resources.IResource"
|
|
|
|
adaptable="true"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.popupMenu.NavigatorContribution">
|
|
|
|
<action
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.InvokeLibtoolizeAction"
|
|
|
|
enablesFor="1"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.action.libtoolize1"
|
|
|
|
label="%InvokeLibtoolize.label"
|
|
|
|
menubarPath="org.eclipse.cdt.autotools.ui.invokeAutotools1/gm1">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.InvokeAutoheaderAction"
|
|
|
|
enablesFor="1"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.action.autoheader1"
|
|
|
|
label="%InvokeAutoheader.label"
|
|
|
|
menubarPath="org.eclipse.cdt.autotools.ui.invokeAutotools1/gm1">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.InvokeAutoreconfAction"
|
|
|
|
enablesFor="1"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.action.autoreconf1"
|
|
|
|
label="%InvokeAutoreconf.label"
|
|
|
|
menubarPath="org.eclipse.cdt.autotools.ui.invokeAutotools1/gm1">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.InvokeAutomakeAction"
|
|
|
|
enablesFor="1"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.action.automake1"
|
|
|
|
label="%InvokeAutomake.label"
|
|
|
|
menubarPath="org.eclipse.cdt.autotools.ui.invokeAutotools1/gm1">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.InvokeAutoconfAction"
|
|
|
|
enablesFor="1"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.action.autoconf1"
|
|
|
|
label="%InvokeAutoconf.label"
|
|
|
|
menubarPath="org.eclipse.cdt.autotools.ui.invokeAutotools1/gm1">
|
|
|
|
</action>
|
|
|
|
<action
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.InvokeAclocalAction"
|
|
|
|
enablesFor="1"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.action.aclocal1"
|
|
|
|
label="%InvokeAclocal.label"
|
|
|
|
menubarPath="org.eclipse.cdt.autotools.ui.invokeAutotools1/gm1">
|
|
|
|
</action>
|
|
|
|
<menu
|
|
|
|
id="org.eclipse.cdt.autotools.ui.invokeAutotools1"
|
|
|
|
label="%InvokeAutotools.label"
|
|
|
|
path="autotoolsGroup">
|
|
|
|
<groupMarker
|
|
|
|
name="gm1">
|
|
|
|
</groupMarker>
|
|
|
|
</menu>
|
|
|
|
<action
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.ReconfigureAction"
|
|
|
|
definitionId="org.eclipse.cdt.autotools.ui.command.reconfigure"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.action.autoreconf1"
|
|
|
|
label="%Reconfigure.label"
|
|
|
|
menubarPath="autotoolsGroup">
|
|
|
|
</action>
|
|
|
|
<visibility>
|
|
|
|
<or>
|
|
|
|
<objectState
|
|
|
|
name="projectNature"
|
|
|
|
value="org.eclipse.cdt.autotools.core.autotoolsNatureV2"/>
|
|
|
|
<objectState
|
|
|
|
name="projectNature"
|
|
|
|
value="org.eclipse.linuxtools.cdt.autotools.core.autotoolsNatureV2"/>
|
|
|
|
</or>
|
|
|
|
</visibility>
|
|
|
|
</objectContribution>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.cdt.core.CBuildConsole">
|
|
|
|
<CBuildConsole
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.CConfigureConsole"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.configureConsole"/>
|
|
|
|
<CBuildConsole
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.CBuildStepsConsole"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.buildStepsConsole">
|
|
|
|
</CBuildConsole>
|
|
|
|
<CBuildConsole
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.AutotoolsConsole"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.autotoolsConsole">
|
|
|
|
</CBuildConsole>
|
|
|
|
</extension>
|
|
|
|
<extension point="org.eclipse.core.contenttype.contentTypes">
|
|
|
|
<!-- declares a content type for automake files -->
|
|
|
|
<content-type id="org.eclipse.cdt.autotools.ui.automake" name="%Automake.name"
|
|
|
|
base-type="org.eclipse.core.runtime.text"
|
|
|
|
priority="high"/>
|
|
|
|
</extension>
|
|
|
|
<extension point="org.eclipse.core.contenttype.contentTypes">
|
|
|
|
<file-association
|
|
|
|
content-type="org.eclipse.cdt.autotools.ui.automake"
|
|
|
|
file-names="Makefile.am"
|
|
|
|
file-extensions="am"/>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.editors">
|
|
|
|
<editor
|
|
|
|
class="org.eclipse.cdt.autotools.ui.editors.AutoconfEditor"
|
|
|
|
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
|
|
|
|
default="true"
|
|
|
|
extensions="m4"
|
|
|
|
filenames="configure.in,configure.ac"
|
|
|
|
icon="icons/autoconf.gif"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.editor.autoconf"
|
|
|
|
name="%Autoconf.editor.name"/>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="org.eclipse.cdt.make.editor"
|
|
|
|
name="MakefileEditor"
|
|
|
|
point="org.eclipse.ui.editors">
|
|
|
|
<editor
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.editors.automake.AutomakeEditor"
|
|
|
|
contributorClass="org.eclipse.cdt.internal.autotools.ui.editors.automake.MakefileEditorActionContributor"
|
|
|
|
default="true"
|
|
|
|
extensions="am"
|
|
|
|
filenames="Makefile.am,Makefile.in"
|
|
|
|
icon="icons/automake.gif"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.editors.AutomakeEditor"
|
|
|
|
name="%AutomakeEditor.name">
|
|
|
|
<contentTypeBinding contentTypeId="org.eclipse.cdt.autotools.ui.automake"/>
|
|
|
|
</editor>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.contexts">
|
|
|
|
<context
|
|
|
|
description="%ACeditor.scope.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.editor.scope"
|
|
|
|
name="%ACeditor.scope.name"
|
|
|
|
parentId="org.eclipse.ui.textEditorScope"/>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.bindings">
|
|
|
|
<key
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.editors.text.show.tooltip"
|
|
|
|
contextId="org.eclipse.cdt.autotools.ui.editor.scope"
|
|
|
|
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
|
|
|
|
sequence="F2"/>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.commands">
|
|
|
|
<category
|
|
|
|
description="%CommandCategorySource.description"
|
|
|
|
id="org.eclipse.cdt.ui.category.source"
|
|
|
|
name="%CommandCategorySource.name"/>
|
|
|
|
<command
|
|
|
|
categoryId="org.eclipse.cdt.ui.category.source"
|
|
|
|
description="%ShowTooltip.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.editors.text.show.tooltip"
|
|
|
|
name="%ShowTooltip.name"/>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="parsefileerror"
|
|
|
|
name="Autotools Parse Error Marker"
|
|
|
|
point="org.eclipse.core.resources.markers">
|
|
|
|
<super type="org.eclipse.core.resources.problemmarker"/>
|
|
|
|
<super type="org.eclipse.core.resources.textmarker"/>
|
|
|
|
<persistent value="true"/>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="outlineparsefileerror"
|
|
|
|
name="Autotools Outline Page Parse Error"
|
|
|
|
point="org.eclipse.core.resources.markers">
|
|
|
|
<super type="org.eclipse.core.resources.problemmarker"/>
|
|
|
|
<super type="org.eclipse.core.resources.textmarker"/>
|
|
|
|
<persistent value="true"/>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="org.eclipse.linuxtools.cdt.autoconf.docsetup"
|
|
|
|
name="Autoconf Editor Setup"
|
|
|
|
point="org.eclipse.core.filebuffers.documentSetup">
|
|
|
|
<participant
|
|
|
|
class="org.eclipse.cdt.autotools.ui.editors.AutoconfDocumentSetupParticipant"
|
|
|
|
extensions="m4"
|
|
|
|
fileNames="configure.in,configure.ac"/>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.preferencePages">
|
|
|
|
<page
|
|
|
|
category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.preferences.AutotoolsPreferencePage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.preferences1"
|
2012-03-17 17:51:38 -07:00
|
|
|
name="%PreferenceAutotools.name">
|
2012-03-12 00:39:05 -04:00
|
|
|
</page>
|
|
|
|
<page
|
|
|
|
category="org.eclipse.cdt.autotools.ui.preferences1"
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.preferences.AutomakeEditorPreferencePage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.preferences.automake.editor1"
|
|
|
|
name="%PreferenceAutomakeEditor.name">
|
|
|
|
</page>
|
|
|
|
<page
|
|
|
|
category="org.eclipse.cdt.autotools.ui.preferences1"
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.preferences.AutoconfEditorPreferencePage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.preferences.autoconf.editor1"
|
|
|
|
name="%PreferenceAutoconfEditor.name">
|
|
|
|
</page>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.cdt.ui.cPropertyTab">
|
|
|
|
<tab
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsBuildPropertyPage"
|
|
|
|
icon="icons/autoconf.gif"
|
|
|
|
name="%AutotoolsBuildPropertyTab.name"
|
|
|
|
parent="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsHeadPropertyPage"
|
|
|
|
tooltip="%PropertyTabBuild.tooltip"
|
|
|
|
weight="002">
|
|
|
|
</tab>
|
|
|
|
<tab
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsEditorPropertyTab"
|
|
|
|
name="%AutotoolsEditorsPropertyTab.name"
|
|
|
|
parent="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsGeneralPropertyPage">
|
|
|
|
</tab>
|
|
|
|
<tab
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsToolsPropertyTab"
|
|
|
|
name="%AutotoolsToolsPropertyTab.name"
|
|
|
|
parent="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsGeneralPropertyPage">
|
|
|
|
</tab>
|
|
|
|
<tab
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsConfigurePropertyTab"
|
|
|
|
name="%AutotoolsConfigurePropertyTab.name"
|
|
|
|
parent="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsConfigurePropertyPage">
|
|
|
|
</tab>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.propertyPages">
|
|
|
|
<page
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsHeadPropertyPage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.propertypage"
|
|
|
|
name="%PropertyAutotools.name"
|
|
|
|
>
|
|
|
|
<filter
|
|
|
|
name="projectNature"
|
|
|
|
value="org.eclipse.cdt.autotools.core.autotoolsNatureV2">
|
|
|
|
</filter>
|
|
|
|
<enabledWhen>
|
|
|
|
<or>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IProject"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICProject"/>
|
|
|
|
|
|
|
|
<instanceof value="org.eclipse.core.resources.IFolder"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICContainer"/>
|
|
|
|
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ITranslationUnit"/>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IFile"/>
|
|
|
|
</or>
|
|
|
|
</enabledWhen>
|
|
|
|
</page>
|
|
|
|
<page
|
|
|
|
category="org.eclipse.cdt.autotools.ui.propertypage"
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsGeneralPropertyPage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.propertypage2"
|
|
|
|
name="%PropertyAutotools.general.name">
|
|
|
|
<filter
|
|
|
|
name="projectNature"
|
|
|
|
value="org.eclipse.cdt.autotools.core.autotoolsNatureV2">
|
|
|
|
</filter>
|
|
|
|
<enabledWhen>
|
|
|
|
<or>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IProject"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICProject"/>
|
|
|
|
|
|
|
|
<instanceof value="org.eclipse.core.resources.IFolder"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICContainer"/>
|
|
|
|
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ITranslationUnit"/>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IFile"/>
|
|
|
|
</or>
|
|
|
|
</enabledWhen>
|
|
|
|
</page>
|
|
|
|
<page
|
|
|
|
category="org.eclipse.cdt.autotools.ui.propertypage"
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsConfigurePropertyPage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.propertypage3"
|
|
|
|
name="%PropertyAutotools.configure.name">
|
|
|
|
<filter
|
|
|
|
name="projectNature"
|
|
|
|
value="org.eclipse.cdt.autotools.core.autotoolsNatureV2">
|
|
|
|
</filter>
|
|
|
|
<enabledWhen>
|
|
|
|
<or>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IProject"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICProject"/>
|
|
|
|
</or>
|
|
|
|
</enabledWhen>
|
|
|
|
</page>
|
|
|
|
<page
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsHeadPropertyPage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.propertypage4"
|
|
|
|
name="%PropertyAutotools.name"
|
|
|
|
>
|
|
|
|
<filter
|
|
|
|
name="projectNature"
|
|
|
|
value="org.eclipse.linuxtools.cdt.autotools.core.autotoolsNatureV2">
|
|
|
|
</filter>
|
|
|
|
<enabledWhen>
|
|
|
|
<or>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IProject"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICProject"/>
|
|
|
|
|
|
|
|
<instanceof value="org.eclipse.core.resources.IFolder"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICContainer"/>
|
|
|
|
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ITranslationUnit"/>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IFile"/>
|
|
|
|
</or>
|
|
|
|
</enabledWhen>
|
|
|
|
</page>
|
|
|
|
<page
|
|
|
|
category="org.eclipse.cdt.autotools.ui.propertypage4"
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsGeneralPropertyPage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.propertypage5"
|
|
|
|
name="%PropertyAutotools.general.name">
|
|
|
|
<filter
|
|
|
|
name="projectNature"
|
|
|
|
value="org.eclipse.linuxtools.cdt.autotools.core.autotoolsNatureV2">
|
|
|
|
</filter>
|
|
|
|
<enabledWhen>
|
|
|
|
<or>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IProject"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICProject"/>
|
|
|
|
|
|
|
|
<instanceof value="org.eclipse.core.resources.IFolder"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICContainer"/>
|
|
|
|
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ITranslationUnit"/>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IFile"/>
|
|
|
|
</or>
|
|
|
|
</enabledWhen>
|
|
|
|
</page>
|
|
|
|
<page
|
|
|
|
category="org.eclipse.cdt.autotools.ui.propertypage4"
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.properties.AutotoolsConfigurePropertyPage"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.propertypage6"
|
|
|
|
name="%PropertyAutotools.configure.name">
|
|
|
|
<filter
|
|
|
|
name="projectNature"
|
|
|
|
value="org.eclipse.linuxtools.cdt.autotools.core.autotoolsNatureV2">
|
|
|
|
</filter>
|
|
|
|
<enabledWhen>
|
|
|
|
<or>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IProject"/>
|
|
|
|
<instanceof value="org.eclipse.cdt.core.model.ICProject"/>
|
|
|
|
</or>
|
|
|
|
</enabledWhen>
|
|
|
|
</page>
|
|
|
|
</extension>
|
|
|
|
<!-- <extension
|
|
|
|
point="org.eclipse.ui.menus">
|
|
|
|
<menuContribution
|
|
|
|
locationURI="menu:project?after=additions">
|
|
|
|
<menu
|
|
|
|
id="invokeAutotools"
|
|
|
|
label="%InvokeAutotools.label"
|
|
|
|
mnemonic="%InvokeAutotools.mnemonic">
|
|
|
|
<visibleWhen
|
|
|
|
checkEnabled="false">
|
|
|
|
<and>
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
<test
|
|
|
|
property="org.eclipse.core.resources.projectNature"
|
|
|
|
value="org.eclipse.linuxtools.cdt.autotools.core.autotoolsNatureV2">
|
|
|
|
</test>
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</and>
|
|
|
|
</visibleWhen>
|
|
|
|
</menu>
|
|
|
|
</menuContribution>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.menus">
|
|
|
|
<menuContribution
|
|
|
|
locationURI="menu:project?after=additions">
|
|
|
|
<command
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.reconfigure"
|
|
|
|
id="reconfigure"
|
|
|
|
label="%Reconfigure.label"
|
|
|
|
mnemonic="%Reconfigure.mnemonic"
|
|
|
|
style="push">
|
|
|
|
<visibleWhen
|
|
|
|
checkEnabled="false">
|
|
|
|
<and>
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
<test
|
|
|
|
property="org.eclipse.core.resources.projectNature"
|
|
|
|
value="org.eclipse.linuxtools.cdt.autotools.core.autotoolsNatureV2">
|
|
|
|
</test>
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</and>
|
|
|
|
</visibleWhen>
|
|
|
|
</command>
|
|
|
|
</menuContribution>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.menus">
|
|
|
|
<menuContribution
|
|
|
|
locationURI="menu:invokeAutotools">
|
|
|
|
<command
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.autoconf"
|
|
|
|
id="autoconf"
|
|
|
|
label="%InvokeAutoconf.label"
|
|
|
|
mnemonic="%InvokeAutoconf.mnemonic"
|
|
|
|
style="push">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.autoheader"
|
|
|
|
id="autoheader"
|
|
|
|
label="%InvokeAutoheader.label"
|
|
|
|
mnemonic="%InvokeAutoheader.mnemonic"
|
|
|
|
style="push">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.automake"
|
|
|
|
id="automake"
|
|
|
|
label="%InvokeAutomake.label"
|
|
|
|
mnemonic="%InvokeAutomake.mnemonic"
|
|
|
|
style="push">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.autoreconf"
|
|
|
|
id="autoreconf"
|
|
|
|
label="%InvokeAutoreconf.label"
|
|
|
|
mnemonic="%InvokeAutoreconf.mnemonic"
|
|
|
|
style="push">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.aclocal"
|
|
|
|
id="aclocal"
|
|
|
|
label="%InvokeAclocal.label"
|
|
|
|
mnemonic="%InvokeAclocal.mnemonic"
|
|
|
|
style="push">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.libtoolize"
|
|
|
|
id="libtoolize"
|
|
|
|
label="%InvokeLibtoolize.label"
|
|
|
|
mnemonic="%InvokeLibtoolize.mnemonic"
|
|
|
|
style="push">
|
|
|
|
</command>
|
|
|
|
</menuContribution>
|
|
|
|
</extension> -->
|
|
|
|
<extension
|
|
|
|
id="org.eclipse.cdt.autotools.ui.commands"
|
|
|
|
name="Autoconf"
|
|
|
|
point="org.eclipse.ui.commands">
|
|
|
|
<category
|
|
|
|
id="org.eclipse.cdt.autotools.ui.category.invokeAutotools"
|
|
|
|
name="%InvokeAutotools.label">
|
|
|
|
</category>
|
|
|
|
<command
|
|
|
|
categoryId="org.eclipse.cdt.autotools.ui.category.invokeAutotools"
|
|
|
|
description="%InvokeAutoconf.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.command.autoconf"
|
|
|
|
name="%InvokeAutoconf.label">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
categoryId="org.eclipse.cdt.autotools.ui.category.invokeAutotools"
|
|
|
|
description="%InvokeAutoheader.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.command.autoheader"
|
|
|
|
name="%InvokeAutoheader.label">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
categoryId="org.eclipse.cdt.autotools.ui.category.invokeAutotools"
|
|
|
|
description="%InvokeAutomake.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.command.automake"
|
|
|
|
name="%InvokeAutomake.label">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
categoryId="org.eclipse.cdt.autotools.ui.category.invokeAutotools"
|
|
|
|
description="%InvokeAutoreconf.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.command.autoreconf"
|
|
|
|
name="%InvokeAutoreconf.label">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
categoryId="org.eclipse.cdt.autotools.ui.category.invokeAutotools"
|
|
|
|
description="%InvokeAclocal.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.command.aclocal"
|
|
|
|
name="%InvokeAclocal.label">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
categoryId="org.eclipse.cdt.autotools.ui.category.invokeAutotools"
|
|
|
|
description="%InvokeLibtoolize.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.command.libtoolize"
|
|
|
|
name="%InvokeLibtoolize.label">
|
|
|
|
</command>
|
|
|
|
<command
|
|
|
|
categoryId="org.eclipse.cdt.autotools.ui.category.invokeAutotools"
|
|
|
|
description="%Reconfigure.description"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.command.reconfigure"
|
|
|
|
name="%Reconfigure.label">
|
|
|
|
</command>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.handlers">
|
|
|
|
<handler
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.AutoconfHandler"
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.autoconf">
|
|
|
|
<activeWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</activeWhen>
|
|
|
|
<enabledWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</enabledWhen>
|
|
|
|
</handler>
|
|
|
|
<handler
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.AutoheaderHandler"
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.autoheader">
|
|
|
|
<activeWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</activeWhen>
|
|
|
|
<enabledWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</enabledWhen>
|
|
|
|
</handler>
|
|
|
|
<handler
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.AutomakeHandler"
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.automake">
|
|
|
|
<activeWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</activeWhen>
|
|
|
|
<enabledWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</enabledWhen>
|
|
|
|
</handler>
|
|
|
|
<handler
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.AutoreconfHandler"
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.autoreconf">
|
|
|
|
<activeWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</activeWhen>
|
|
|
|
<enabledWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</enabledWhen>
|
|
|
|
</handler>
|
|
|
|
<handler
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.AclocalHandler"
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.aclocal">
|
|
|
|
<activeWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</activeWhen>
|
|
|
|
<enabledWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</enabledWhen>
|
|
|
|
</handler>
|
|
|
|
<handler
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.LibtoolizeHandler"
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.libtoolize">
|
|
|
|
<activeWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</activeWhen>
|
|
|
|
<enabledWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</enabledWhen>
|
|
|
|
</handler>
|
|
|
|
<handler
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.actions.ReconfigureHandler"
|
|
|
|
commandId="org.eclipse.cdt.autotools.ui.command.reconfigure">
|
|
|
|
<activeWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</activeWhen>
|
|
|
|
<enabledWhen>
|
|
|
|
<with
|
|
|
|
variable="selection">
|
|
|
|
<count
|
|
|
|
value="1">
|
|
|
|
</count>
|
|
|
|
<iterate
|
|
|
|
ifEmpty="false"
|
|
|
|
operator="and">
|
|
|
|
<adapt
|
|
|
|
type="org.eclipse.core.resources.IResource">
|
|
|
|
</adapt>
|
|
|
|
</iterate>
|
|
|
|
</with>
|
|
|
|
</enabledWhen>
|
|
|
|
</handler>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.cdt.core.templates">
|
|
|
|
<template
|
|
|
|
id="org.eclipse.cdt.autotools.ui.template.emptyProject"
|
|
|
|
location="templates/projecttemplates/EmptyProject/template.xml"
|
|
|
|
projectType="org.eclipse.linuxtools.cdt.autotools.core.projectType">
|
|
|
|
</template>
|
|
|
|
<template
|
|
|
|
filterPattern=".*gcc"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.template.helloWorldCProject"
|
|
|
|
location="templates/projecttemplates/HelloWorldCAutotoolsProject/template.xml"
|
|
|
|
projectType="org.eclipse.linuxtools.cdt.autotools.core.projectType">
|
|
|
|
</template>
|
|
|
|
<template
|
|
|
|
filterPattern=".*g\+\+"
|
|
|
|
id="org.eclipse.cdt.autotools.ui.template.helloWorldCPPProject"
|
|
|
|
location="templates/projecttemplates/HelloWorldCPPAutotoolsProject/template.xml"
|
|
|
|
projectType="org.eclipse.linuxtools.cdt.autotools.core.projectType">
|
|
|
|
</template>
|
|
|
|
<template
|
|
|
|
id="org.eclipse.cdt.autotools.ui.template.autotoolsSharedLibraryProject"
|
|
|
|
location="templates/projecttemplates/AutotoolsSharedLibraryProject/template.xml"
|
|
|
|
projectType="org.eclipse.linuxtools.cdt.autotools.core.projectType">
|
|
|
|
</template>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.cdt.ui.CDTWizard">
|
|
|
|
<wizard
|
|
|
|
class="org.eclipse.cdt.internal.autotools.ui.wizards.AutotoolsBuildWizard"
|
|
|
|
name="%Autotools.wizard.name">
|
|
|
|
</wizard>
|
|
|
|
</extension>
|
|
|
|
</plugin>
|