blob: 7b60f913ef455ca50b569f56e8d3088afa80c233 [file]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.papyrus.codegen.extensionpoints" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.papyrus.codegen.extensionpoints" id="languageCodegen" name="languageCodegen"/>
</appInfo>
<documentation>
[Enter description of this extension point.]
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="generator"/>
</choice>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="generator">
<complexType>
<attribute name="id" type="string">
<annotation>
<documentation>
ID of a code generator, currently optional for backward compatibility.
</documentation>
</annotation>
</attribute>
<attribute name="language" type="string" use="required">
<annotation>
<documentation>
Programming language supported by the code generator
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
A class that provides access to the code generator. It must implement the ILangCodegen interface.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.papyrus.codegen.extensionpoints.ILangCodegen"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
</schema>