|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines extensions to the ICompareInput
interface that are used for compare inputs that are returned from the
ISynchronizationCompareAdapter.asCompareInput(org.eclipse.team.core.mapping.ISynchronizationContext, Object)
method.
Clients may implement this interface.
ISynchronizationCompareAdapter.asCompareInput(org.eclipse.team.core.mapping.ISynchronizationContext, Object)
Method Summary | |
---|---|
String |
getFullPath()
Return a human readable path for the compare input that can be used in a tooltip or other displays that can show more detailed information. |
SaveableComparison |
getSaveable()
Return the saveable for this compare input or null if the input is saved directly to disk when the
compare editor input is changed or the compare editor is closed. |
boolean |
isCompareInputFor(Object object)
Return whether this compare input matches the given object for the purpose of change navigation. |
void |
prepareInput(CompareConfiguration configuration,
IProgressMonitor monitor)
Prepare the compare input associated with a model element for display using the compare configuration. |
Methods inherited from interface org.eclipse.compare.structuremergeviewer.ICompareInput |
---|
addCompareInputChangeListener, copy, getAncestor, getImage, getKind, getLeft, getName, getRight, removeCompareInputChangeListener |
Method Detail |
public SaveableComparison getSaveable()
null
if the input is saved directly to disk when the
compare editor input is changed or the compare editor is closed.
public void prepareInput(CompareConfiguration configuration, IProgressMonitor monitor) throws CoreException
configuration
- the compare configuration for the editor that will display the inputmonitor
- a progress monitor
CoreException
public String getFullPath()
public boolean isCompareInputFor(Object object)
object
- the object
|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.