blob: 72cfb296eed9b038cee8e2ba26e4751ef2155970 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.dltk.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.dltk.core" id="model" name="model"/>
</appInfo>
<documentation>
Used to provide some custom element to DLTK strucure model.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="model"/>
<element ref="projectFragment"/>
</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="model">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
Model identifier
</documentation>
</annotation>
</attribute>
<attribute name="language" type="string" use="required">
<annotation>
<documentation>
Language identifier. (Nature)
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Class implementing IModelProvider to build structure
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.dltk.core.IModelProvider"/>
</appInfo>
</annotation>
</attribute>
<attribute name="requires" type="string">
<annotation>
<documentation>
Specify identifier required to be executed before this one.
Be aware we are not checking for cyclic dependencies.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="projectFragment">
<complexType>
<attribute name="nature" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Class implementing IProjectFragmentFactory to create special implementations of IProjectFragments
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.dltk.core.IProjectFragmentFactory"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
Since 1.0
</documentation>
</annotation>
</schema>