Eclipse Platform
Release 3.3

Uses of Interface
org.eclipse.compare.structuremergeviewer.IStructureComparator

Packages that use IStructureComparator
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
 class ResourceNode
          A ResourceNode wraps an IResources so that it can be used as input for the differencing engine (interfaces IStructureComparator and ITypedElement) and the ReplaceWithEditionDialog (interfaces ITypedElement and IModificationDate).
 

Methods in org.eclipse.compare that return IStructureComparator
 IStructureComparator ZipFileStructureCreator.getStructure(Object input)
           
 IStructureComparator ZipFileStructureCreator.locate(Object path, Object source)
           
protected  IStructureComparator ResourceNode.createChild(IResource child)
          This hook method is called from getChildren once for every member of a container resource.
 

Methods in org.eclipse.compare with parameters of type IStructureComparator
 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
 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 a StructureCreator.
 

Methods in org.eclipse.compare.structuremergeviewer that return IStructureComparator
 IStructureComparator StructureCreator.getStructure(Object input)
           
 IStructureComparator StructureCreator.createStructure(Object element, IProgressMonitor monitor)
           
protected abstract  IStructureComparator StructureCreator.createStructureComparator(Object element, IDocument document, ISharedDocumentAdapter sharedDocumentAdapter, IProgressMonitor monitor)
          Create an IStructureComparator for the given element using the contents available in the given document.
 IStructureComparator StructureCreator.locate(Object element, Object input)
          Default implementation of StructureCreator.locate(Object, Object) that uses StructureCreator.getPath(Object, Object) to determine the path for the element, StructureCreator.getStructure(Object) to create the structure and StructureCreator.findElement(IStructureComparator, String[]) to find the element in the structure.
 IStructureComparator IStructureCreator2.createStructure(Object input, IProgressMonitor monitor)
          Creates a tree structure consisting of IStructureComparators from the given object and returns its root object.
 IStructureComparator IStructureCreator.getStructure(Object input)
          Creates a tree structure consisting of IStructureComparators from the given object and returns its root object.
 IStructureComparator IStructureCreator.locate(Object path, Object input)
          Creates the single node specified by path from the given input object.
 

Methods in org.eclipse.compare.structuremergeviewer with parameters of type IStructureComparator
protected  void StructureDiffViewer.preDiffHook(IStructureComparator ancestor, IStructureComparator left, IStructureComparator right)
          Deprecated. Clients should override StructureDiffViewer.preDiffHook(IStructureComparator, IStructureComparator, IStructureComparator, IProgressMonitor)
protected  void StructureDiffViewer.preDiffHook(IStructureComparator ancestor, IStructureComparator left, IStructureComparator right, IProgressMonitor monitor)
          This method is called from within StructureDiffViewer.diff(IProgressMonitor) before the difference tree is being built.
 void StructureCreator.save(IStructureComparator node, Object input)
          Default implementation of save that extracts the contents from the document of an IDocumentRange and sets it on the input.
protected  ITypedElement StructureCreator.findElement(IStructureComparator structure, String[] path)
          Find the element at the given path in the given structure.
 void IStructureCreator.save(IStructureComparator node, Object input)
          Called whenever a copy operation has been performed on a tree node.
 


Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.