blob: 67e983d0c682433478f0d6a6ab75797fccd921b3 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.osbp.xtext.oxtype" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.osbp.xtext.oxtype" id="runtimeGeneratorDelegate" name="Runtime Generator Delegate"/>
</appinfo>
<documentation>
This extension point allow clients to provide their own Guice Modules for specific grammars.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="runtimeModulesProvider"/>
</sequence>
<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>
</annotation>
</attribute>
</complexType>
</element>
<element name="runtimeModulesProvider">
<complexType>
<attribute name="prio" type="string" use="default" value="0">
<annotation>
<documentation>
Modules with the lowest prio are applied to the injector first. Modules with higher prios will override lower priorized.
</documentation>
</annotation>
</attribute>
<attribute name="grammarName" type="string" use="required">
<annotation>
<documentation>
A string identifier defining the name of the grammar the hook should be used for.
</documentation>
</annotation>
</attribute>
<attribute name="module" type="string">
<annotation>
<documentation>
Class implementing &lt;code&gt;com.google.inject.Module&lt;/code&gt;. Used to create a new Guice Injector.
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":com.google.inject.Module"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
0.9.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
</documentation>
</annotation>
</schema>