1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.ui.tests/plugin.xml
Torbjörn Svensson aef0eaee8c Bug 539882: Applicability calculator should be called with option category
In some situations, it's convenient to create option categories on the
abstract tool and use an option applicability calculator to hide the
option category if no option is added to the category in an extending
instance of the tool.
To make the decision, the calculator needs to know what category is
to be checked.

Change-Id: Id4a269ee583f1f3dee88dee797ba89a0e92d1a42
Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2018-10-09 05:47:15 -04:00

115 lines
5.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.cdt.managedbuilder.ui.newWizardPages">
<wizardPage
ID="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.AlwaysPresentWizardPage"
operationClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.TestRunnable"
pageClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.AlwaysPresentWizardPage"/>
<wizardPage
ID="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.NatureAWizardPage"
pageClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.NatureAWizardPage">
<nature natureID="A"/>
</wizardPage>
<wizardPage
ID="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.NatureBWizardPage"
pageClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.NatureBWizardPage">
<nature natureID="B"/>
</wizardPage>
<wizardPage
ID="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ToolchainCWizardPage"
pageClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ToolchainCWizardPage">
<toolchain toolchainID="C"/>
</wizardPage>
<wizardPage
ID="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ToolchainCv20WizardPage"
pageClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ToolchainCv20WizardPage">
<toolchain
toolchainID="C"
versionsSupported="2.0.0"/>
</wizardPage>
<wizardPage
ID="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ProjectTypeDWizardPage"
pageClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ProjectTypeDWizardPage">
<projectType projectTypeID="D"/>
</wizardPage>
<wizardPage
ID="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ProjectTypeEWizardPage"
pageClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ProjectTypeEWizardPage">
<projectType projectTypeID="E"/>
</wizardPage>
<wizardPage
ID="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ToolchainFWizardPage"
pageClass="org.eclipse.cdt.managedbuilder.ui.tests.wizardPages.ToolchainFWizardPage">
<toolchain toolchainID="F"/>
</wizardPage>
</extension>
<extension
id="cdt.test.ToolListContentProvider.toolchain"
point="org.eclipse.cdt.managedbuilder.core.buildDefinitions">
<projectType
id="cdt.managedbuild.target.ToolListContentProvider.exe"
isAbstract="false"
isTest="true">
<configuration
id="cdt.managedbuild.config.ToolListContentProvider.exe.debug"
name="ToolListContentProvider">
<toolChain
id="cdt.managedbuild.toolchain.ToolListContentProvider.exe.debug"
isSystem="true">
<targetPlatform
id="cdt.managedbuild.target.ToolListContentProvider.platform.exe.debug">
</targetPlatform>
<builder
id="cdt.managedbuild.target.ToolListContentProvider.builder.exe.debug">
</builder>
<optionCategory
applicabilityCalculator="org.eclipse.cdt.managedbuilder.ui.tests.properties.HideEmptyOptionCategoryApplicabilityCalculator"
id="ToolListContentProvider.toolchain.empty.category1"
name="ToolListContentProvider.toolchain.empty.category1">
</optionCategory>
<option
category="ToolListContentProvider.toolchain.empty.category1"
id="ToolListContentProvider.toolchain.empty.option1"
isAbstract="false"
resourceFilter="all"
valueType="string">
</option>
<optionCategory
applicabilityCalculator="org.eclipse.cdt.managedbuilder.ui.tests.properties.HideEmptyOptionCategoryApplicabilityCalculator"
id="ToolListContentProvider.toolchain.empty.category2"
name="ToolListContentProvider.toolchain.empty.category2">
</optionCategory>
<tool
id="ToolListContentProvider.tool.empty1"
isAbstract="false"
superClass=" ">
<optionCategory
applicabilityCalculator="org.eclipse.cdt.managedbuilder.ui.tests.properties.HideEmptyOptionCategoryApplicabilityCalculator"
id="ToolListContentProvider.tool.empty.category1"
name="ToolListContentProvider.tool.empty.category1">
</optionCategory>
<option
category="ToolListContentProvider.tool.empty.category1"
id="ToolListContentProvider.tool.empty.option1"
isAbstract="false"
resourceFilter="all"
valueType="string">
</option>
<optionCategory
applicabilityCalculator="org.eclipse.cdt.managedbuilder.ui.tests.properties.HideEmptyOptionCategoryApplicabilityCalculator"
id="ToolListContentProvider.tool.empty.category2"
name="ToolListContentProvider.tool.empty.category2">
</optionCategory>
</tool>
</toolChain>
</configuration>
</projectType>
</extension>
</plugin>