blob: 545f3616172ae216b39bc68ebf11a7842aef2aa4 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.osbp.dsl.xtext.lazyresolver.api" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.osbp.dsl.xtext.lazyresolver.api" 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>
Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (Heidelberg)&lt;br&gt;
All rights reserved. This program and the accompanying materials&lt;br&gt;
are made available under the terms of the Eclipse Public License v1.0&lt;br&gt;
which accompanies this distribution, and is available at&lt;br&gt;
http://www.eclipse.org/legal/epl-v10.html&lt;br&gt;
&lt;p&gt;
Contributors:
Florian Pirchner - Initial implementation
&lt;/p&gt;
</documentation>
</annotation>
</schema>