blob: dcd22465a88d7bd74011da9486e171249eeb0f12 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.emf.compare.rcp" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.emf.compare.rcp" id="weightProvider" name="Weight Provider"/>
</appinfo>
<documentation>
This extension point can be used for customizing the weight provider used for comparison.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="provider" minOccurs="1" maxOccurs="unbounded"/>
</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="provider">
<complexType>
<attribute name="label" type="string" use="required">
<annotation>
<documentation>
Label of the provider.
</documentation>
</annotation>
</attribute>
<attribute name="description" type="string" use="required">
<annotation>
<documentation>
Description of the provider.
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
Unique identifier of the provider.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string">
<annotation>
<documentation>
Implementation of the weight provider.
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.eclipse.emf.compare.match.eobject.WeightProvider"/>
</appinfo>
</annotation>
</attribute>
<attribute name="ranking" type="string" use="required">
<annotation>
<documentation>
Rank of the provider. The provider with the highest rank is used by default. (integer value)
</documentation>
</annotation>
</attribute>
<attribute name="nsURI" type="string" use="required">
<annotation>
<documentation>
The pattern of namespace URI on which this weight provider can be applied.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
2.2.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
&lt;extension point=&quot;org.eclipse.emf.compare.rcp.weightProvider&quot;&gt;
&lt;provider
description=&quot;Default implementation of the weight provider provided by EMF Compare.&quot;
id=&quot;org.eclipse.emf.compare.rcp.default.weightProvider&quot;
impl=&quot;org.eclipse.emf.compare.match.eobject.DefaultWeightProvider&quot;
label=&quot;Default Weight Provider&quot;
nsURI=&quot;.*&quot;
ranking=&quot;100&quot;&gt;
&lt;/provider&gt;
&lt;/extension&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="copyright"/>
</appinfo>
<documentation>
Copyright (c) 2014 Obeo. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
</schema>