From fbcf246a203587ee9031d77032332277873ee391 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Mon, 25 Apr 2011 18:27:06 +0000 Subject: bug 222817: Updated Managed Build System Extensibility Document Patch from Miwako Tokugawa --- .../Managed_Build_Extensibility.html | 107 +++++++++++++++++++-- 1 file changed, 99 insertions(+), 8 deletions(-) (limited to 'doc/org.eclipse.cdt.doc.isv') diff --git a/doc/org.eclipse.cdt.doc.isv/guide/mbs/extensibilityGuide/Managed_Build_Extensibility.html b/doc/org.eclipse.cdt.doc.isv/guide/mbs/extensibilityGuide/Managed_Build_Extensibility.html index 47fe067d3f6..dc405670378 100644 --- a/doc/org.eclipse.cdt.doc.isv/guide/mbs/extensibilityGuide/Managed_Build_Extensibility.html +++ b/doc/org.eclipse.cdt.doc.isv/guide/mbs/extensibilityGuide/Managed_Build_Extensibility.html @@ -93,7 +93,7 @@ managed build system and how to extend it. Chris Recoskie - Revision Date + Revision Date 10/21/2003 - Version: 0.1.0 @@ -115,7 +115,10 @@ managed build system and how to extend it. 06/22/07 - Version 4.0 - Change History + 02/23/11 - Version 4.0.1 + + + Change History 0.1.0 - Document Creation @@ -134,10 +137,13 @@ managed build system and how to extend it. 3.1 - Updated for CDT 3.1 - 4.0 Added link to + 4.0 - Added link to "what's new in 4.0" document + + 4.0.1 - Added Option/Category Enablement as of CDT 8.0 +
@@ -170,7 +176,8 @@ managed build system and how to extend it.
3.16 Resource Configuration
3.17 Environment Variable Build Path
3.18 Managed Build Revision
-
3.19 Dynamic Element Provider
+
3.19 Option/Category Enablement
+
3.20 Dynamic Element Provider
4 UI Representation
4.1 New Project Wizard
@@ -223,7 +230,9 @@ managed build system and how to extend it. the document describes the CDT Managed Build System (MBS) 3.x functionality. Although there have been lots of significant changes made to the Build System in the 4.0, the document still remains valid since all the 4.0 build system changes -were made by extending the MBS functionality described in this document.

+were made by extending the MBS functionality described in this document. +As of CDT 8.0, MBS 4.0 is still used although with a number of improvements +not necessarily reflected in this document.

Please refer to the "What's new in the CDT Build System 4.0" document for the list and description of @@ -3640,7 +3649,7 @@ list.

3.13.4 Option -Enablement/Applicability

+Applicability

This section will be provided in a future version of the document.

3.13.5 Schema

-

3.19 Dynamic Element Provider

+

3.19 Option/Category Enablement

+

Tool integrators may supply element enablement to make an element (such as option and option categories) conditionally available

+

3.19.1 Schema

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Attribute + Description + Required
+ type +

represents the applicability type for this enablement. +Can contain the following values:

+

UI_VISIBILITY - the given enablement expression specifies whether the option is to be visible in UI

+

UI_ENABLEMENT - the given enablement expression specifies the enable state of the controls that represent the option in UI

+

CMD_USAGE - the given enablement expression specifies whether the option is to be used in command line

+

CONTAINER_ATTRIBUTE - the given enablement expressions specifies the container attribute value

+

ALL - the combination of all the above values

+Several types could be specified simultaneously using the "|" as a delimiter, e.g.: +type="UI_VISIBILITY|CMD_USAGE" +
+ yes
attribute + +

used with the CONTAINER_ATTRIBUTE enablement to specify the name of the attribute for which this enablement applies. Currently the following option attributes are supported: +"command" +"commandFalse" +"defaultValue" +"value" +"artifactExtension" +

no
value + +

used with the CONTAINER_ATTRIBUTE enablement to specify the value of the attribute specified in the attribute for which this enablement applies. +

no
extensionAdjustment + +

used with the CONTAINER_ATTRIBUTE enablement. true specifies the enablement is defined for adjusting extension elements. false specifies the enablement is defined for non-extension element adjustment. Default value is true. + +

no
+ +

3.20 Dynamic Element Provider

Tool integrators may supply this element to dynamically provide the definitions that are otherwise specified in the buildDefinitions extension point.  Each configuration element returned from this IManagedConfigElementProvider interface is treated as if it were a direct sub-child of a buildDefinitions extension. As such it should conform to buildDefinitions.exsd. The only exception is it should not contain nested dynamicElementProvider elements.

-

3.19.1 Schema

+

3.20.1 Schema

-- cgit v1.2.3