blob: ba49fc6abfd1e6545d68151c97eb5c89e638decb [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.emf.compare.rcp.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.emf.compare.rcp.ui" id="groups" name="EMF Compare Groups"/>
</appinfo>
<documentation>
A group provider allows you to group differences together in the structural view according to a set predicate.
You can provide your own groups by adding an extension of type &lt;samp&gt;org.eclipse.emf.compare.rcp.ui.groups&lt;/samp&gt; to your plugin.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="group" minOccurs="0" 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="group">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
A class that implements &lt;samp&gt;org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.IDifferenceGroupProvider&lt;/samp&gt;.
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.IDifferenceGroupProvider"/>
</appinfo>
</annotation>
</attribute>
<attribute name="label" type="string" use="required">
<annotation>
<documentation>
A human-readable label for this group. This will be displayed in the EMF Compare UI.
</documentation>
</annotation>
</attribute>
<attribute name="activeByDefault" type="boolean">
<annotation>
<documentation>
The initial activation state of the group. (Deprecated use rank instead)
</documentation>
<appinfo>
<meta.attribute deprecated="true"/>
</appinfo>
</annotation>
</attribute>
<attribute name="description" type="string">
<annotation>
<documentation>
A description of the group. (Used in interface)
</documentation>
</annotation>
</attribute>
<attribute name="rank" type="string">
<annotation>
<documentation>
The rank of the group. The highest rank enabled for a comparison is used.
Default value : 0
</documentation>
</annotation>
</attribute>
<attribute name="type">
<annotation>
<documentation>
Type of comparison this group can handle.
THREE_WAY: This group can only handle three way comparison.
TWO_WAY: This group can handle two way comparison
BOTH: This group can handle two and three way comparison.
Default value: BOTH
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="THREE_WAY">
</enumeration>
<enumeration value="TWO_WAY">
</enumeration>
<enumeration value="BOTH">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
</appinfo>
<documentation>
3.0.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
</appinfo>
<documentation>
The example below shows the extension point syntax:
&lt;p&gt;
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.emf.compare.rcp.ui.groups&quot;&gt;
&lt;group
activeByDefault=&quot;false&quot;
class=&quot;com.example.xyz.SampleGroupProvider&quot;
label=&quot;My own group provider&quot;&gt;
&lt;/group&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="apiinfo"/>
</appinfo>
<documentation>
Plugins using this extension point have to implement &lt;samp&gt;org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.IDifferenceGroupProvider&lt;/samp&gt;.
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="implementation"/>
</appinfo>
<documentation>
A default abstract implementation named &lt;samp&gt;org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.impl.AbstractDifferenceGroupProvider&lt;/samp&gt; is available in the &lt;samp&gt;org.eclipse.emf.compare.rcp.ui&lt;/samp&gt; plugin.
</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>