# Converter

###### Identifier:

org.eclipse.cdt.managedbuilder.core.Converter

###### Since:

CDT version 3.0

###### Description:

This extension point allows a tool integrator to contribute a project-type/tool-chain/tool/builder converter to MBS.

###### Configuration Markup:

<!ELEMENT extension (converter+)>

<!ATTLIST extension

point CDATA #REQUIRED

name CDATA #IMPLIED

id CDATA #IMPLIED>

<!ELEMENT converter EMPTY>

<!ATTLIST converter

fromId CDATA #REQUIRED

toId CDATA #REQUIRED

mbsVersion CDATA #REQUIRED

class CDATA #REQUIRED

id CDATA #REQUIRED

name CDATA #REQUIRED>

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.

- fromId - The 'fromId' is project-type/tool-chain/tool/builder id - a regular expression.
- toId - The 'toId' is project-type/tool-chain/tool/builder id - a regular expression.
- mbsVersion - The MBS version the converter was written for.
- class - The class that implements the IConvertManagedBuildObject interface
- id - The id of the converter
- name - The name of the converter that is used in User Interface to display to the user

###### Examples:

          <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>

###### API Information:

Plugins that want to extend this extension point must implement "org.eclipse.cdt.managedbuilder.core.IConvertManagedBuildObject" interface

###### Supplied Implementation:

"Example plugin" has default implementation of the converter

Copyright (c) 2005 Intel Corporation and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ Contributors: Intel Corporation - Initial API and implementation