Uses of Interface
org.eclipse.compare.structuremergeviewer.IStructureComparator
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Provides support for finding and displaying the differences
between hierarchically structured data.
-
Uses of IStructureComparator in org.eclipse.compare
Modifier and TypeClassDescriptionclass
AResourceNode
wraps anIResources
so that it can be used as input for the differencing engine (interfacesIStructureComparator
andITypedElement
) and theReplaceWithEditionDialog
(interfacesITypedElement
andIModificationDate
).Modifier and TypeMethodDescriptionprotected IStructureComparator
ResourceNode.createChild
(IResource child) This hook method is called fromgetChildren
once for every member of a container resource.ZipFileStructureCreator.getStructure
(Object input) Modifier and TypeMethodDescriptionvoid
ZipFileStructureCreator.save
(IStructureComparator structure, Object input) Called whenever a copy operation has been performed on a tree node. -
Uses of IStructureComparator in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionprotected IStructureComparator
BufferedResourceNode.createChild
(IResource child) -
Uses of IStructureComparator in org.eclipse.compare.structuremergeviewer
Modifier and TypeClassDescriptionclass
A document range node represents a structural element when performing a structure compare of documents.class
A node that acts as the root of the tree returned from aStructureCreator
.Modifier and TypeMethodDescriptionIStructureCreator2.createStructure
(Object input, IProgressMonitor monitor) Creates a tree structure consisting ofIStructureComparator
s from the given object and returns its root object.StructureCreator.createStructure
(Object element, IProgressMonitor monitor) protected abstract IStructureComparator
StructureCreator.createStructureComparator
(Object element, IDocument document, ISharedDocumentAdapter sharedDocumentAdapter, IProgressMonitor monitor) Creates anIStructureComparator
for the given element using the contents available in the given document.IStructureCreator.getStructure
(Object input) Creates a tree structure consisting ofIStructureComparator
s from the given object and returns its root object.StructureCreator.getStructure
(Object input) Creates the single node specified by path from the given input object.Default implementation ofStructureCreator.locate(Object, Object)
that usesStructureCreator.getPath(Object, Object)
to determine the path for the element,StructureCreator.getStructure(Object)
to create the structure andStructureCreator.findElement(IStructureComparator, String[])
to find the element in the structure.Modifier and TypeMethodDescriptionprotected ITypedElement
StructureCreator.findElement
(IStructureComparator structure, String[] path) Finds the element at the given path in the given structure.protected void
StructureDiffViewer.preDiffHook
(IStructureComparator ancestor, IStructureComparator left, IStructureComparator right) Deprecated.protected void
StructureDiffViewer.preDiffHook
(IStructureComparator ancestor, IStructureComparator left, IStructureComparator right, IProgressMonitor monitor) This method is called from withinStructureDiffViewer.diff(IProgressMonitor)
before the difference tree is being built.void
IStructureCreator.save
(IStructureComparator node, Object input) Called whenever a copy operation has been performed on a tree node.void
StructureCreator.save
(IStructureComparator node, Object input) Default implementation of save that extracts the contents from the document of anIDocumentRange
and sets it on the input.
StructureDiffViewer.preDiffHook(IStructureComparator, IStructureComparator, IStructureComparator, IProgressMonitor)