Class TextFallbackCompareInput
java.lang.Object
org.eclipse.team.internal.ui.mapping.AbstractCompareInput
org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.fallback.TextFallbackCompareInput
- All Implemented Interfaces:
org.eclipse.compare.structuremergeviewer.ICompareInput
public final class TextFallbackCompareInput
extends org.eclipse.team.internal.ui.mapping.AbstractCompareInput
A highly specialized implementation of a compare input that uses
text
input data to manage the information about the ancestor, left, and right.-
Constructor Summary
ConstructorsConstructorDescriptionTextFallbackCompareInput(int kind, TextFallbackCompareInputData textInputData, boolean showPreview) Creates an instance of the given kind, using the given text input data, and an indication of whether this input is for.invalid reference
preview mode -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.team.internal.ui.mapping.CompareInputChangeNotifierbooleanvoidupdate()Methods inherited from class org.eclipse.team.internal.ui.mapping.AbstractCompareInput
addCompareInputChangeListener, copy, fireChange, getAncestor, getImage, getKind, getLeft, getName, getRight, removeCompareInputChangeListener, setAncestor, setKind, setLeft, setRight
-
Constructor Details
-
TextFallbackCompareInput
public TextFallbackCompareInput(int kind, TextFallbackCompareInputData textInputData, boolean showPreview) Creates an instance of the given kind, using the given text input data, and an indication of whether this input is for.invalid reference
preview mode- Parameters:
kind- the kind of input.textInputData- the text input data for this input.showPreview- whether this is input for preview mode.
-
-
Method Details
-
update
public void update()This implementation does nothing.
- Specified by:
updatein classorg.eclipse.team.internal.ui.mapping.AbstractCompareInput- See Also:
-
needsUpdate
public boolean needsUpdate()This implementation always returns
false.- Specified by:
needsUpdatein classorg.eclipse.team.internal.ui.mapping.AbstractCompareInput- See Also:
-
getChangeNotifier
protected org.eclipse.team.internal.ui.mapping.CompareInputChangeNotifier getChangeNotifier()This implementation always returns
compareInputChangeNotifier.- Specified by:
getChangeNotifierin classorg.eclipse.team.internal.ui.mapping.AbstractCompareInput- See Also:
-
getTextInputData
-