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.
|
Modifier and Type | Class and Description |
---|---|
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 ). |
Modifier and Type | Method and Description |
---|---|
protected IStructureComparator |
ResourceNode.createChild(IResource child)
This hook method is called from
getChildren once for every
member of a container resource. |
IStructureComparator |
ZipFileStructureCreator.getStructure(Object input) |
IStructureComparator |
ZipFileStructureCreator.locate(Object path,
Object source) |
Modifier and Type | Method and Description |
---|---|
void |
ZipFileStructureCreator.save(IStructureComparator structure,
Object input)
Called whenever a copy operation has been performed on a tree node.
|
Modifier and Type | Class and 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 a
StructureCreator . |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.