|
|
|
|
Uses of Interface org.eclipse.compare.structuremergeviewer.IStructureComparator
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.structuremergeviewer that return
IStructureComparator
|
IStructureComparator
|
StructureCreator.
createStructure
(
Object element,
IProgressMonitor monitor)
|
IStructureComparator
|
IStructureCreator2.
createStructure
(
Object input,
IProgressMonitor monitor)
Creates a tree structure consisting of IStructureComparator s
from the given object and returns its root object. |
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.
getStructure
(
Object input)
|
IStructureComparator
|
IStructureCreator.
getStructure
(
Object input)
Creates a tree structure consisting of IStructureComparator s
from the given object and returns its root object. |
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
|
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
ITypedElement
|
StructureCreator.
findElement
(
IStructureComparator structure,
String[] path)
Find the element at the given path in the given structure. |
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. |
void
|
IStructureCreator.
save
(
IStructureComparator node,
Object input)
Called whenever a copy operation has been performed on a tree node. |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|