schema.streamMergers.exsd Maven / Gradle / Ivy
This extension point allows a plug-in to register a stream merger
for specific content types. The stream merger is expected to perform a three-way merge
on three input streams and writes the result to an output stream.
The extension point must implement the interface <samp>org.eclipse.compare.IStreamMerger</samp>.
Deprecated. The <code>org.eclipse.team.core.storageMergers</code> extension point should be used instead.
a fully qualified identifier of the target extension point
an optional identifier of the extension instance
an optional name of the extension instance
a unique identifier that can be used to reference the stream merger
a fully qualified name of a class that implements <samp>org.eclipse.compare.IStreamMerger</samp>
a comma separated list of file extensions e.g. "java, properties"
A <code>contentTypeBinding</code> binds a stream merger to a content type.
The id of a content type defined using the <code>org.eclipse.core.contenttype.contentTypes</code> extension point.
The id of a stream merger defined using the <code>streamMerger</code> element of this extension point (i.e. <code>org.eclipse.compare.streamMergers</code>)
3.0
The following is an example of a stream merger for property files (extension "properties"):
<p>
<pre>
<extension point = "org.eclipse.compare.streamMergers">
<streamMerger
id="org.eclipse.compare.internal.merge.TextStreamMerger"
class="org.eclipse.compare.internal.merge.TextStreamMerger"
extensions="properties"
/>
</extension>
</pre>
</p>
The contributed class must implement <code>org.eclipse.compare.IStreamMerger</code>
The Compare UI plugin defines a stream merger for line oriented text files.
Copyright (c) 2000, 2008 IBM Corporation and others.<br>
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 <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>