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 classResourceNodeAResourceNodewraps anIResourcesso that it can be used as input for the differencing engine (interfacesIStructureComparatorandITypedElement) and theReplaceWithEditionDialog(interfacesITypedElementandIModificationDate).Methods in org.eclipse.compare that return IStructureComparator Modifier and Type Method Description protected IStructureComparatorResourceNode. createChild(IResource child)This hook method is called fromgetChildrenonce for every member of a container resource.IStructureComparatorZipFileStructureCreator. getStructure(Object input)IStructureComparatorZipFileStructureCreator. locate(Object path, Object source)Methods in org.eclipse.compare with parameters of type IStructureComparator Modifier and Type Method Description voidZipFileStructureCreator. 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 classDocumentRangeNodeA document range node represents a structural element when performing a structure compare of documents.classStructureRootNodeA 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 IStructureComparatorIStructureCreator2. createStructure(Object input, IProgressMonitor monitor)Creates a tree structure consisting ofIStructureComparators from the given object and returns its root object.IStructureComparatorStructureCreator. 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.IStructureComparatorIStructureCreator. getStructure(Object input)Creates a tree structure consisting ofIStructureComparators from the given object and returns its root object.IStructureComparatorStructureCreator. getStructure(Object input)IStructureComparatorIStructureCreator. locate(Object path, Object input)Creates the single node specified by path from the given input object.IStructureComparatorStructureCreator. 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 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.
-