Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2003-05-21 16:30:00 +0000
committerDoug Schaefer2003-05-21 16:30:00 +0000
commit7b1c64d5fe4a293fbeb9decf07bb5eaec28090e0 (patch)
treee1f479962f95cec64f0ed1bfce656b70aaee9320 /core/org.eclipse.cdt.ui.tests/plugin.xml
parent188519819460c20ea2781c622bf74dcca6bfaecb (diff)
downloadorg.eclipse.cdt-7b1c64d5fe4a293fbeb9decf07bb5eaec28090e0.tar.gz
org.eclipse.cdt-7b1c64d5fe4a293fbeb9decf07bb5eaec28090e0.tar.xz
org.eclipse.cdt-7b1c64d5fe4a293fbeb9decf07bb5eaec28090e0.zip
Patch for Sean Evoy:
Core 1. Added 2 new option types: Boolean and enumerated 2. Changed the IOption interface to get new option type values 3. In plugin manifest and IOption interface added concept of a default enumerated value to support on-going GUI work 4. In plugin manifest and IOption, added field to map the actual command line argument with the option for makefile generation. Tests 1. Changed the plugin.xml manifest to match the new option types 2. AllBuildTests.java updated to test new option types and fields added in core
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests/plugin.xml')
-rw-r--r--core/org.eclipse.cdt.ui.tests/plugin.xml34
1 files changed, 31 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/plugin.xml b/core/org.eclipse.cdt.ui.tests/plugin.xml
index 9a6b943315..02f6f9e05e 100644
--- a/core/org.eclipse.cdt.ui.tests/plugin.xml
+++ b/core/org.eclipse.cdt.ui.tests/plugin.xml
@@ -105,7 +105,8 @@
id="category">
</optionCategory>
<option
- name="Option in Top"
+ name="List Option in Top"
+ command="-L"
valueType="stringList"
id="topOption">
<optionValue
@@ -116,12 +117,38 @@
</optionValue>
</option>
<option
- name="Option in Category"
+ defaultValue="false"
+ name="Boolean Option in Top"
+ command="-b"
+ valueType="boolean"
+ id="topBoolOption">
+ </option>
+ <option
+ defaultValue="x"
+ name="String Option in Category"
category="category"
- value="x"
valueType="string"
id="childOption">
</option>
+ <option
+ name="Enumerated Option in Category"
+ category="category"
+ valueType="enumerated"
+ id="child.enumerated.option">
+ <optionEnum
+ name="Default Enum"
+ value="s"
+ isDefault="true"
+ command="-e1"
+ id="default.enum.option">
+ </optionEnum>
+ <optionEnum
+ name="Another Enum"
+ value="t"
+ command="-e2"
+ id="another.enum.option">
+ </optionEnum>
+ </option>
</tool>
<configuration
name="Root Config"
@@ -133,6 +160,7 @@
<toolRef
id="root.tool">
<optionRef
+ defaultValue="y"
value="y"
id="childOption">
</optionRef>

Back to the top