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.
|
org.eclipse.team.ui.history |
Application programming interfaces for working with history.
|
org.eclipse.team.ui.synchronize |
Contains the team synchronization presentation framework and support
for the Synchronize View.
|
Modifier and Type | Class and Description |
---|---|
class |
HistoryItem
A combination
IFileState and ITypedElement that can be used as
an input to a compare viewer or other places where an IStreamContentAccessor
is needed. |
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 |
---|---|
ITypedElement[] |
EditionSelectionDialog.getSelection()
Deprecated.
Returns the editions that have been selected with the most
recent call to
selectEdition . |
ITypedElement |
EditionSelectionDialog.getTarget()
Deprecated.
Returns the input target that has been specified with the most recent call
to
selectEdition . |
ITypedElement |
IEditableContent.replace(ITypedElement dest,
ITypedElement src)
This method is called on a parent to add or remove a child,
or to copy the contents of a child.
|
ITypedElement |
ResourceNode.replace(ITypedElement child,
ITypedElement other) |
ITypedElement |
EditionSelectionDialog.selectEdition(ITypedElement target,
ITypedElement[] inputEditions,
Object ppath)
Deprecated.
Presents this modal dialog with the functionality described in the class comment above.
|
ITypedElement |
EditionSelectionDialog.selectPreviousEdition(ITypedElement target,
ITypedElement[] inputEditions,
Object ppath)
Deprecated.
Select the previous edition (presenting a UI).
|
Modifier and Type | Method and Description |
---|---|
static IStructureCreator |
CompareUI.createStructureCreator(ITypedElement element)
Create and return a structure creator for the given typed element.
|
protected Image |
EditionSelectionDialog.getEditionImage(ITypedElement selectedEdition,
ITypedElement item)
Deprecated.
Returns an image for identifying the edition side of a compare viewer.
|
protected String |
EditionSelectionDialog.getEditionLabel(ITypedElement selectedEdition,
ITypedElement item)
Deprecated.
Returns a label for identifying the edition side of a compare viewer.
|
protected String |
EditionSelectionDialog.getShortEditionLabel(ITypedElement edition,
ITypedElement item,
Date date)
Deprecated.
Returns a label for identifying a node in the edition tree viewer.
|
protected String |
EditionSelectionDialog.getTargetLabel(ITypedElement target,
ITypedElement item)
Deprecated.
Returns a label for identifying the target side of a compare viewer.
|
ITypedElement |
IEditableContent.replace(ITypedElement dest,
ITypedElement src)
This method is called on a parent to add or remove a child,
or to copy the contents of a child.
|
ITypedElement |
ResourceNode.replace(ITypedElement child,
ITypedElement other) |
ITypedElement |
EditionSelectionDialog.selectEdition(ITypedElement target,
ITypedElement[] inputEditions,
Object ppath)
Deprecated.
Presents this modal dialog with the functionality described in the class comment above.
|
ITypedElement |
EditionSelectionDialog.selectEdition(ITypedElement target,
ITypedElement[] inputEditions,
Object ppath)
Deprecated.
Presents this modal dialog with the functionality described in the class comment above.
|
ITypedElement |
EditionSelectionDialog.selectPreviousEdition(ITypedElement target,
ITypedElement[] inputEditions,
Object ppath)
Deprecated.
Select the previous edition (presenting a UI).
|
ITypedElement |
EditionSelectionDialog.selectPreviousEdition(ITypedElement target,
ITypedElement[] inputEditions,
Object ppath)
Deprecated.
Select the previous edition (presenting a UI).
|
Constructor and Description |
---|
HistoryItem(ITypedElement base,
IFileState fileState)
Creates a
HistoryItem object which combines the given IFileState
and ITypedElement into an object
which is suitable as input for a compare viewer or ReplaceWithEditionDialog . |
Modifier and Type | Interface and Description |
---|---|
interface |
IDiffContainer
IDiffContainer is a IDiffElement with children. |
interface |
IDiffElement
An
IDiffElement is used in the DiffTreeViewer
to display the kind of change detected as the result of a two-way or three-way compare. |
Modifier and Type | Class and Description |
---|---|
class |
DiffContainer
The standard implementation of a diff container element.
|
class |
DiffElement
An abstract base implementation of the
IDiffElement interface. |
class |
DiffNode
Diff node are used as the compare result of the differencing engine.
|
class |
StructureRootNode
A node that acts as the root of the tree returned from a
StructureCreator . |
Modifier and Type | Method and Description |
---|---|
ITypedElement |
StructureCreator.createElement(Object element,
Object input,
IProgressMonitor monitor)
Default implementation of
StructureCreator.createElement(Object, Object, IProgressMonitor)
that uses StructureCreator.getPath(Object, Object) to determine the
path for the element, StructureCreator.createStructure(Object, IProgressMonitor) to create the structure
and StructureCreator.findElement(IStructureComparator, String[]) to find the
element in the structure. |
ITypedElement |
IStructureCreator2.createElement(Object element,
Object input,
IProgressMonitor monitor)
Creates the single node specified by path from the given input object.
|
protected ITypedElement |
StructureCreator.findElement(IStructureComparator structure,
String[] path)
Find the element at the given path in the given structure.
|
ITypedElement |
DiffNode.getAncestor() |
ITypedElement |
ICompareInput.getAncestor()
Returns the ancestor side of this input.
|
ITypedElement |
DiffNode.getId()
Returns the first not-
null input of this node. |
ITypedElement |
DiffNode.getLeft() |
ITypedElement |
ICompareInput.getLeft()
Returns the left side of this input.
|
ITypedElement |
DiffNode.getRight() |
ITypedElement |
ICompareInput.getRight()
Returns the right side of this input.
|
ITypedElement |
DocumentRangeNode.replace(ITypedElement child,
ITypedElement other) |
ITypedElement |
StructureRootNode.replace(ITypedElement child,
ITypedElement other) |
Modifier and Type | Method and Description |
---|---|
ITypedElement |
DocumentRangeNode.replace(ITypedElement child,
ITypedElement other) |
ITypedElement |
StructureRootNode.replace(ITypedElement child,
ITypedElement other) |
void |
DiffNode.setAncestor(ITypedElement ancestor)
Sets the ancestor input to the given value.
|
void |
DiffNode.setLeft(ITypedElement left)
Sets the left input to the given value.
|
void |
DiffNode.setRight(ITypedElement right)
Sets the right input to the given value.
|
Constructor and Description |
---|
DiffNode(IDiffContainer parent,
int kind,
ITypedElement ancestor,
ITypedElement left,
ITypedElement right)
Creates a new
DiffNode and initializes with the given values. |
DiffNode(int kind,
ITypedElement ancestor,
ITypedElement left,
ITypedElement right)
Creates a new
DiffNode and initializes with the given values. |
DiffNode(ITypedElement left,
ITypedElement right)
Creates a new
DiffNode with diff kind Differencer.CHANGE
and initializes with the given values. |
Modifier and Type | Method and Description |
---|---|
static ITypedElement |
ElementLocalHistoryPageSource.getPreviousEdition(IFile file,
Object element)
Return the previous edition from the local history of the given element located in the given
file.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ISynchronizeModelElement
These are elements created to display synchronization state to the user.
|
Modifier and Type | Method and Description |
---|---|
static ITypedElement |
SaveableCompareEditorInput.createFileElement(IFile file)
Return a typed element that represents a local file.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.