Uses of Interface
org.eclipse.compare.structuremergeviewer.IStructureComparator
-
Packages that use IStructureComparator Package Description org.eclipse.compare Provides support for performing structural and textual compare operations on arbitrary data and displaying the results.org.eclipse.compare.structuremergeviewer Provides support for finding and displaying the differences between hierarchically structured data. -
-
Uses of IStructureComparator in org.eclipse.compare
Classes in org.eclipse.compare that implement IStructureComparator Modifier and Type Class Description class
ResourceNode
AResourceNode
wraps anIResources
so that it can be used as input for the differencing engine (interfacesIStructureComparator
andITypedElement
) and theReplaceWithEditionDialog
(interfacesITypedElement
andIModificationDate
).Methods in org.eclipse.compare that return IStructureComparator Modifier and Type Method Description protected IStructureComparator
ResourceNode. createChild(IResource child)
This hook method is called fromgetChildren
once for every member of a container resource.IStructureComparator
ZipFileStructureCreator. getStructure(Object input)
IStructureComparator
ZipFileStructureCreator. locate(Object path, Object source)
Methods in org.eclipse.compare with parameters of type IStructureComparator Modifier and Type Method Description void
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.structuremergeviewer
Classes in org.eclipse.compare.structuremergeviewer that implement IStructureComparator Modifier and Type Class Description class
DocumentRangeNode
A document range node represents a structural element when performing a structure compare of documents.class
StructureRootNode
A node that acts as the root of the tree returned from aStructureCreator
.Methods in org.eclipse.compare.structuremergeviewer that return IStructureComparator Modifier and Type Method Description IStructureComparator
IStructureCreator2. createStructure(Object input, IProgressMonitor monitor)
Creates a tree structure consisting ofIStructureComparator
s from the given object and returns its root object.IStructureComparator
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.IStructureComparator
IStructureCreator. getStructure(Object input)
Creates a tree structure consisting ofIStructureComparator
s from the given object and returns its root object.IStructureComparator
StructureCreator. getStructure(Object input)
IStructureComparator
IStructureCreator. locate(Object path, Object input)
Creates the single node specified by path from the given input object.IStructureComparator
StructureCreator. locate(Object element, Object input)
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.Methods in org.eclipse.compare.structuremergeviewer with parameters of type IStructureComparator Modifier and Type Method Description protected 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.
-