diff options
author | Leo Treggiari | 2005-06-10 15:22:01 +0000 |
---|---|---|
committer | Leo Treggiari | 2005-06-10 15:22:01 +0000 |
commit | 92e840899d033d630edb865a9bfd65d8e800ac34 (patch) | |
tree | afbaff28ea49e7e0b05de3827975de5ab8e7ba88 /build/org.eclipse.cdt.managedbuilder.core/schema | |
parent | cc72de6f6088c1e66777e87a388d9432fdc95c7c (diff) | |
download | org.eclipse.cdt-92e840899d033d630edb865a9bfd65d8e800ac34.tar.gz org.eclipse.cdt-92e840899d033d630edb865a9bfd65d8e800ac34.tar.xz org.eclipse.cdt-92e840899d033d630edb865a9bfd65d8e800ac34.zip |
Apply patch from Sunil Davasam for multi-version and converter support
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core/schema')
-rw-r--r-- | build/org.eclipse.cdt.managedbuilder.core/schema/Converter.exsd | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/schema/Converter.exsd b/build/org.eclipse.cdt.managedbuilder.core/schema/Converter.exsd new file mode 100644 index 00000000000..4369b10761e --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core/schema/Converter.exsd @@ -0,0 +1,163 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.cdt.managedbuilder.core"> +<annotation> + <appInfo> + <meta.schema plugin="org.eclipse.cdt.managedbuilder.core" id="Converter" name="Converter"/> + </appInfo> + <documentation> + This extension point allows a tool integrator to contribute a project-type/tool-chain/tool/builder converter to MBS. + </documentation> + </annotation> + + <element name="extension"> + <complexType> + <sequence> + <element ref="converter" minOccurs="1" maxOccurs="unbounded"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <attribute name="id" type="string"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <element name="converter"> + <annotation> + <documentation> + This extension point allows a tool integrator to contribute a project-type/tool-chain/tool/builder converter to MBS. Converters can be used to upgrade to newer versions, change the project-type, or to perform conversions between different tool chains/tools/buiders. + </documentation> + </annotation> + <complexType> + <attribute name="fromId" type="string" use="required"> + <annotation> + <documentation> + The 'fromId' is project-type/tool-chain/tool/builder id - a regular expression. + </documentation> + </annotation> + </attribute> + <attribute name="toId" type="string" use="required"> + <annotation> + <documentation> + The 'toId' is project-type/tool-chain/tool/builder id - a regular expression. + </documentation> + </annotation> + </attribute> + <attribute name="mbsVersion" type="string" use="required"> + <annotation> + <documentation> + The MBS version the converter was written for. + </documentation> + </annotation> + </attribute> + <attribute name="class" type="string" use="required"> + <annotation> + <documentation> + The class that implements the IConvertManagedBuildObject interface + </documentation> + <appInfo> + <meta.attribute kind="java"/> + </appInfo> + </annotation> + </attribute> + <attribute name="id" type="string" use="required"> + <annotation> + <documentation> + The id of the converter + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string" use="required"> + <annotation> + <documentation> + The name of the converter that is used in User Interface to display to the user + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appInfo> + <meta.section type="since"/> + </appInfo> + <documentation> + CDT version 3.0 + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="examples"/> + </appInfo> + <documentation> + <p> + <pre> + <extension point="org.eclipse.cdt.managedbuilder.core.converter"> + <converter + fromId="project-type/tool-chain/tool/builder id" + toId="project-type/tool-chain/tool/builder id" + mbsVersion="The MBS version the converter was written for" + class="org.eclipse.cdt.managedbuilder.core.GccConverter"> + </converter> + </extension> + </pre> + </p> + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="apiInfo"/> + </appInfo> + <documentation> + Plugins that want to extend this extension point must implement +"org.eclipse.cdt.managedbuilder.core.IConvertManagedBuildObject" interface + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="implementation"/> + </appInfo> + <documentation> + "Example plugin" has default implementation of the converter + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="copyright"/> + </appInfo> + <documentation> + /********************************************************************** + * Copyright (c) 2005 Intel Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * Intel Corporation - Initial API and implementation + **********************************************************************/ + </documentation> + </annotation> + +</schema> |