| <?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.linuxtools.internal.cdt.autotools.ui.wizards.ConvertToAutotoolsProjectWizard" |
| finalPerspective="org.eclipse.cdt.ui.CPerspective" |
| hasPages="true" |
| icon="icons/ac16/convert_normal.gif" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.wizards.conversionWizard" |
| name="%ConvertWizard.name"> |
| <description> |
| %ConvertWizard.description |
| </description> |
| <selection class="org.eclipse.core.resources.IProject"/> |
| </wizard> |
| <!-- |
| <wizard |
| category="org.eclipse.cdt.ui.newCWizards" |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.wizards.AutotoolsNewCProjectWizardV2" |
| finalPerspective="org.eclipse.cdt.ui.CPerspective" |
| hasPages="true" |
| icon="icons/elcl16/newc_app.gif" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.wizard.c.v2" |
| name="%NewCWizardV2.name" |
| project="true"> |
| <description> |
| %NewCProjectV2.description |
| </description> |
| <selection |
| class="org.eclipse.core.resources.IProject"> |
| </selection> |
| </wizard> |
| <wizard |
| category="org.eclipse.cdt.ui.newCWizards" |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.wizards.AutotoolsNewCCProjectWizardV2" |
| finalPerspective="org.eclipse.cdt.ui.CPerspective" |
| hasPages="true" |
| icon="icons/elcl16/newcc_app.gif" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.wizard.cc.v2" |
| name="%NewCCWizardV2.name" |
| project="true"> |
| <description> |
| %NewCCProjectV2.description |
| </description> |
| <selection |
| class="org.eclipse.core.resources.IProject"> |
| </selection> |
| </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.linuxtools.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 |
| id="org.eclipse.linuxtools.cdt.autotools.ui.popup1" |
| point="org.eclipse.ui.popupMenus"> |
| <objectContribution |
| adaptable="true" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.objectContribution.autoconf" |
| nameFilter="configure.ac" |
| objectClass="org.eclipse.core.resources.IResource"> |
| <action |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.actions.InvokeAutoconfAction" |
| enablesFor="1" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.action.autoconf1" |
| label="%InvokeAutoconf.label" |
| menubarPath="additions"> |
| </action> |
| </objectContribution> |
| <objectContribution |
| adaptable="true" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.objectContribution.autoconf2" |
| nameFilter="configure.in" |
| objectClass="org.eclipse.core.resources.IResource"> |
| <action |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.actions.InvokeAutoconfAction" |
| enablesFor="1" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.action2" |
| label="%InvokeAutoconf.label" |
| menubarPath="additions"> |
| </action> |
| </objectContribution> |
| </extension> |
| <extension |
| point="org.eclipse.cdt.core.CBuildConsole"> |
| <CBuildConsole |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.CConfigureConsole" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.configureConsole"/> |
| <CBuildConsole |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.CBuildStepsConsole" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.buildStepsConsole"> |
| </CBuildConsole> |
| <CBuildConsole |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.AutotoolsConsole" |
| id="org.eclipse.linuxtools.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.linuxtools.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.linuxtools.cdt.autotools.ui.automake" |
| file-names="Makefile.am" |
| file-extensions="am"/> |
| </extension> |
| <extension |
| point="org.eclipse.ui.editors"> |
| <editor |
| class="org.eclipse.linuxtools.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.linuxtools.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.linuxtools.internal.cdt.autotools.ui.editors.automake.AutomakeEditor" |
| contributorClass="org.eclipse.linuxtools.internal.cdt.autotools.ui.editors.automake.MakefileEditorActionContributor" |
| default="true" |
| extensions="am" |
| filenames="Makefile.am,Makefile.in" |
| icon="icons/automake.gif" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.editors.AutomakeEditor" |
| name="%AutomakeEditor.name"> |
| <contentTypeBinding contentTypeId="org.eclipse.linuxtools.cdt.autotools.ui.automake"/> |
| </editor> |
| </extension> |
| <extension |
| point="org.eclipse.ui.contexts"> |
| <context |
| description="%ACeditor.scope.description" |
| id="org.eclipse.linuxtools.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.linuxtools.cdt.autotools.ui.editors.text.show.tooltip" |
| contextId="org.eclipse.linuxtools.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.linuxtools.cdt.ui.category.source" |
| name="%CommandCategorySource.name"/> |
| <command |
| categoryId="org.eclipse.linuxtools.cdt.ui.category.source" |
| description="%ShowTooltip.description" |
| id="org.eclipse.linuxtools.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.linuxtools.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.linuxtools.internal.cdt.autotools.ui.preferences.AutotoolsPreferencePage" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.preferences1" |
| name="%PreferenceAutotools.name"> |
| </page> |
| <page |
| category="org.eclipse.linuxtools.cdt.autotools.ui.preferences1" |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.preferences.AutomakeEditorPreferencePage" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.preferences.automake.editor1" |
| name="%PreferenceAutomakeEditor.name"> |
| </page> |
| <page |
| category="org.eclipse.linuxtools.cdt.autotools.ui.preferences1" |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.preferences.AutoconfEditorPreferencePage" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.preferences.autoconf.editor1" |
| name="%PreferenceAutoconfEditor.name"> |
| </page> |
| </extension> |
| <extension |
| point="org.eclipse.cdt.ui.cPropertyTab"> |
| <tab |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsBuildPropertyPage" |
| icon="icons/autoconf.gif" |
| name="%AutotoolsBuildPropertyTab.name" |
| parent="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsHeadPropertyPage" |
| tooltip="%PropertyTabBuild.tooltip" |
| weight="002"> |
| </tab> |
| <tab |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsEditorPropertyTab" |
| name="%AutotoolsEditorsPropertyTab.name" |
| parent="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsGeneralPropertyPage"> |
| </tab> |
| <tab |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsToolsPropertyTab" |
| name="%AutotoolsToolsPropertyTab.name" |
| parent="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsGeneralPropertyPage"> |
| </tab> |
| <tab |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsConfigurePropertyTab" |
| name="%AutotoolsConfigurePropertyTab.name" |
| parent="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsConfigurePropertyPage"> |
| </tab> |
| </extension> |
| <extension |
| point="org.eclipse.ui.propertyPages"> |
| <page |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsHeadPropertyPage" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.propertypage" |
| 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.linuxtools.cdt.autotools.ui.propertypage" |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsGeneralPropertyPage" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.propertypage2" |
| 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.linuxtools.cdt.autotools.ui.propertypage" |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.properties.AutotoolsConfigurePropertyPage" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.propertypage3" |
| 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.linuxtools.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.linuxtools.cdt.autotools.ui.command.autoconf" |
| id="autoconf" |
| label="%InvokeAutoconf.label" |
| mnemonic="%InvokeAutoconf.mnemonic" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.linuxtools.cdt.autotools.ui.command.autoheader" |
| id="autoheader" |
| label="%InvokeAutoheader.label" |
| mnemonic="%InvokeAutoheader.mnemonic" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.linuxtools.cdt.autotools.ui.command.automake" |
| id="automake" |
| label="%InvokeAutomake.label" |
| mnemonic="%InvokeAutomake.mnemonic" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.linuxtools.cdt.autotools.ui.command.autoreconf" |
| id="autoreconf" |
| label="%InvokeAutoreconf.label" |
| mnemonic="%InvokeAutoreconf.mnemonic" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.linuxtools.cdt.autotools.ui.command.aclocal" |
| id="aclocal" |
| label="%InvokeAclocal.label" |
| mnemonic="%InvokeAclocal.mnemonic" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.linuxtools.cdt.autotools.ui.command.libtoolize" |
| id="libtoolize" |
| label="%InvokeLibtoolize.label" |
| mnemonic="%InvokeLibtoolize.mnemonic" |
| style="push"> |
| </command> |
| </menuContribution> |
| </extension> |
| <extension |
| id="org.eclipse.linuxtools.cdt.autotools.ui.commands" |
| name="Autoconf" |
| point="org.eclipse.ui.commands"> |
| <category |
| id="org.eclipse.linuxtools.cdt.autotools.ui.category.invokeAutotools" |
| name="%InvokeAutotools.label"> |
| </category> |
| <command |
| categoryId="org.eclipse.linuxtools.cdt.autotools.ui.category.invokeAutotools" |
| description="%InvokeAutoconf.description" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.command.autoconf" |
| name="%InvokeAutoconf.label"> |
| </command> |
| <command |
| categoryId="org.eclipse.linuxtools.cdt.autotools.ui.category.invokeAutotools" |
| description="%InvokeAutoheader.description" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.command.autoheader" |
| name="%InvokeAutoheader.label"> |
| </command> |
| <command |
| categoryId="org.eclipse.linuxtools.cdt.autotools.ui.category.invokeAutotools" |
| description="%InvokeAutomake.description" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.command.automake" |
| name="%InvokeAutomake.label"> |
| </command> |
| <command |
| categoryId="org.eclipse.linuxtools.cdt.autotools.ui.category.invokeAutotools" |
| description="%InvokeAutoreconf.description" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.command.autoreconf" |
| name="%InvokeAutoreconf.label"> |
| </command> |
| <command |
| categoryId="org.eclipse.linuxtools.cdt.autotools.ui.category.invokeAutotools" |
| description="%InvokeAclocal.description" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.command.aclocal" |
| name="%InvokeAclocal.label"> |
| </command> |
| <command |
| categoryId="org.eclipse.linuxtools.cdt.autotools.ui.category.invokeAutotools" |
| description="%InvokeLibtoolize.description" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.command.libtoolize" |
| name="%InvokeLibtoolize.label"> |
| </command> |
| <command |
| categoryId="org.eclipse.linuxtools.cdt.autotools.ui.category.invokeAutotools" |
| description="%Reconfigure.description" |
| id="org.eclipse.linuxtools.cdt.autotools.ui.command.reconfigure" |
| name="%Reconfigure.label"> |
| </command> |
| </extension> |
| <extension |
| point="org.eclipse.ui.handlers"> |
| <handler |
| class="org.eclipse.linuxtools.internal.cdt.autotools.ui.actions.AutoconfHandler" |
| commandId="org.eclipse.linuxtools.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.linuxtools.internal.cdt.autotools.ui.actions.AutoheaderHandler" |
| commandId="org.eclipse.linuxtools.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.linuxtools.internal.cdt.autotools.ui.actions.AutomakeHandler" |
| commandId="org.eclipse.linuxtools.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.linuxtools.internal.cdt.autotools.ui.actions.AutoreconfHandler" |
| commandId="org.eclipse.linuxtools.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.linuxtools.internal.cdt.autotools.ui.actions.AclocalHandler" |
| commandId="org.eclipse.linuxtools.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.linuxtools.internal.cdt.autotools.ui.actions.LibtoolizeHandler" |
| commandId="org.eclipse.linuxtools.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.linuxtools.internal.cdt.autotools.ui.actions.ReconfigureHandler" |
| commandId="org.eclipse.linuxtools.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.linuxtools.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.linuxtools.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.linuxtools.cdt.autotools.ui.template.helloWorldCPPProject" |
| location="templates/projecttemplates/HelloWorldCPPAutotoolsProject/template.xml" |
| projectType="org.eclipse.linuxtools.cdt.autotools.core.projectType"> |
| </template> |
| <template |
| id="org.eclipse.linuxtools.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.linuxtools.internal.cdt.autotools.ui.wizards.AutotoolsBuildWizard" |
| name="%Autotools.wizard.name"> |
| </wizard> |
| </extension> |
| </plugin> |