| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- Schema file written by PDE --> | |
| <schema targetNamespace="org.eclipse.emf.compare.ide" xmlns="http://www.w3.org/2001/XMLSchema"> | |
| <annotation> | |
| <appinfo> | |
| <meta.schema plugin="org.eclipse.emf.compare.ide" id="org.eclipse.emf.compare.postMatch" name="Post Match Processing"/> | |
| </appinfo> | |
| <documentation> | |
| This extension point can be used in order to handle the comparison result after the match processing. | |
| </documentation> | |
| </annotation> | |
| <element name="extension"> | |
| <annotation> | |
| <appinfo> | |
| <meta.element /> | |
| </appinfo> | |
| </annotation> | |
| <complexType> | |
| <sequence minOccurs="1" maxOccurs="unbounded"> | |
| <element ref="postProcessor"/> | |
| </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="postProcessor"> | |
| <annotation> | |
| <documentation> | |
| Describes a Post Processor and its enablement value. | |
| </documentation> | |
| </annotation> | |
| <complexType> | |
| <choice> | |
| <element ref="nsURI"/> | |
| <element ref="resourceURI"/> | |
| </choice> | |
| <attribute name="class" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| Fully qualified name of a class that implements org.eclipse.emf.compare.logical.extension.IPostProcessor. | |
| </documentation> | |
| <appinfo> | |
| <meta.attribute kind="java" basedOn=":org.eclipse.emf.compare.extension.IPostProcessor"/> | |
| </appinfo> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <element name="resourceURI"> | |
| <annotation> | |
| <documentation> | |
| Resource URIs that this processor consider to activate post handling. This property is a regex. | |
| Example : <resourceURI value=".*.ecore"/> | |
| </documentation> | |
| </annotation> | |
| <complexType> | |
| <attribute name="value" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <element name="nsURI"> | |
| <annotation> | |
| <documentation> | |
| Namespace of the packages that this model resolver consider as part of the models it can resolve. These correspond to the package NsURI. More than a single NsURI can be set here, comma-separated. They will be interpreted as regular expressions. | |
| Example : <namespace value="http://www.eclipse.org/uml2/(.*)/UML"/> | |
| </documentation> | |
| </annotation> | |
| <complexType> | |
| <attribute name="value" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <annotation> | |
| <appinfo> | |
| <meta.section type="since"/> | |
| </appinfo> | |
| <documentation> | |
| 2.0 | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appinfo> | |
| <meta.section type="examples"/> | |
| </appinfo> | |
| <documentation> | |
| This is an example that can be used "out of the box" to use the postMatch extension point with a processor that will iterate on the given comparison (match elements) to modify or exploit it. | |
| <extension point = "org.eclipse.emf.compare.postMatch"> | |
| <postMatchProcessor class="org.eclipse.emf.compare.ide.post.match.extension.PostMatchProcessor"> | |
| <nsUri value=""/> | |
| </postMatchProcessor> | |
| </extension> | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appinfo> | |
| <meta.section type="copyright"/> | |
| </appinfo> | |
| <documentation> | |
| Copyright (c) 2011, 2012 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 | |
| Contributors: | |
| Obeo - initial API and implementation | |
| </documentation> | |
| </annotation> | |
| </schema> |