blob: d39d8f4ebb535186e64df99d995f1c12cea277f9 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ogee.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.ogee.core" id="odata_model" name="OData Model"/>
</appinfo>
<documentation>
This extension-point represents an OData Model for creating a new OData service file.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="odata_model"/>
</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>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="odata_model">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The id of the OData model importer.
</documentation>
</annotation>
</attribute>
<attribute name="displayName" type="string" use="required">
<annotation>
<documentation>
The display name of the OData model importer.
This will appear in the wizard&apos;s New OData Service page.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="description" type="string" use="required">
<annotation>
<documentation>
The description of the OData model importer.
This will appear in the wizard&apos;s New OData Service page.
</documentation>
<appinfo>
<meta.attribute translatable="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="icon" type="string">
<annotation>
<documentation>
The icon of the OData model importer.
This will appear in the wizard&apos;s New OData Service page.
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
<attribute name="ODataModelProvider" type="string" use="required">
<annotation>
<documentation>
The IODataModelProvider interface to be implemented by service implementation extension.
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.eclipse.ogee.core.extensions.odata.model.IODataModelProvider"/>
</appinfo>
</annotation>
</attribute>
<attribute name="wizardType" use="required">
<annotation>
<documentation>
There are 2 types of wizard: new wizard and import wizard.
OData model extension can be shown in new wizard or import wizard or in both wizards.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="all">
</enumeration>
<enumeration value="newWizard">
</enumeration>
<enumeration value="importWizard">
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="sortCategory" use="default" value="2">
<annotation>
<documentation>
OData model extension sort position in the New OData Service page is defined by its sort category. The default category is 2. This mean that the extension will be shown at the end of extensions list.
0 means to place the extension at the beginning of the extensions list.
1 means to place the extension at the middle of the extensions list.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="0">
</enumeration>
<enumeration value="1">
</enumeration>
<enumeration value="2">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
0.6.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
&lt;p&gt;
&lt;pre&gt;
&lt;!-- Example of a Blank OData model extension --&gt;
&lt;extension
point=&quot;org.eclipse.ogee.serviceModel&quot;&gt;
&lt;odata_model
ODataModelProvider=&quot;org.eclipse.ogee.wizard.model.extensions.blank.BlankODataModelProvider&quot;
description=&quot;Create a new OData service from scratch.&quot;
displayName=&quot;Blank Service&quot;
id=&quot;org.eclipse.ogee.wizard.model.extensions.blank&quot;
sortCategory=&quot;0&quot;
sort_category=&quot;0&quot;
wizardType=&quot;newWizard&quot;&gt;
&lt;/odata_model&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
&lt;br&gt;
Plug-ins that want to extend this extension point must implement the &lt;samp&gt;org.eclipse.ogee.core.extensions.odata.model.IODataModelProvider&lt;/samp&gt; interface.
&lt;br&gt;
When implementing this interface you will get the following methods:
&lt;p&gt;
&lt;pre&gt;
/**
* Creates OData OData model EDMXSet object.
* @return EDMXSet of the service
*/
public EDMXSet createModel();
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
&lt;br&gt;
1. &lt;samp&gt;org.eclipse.ogee.wizard.model.extensions.blank&lt;/samp&gt; plugin provides blank OData model.
&lt;br&gt;
2. &lt;samp&gt;org.eclipse.ogee.wizard.model.extensions.url&lt;/samp&gt; plugin provides OData model from service url.
&lt;br&gt;
3. &lt;samp&gt;org.eclipse.ogee.wizard.model.extensions.file&lt;/samp&gt; plugin provides OData model from service metadata file.
</documentation>
</annotation>
</schema>