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 IStructureComparators for a given content.
This tree is used as the input for the structural compare.
The extension point must implement the interface org.eclipse.compare.structuremergeviewer.IStructureCreator.
A contentTypeBinding binds a structure creator to a content type.
contentTypeId - The id of a content type defined using the org.eclipse.core.contenttype.contentTypes extension point.
structureCreatorId - The id of a structure creator defined using the structureCreator element of this extension point (i.e. org.eclipse.compare.structureCreators)
Examples:
The following is an example of a structure creator for
java files (extension "java"):
<extension point = "org.eclipse.compare.structureCreators">
<structureCreator
id="org.eclipse.compare.JavaStructureCreator"
class="org.eclipse.compare.JavaStructureCreator"
extensions="java"
/>
</extension>
API Information:
The contributed class must implement org.eclipse.compare.structuremergeviewer.IStructureCreator
Supplied Implementation:
The Compare UI plugin defines a structure creator for zip archives.
Copyright (c) 2000, 2010 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0