Uses of Interface
org.eclipse.compare.structuremergeviewer.IStructureComparator
Packages that use 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
Classes in org.eclipse.compare that implement IStructureComparatorModifier and TypeClassDescriptionclassAResourceNodewraps anIResourcesso that it can be used as input for the differencing engine (interfacesIStructureComparatorandITypedElement) and theReplaceWithEditionDialog(interfacesITypedElementandIModificationDate).Methods in org.eclipse.compare that return IStructureComparatorModifier and TypeMethodDescriptionprotected IStructureComparatorResourceNode.createChild(IResource child) This hook method is called fromgetChildrenonce for every member of a container resource.ZipFileStructureCreator.getStructure(Object input) Methods in org.eclipse.compare with parameters of type IStructureComparatorModifier and TypeMethodDescriptionvoidZipFileStructureCreator.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
Classes in org.eclipse.compare.internal that implement IStructureComparatorMethods in org.eclipse.compare.internal that return IStructureComparatorModifier and TypeMethodDescriptionprotected IStructureComparatorBufferedResourceNode.createChild(IResource child) -
Uses of IStructureComparator in org.eclipse.compare.structuremergeviewer
Classes in org.eclipse.compare.structuremergeviewer that implement IStructureComparatorModifier and TypeClassDescriptionclassA document range node represents a structural element when performing a structure compare of documents.classA node that acts as the root of the tree returned from aStructureCreator.Methods in org.eclipse.compare.structuremergeviewer that return IStructureComparatorModifier and TypeMethodDescriptionIStructureCreator2.createStructure(Object input, IProgressMonitor monitor) Creates a tree structure consisting ofIStructureComparators from the given object and returns its root object.StructureCreator.createStructure(Object element, IProgressMonitor monitor) protected abstract IStructureComparatorStructureCreator.createStructureComparator(Object element, IDocument document, ISharedDocumentAdapter sharedDocumentAdapter, IProgressMonitor monitor) Creates anIStructureComparatorfor the given element using the contents available in the given document.IStructureCreator.getStructure(Object input) Creates a tree structure consisting ofIStructureComparators 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.Methods in org.eclipse.compare.structuremergeviewer with parameters of type IStructureComparatorModifier and TypeMethodDescriptionprotected ITypedElementStructureCreator.findElement(IStructureComparator structure, String[] path) Finds the element at the given path in the given structure.protected voidStructureDiffViewer.preDiffHook(IStructureComparator ancestor, IStructureComparator left, IStructureComparator right) Deprecated.protected voidStructureDiffViewer.preDiffHook(IStructureComparator ancestor, IStructureComparator left, IStructureComparator right, IProgressMonitor monitor) This method is called from withinStructureDiffViewer.diff(IProgressMonitor)before the difference tree is being built.voidIStructureCreator.save(IStructureComparator node, Object input) Called whenever a copy operation has been performed on a tree node.voidStructureCreator.save(IStructureComparator node, Object input) Default implementation of save that extracts the contents from the document of anIDocumentRangeand sets it on the input.
StructureDiffViewer.preDiffHook(IStructureComparator, IStructureComparator, IStructureComparator, IProgressMonitor)