schema.structureCreators.exsd Maven / Gradle / Ivy
This extension point allows a plug-in to register a structure creator
for specific content types. The structure creator is expected to create
a tree of <samp>IStructureComparator</samp>s for a given content.
This tree is used as the input for the structural compare.
The extension point must implement the interface <samp>org.eclipse.compare.structuremergeviewer.IStructureCreator</samp>.
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 structure creator
a fully qualified name of a class that implements <samp>org.eclipse.compare.structuremergeviewer.IStructureCreator</samp>
a comma separated list of file extensions e.g. "java, properties"
A <code>contentTypeBinding</code> binds a structure creator 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 structure creator defined using the <code>structureCreator</code> element of this extension point (i.e. <code>org.eclipse.compare.structureCreators</code>)
The following is an example of a structure creator for
java files (extension "java"):
<p>
<pre>
<extension point = "org.eclipse.compare.structureCreators">
<structureCreator
id="org.eclipse.compare.JavaStructureCreator"
class="org.eclipse.compare.JavaStructureCreator"
extensions="java"
/>
</extension>
</pre>
</p>
The contributed class must implement <code>org.eclipse.compare.structuremergeviewer.IStructureCreator</code>
The Compare UI plugin defines a structure creator for zip archives.
Copyright (c) 2000, 2010 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>