Class TextFallbackCompareInputLabelProvider
java.lang.Object
org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.fallback.TextFallbackCompareInputLabelProvider
- All Implemented Interfaces:
org.eclipse.compare.ICompareInputLabelProvider,org.eclipse.jface.viewers.IBaseLabelProvider,org.eclipse.jface.viewers.ILabelProvider
public final class TextFallbackCompareInputLabelProvider
extends Object
implements org.eclipse.compare.ICompareInputLabelProvider
A specialized implementation of a compare input label provider.
-
Constructor Summary
ConstructorsConstructorDescriptionTextFallbackCompareInputLabelProvider(TextFallbackMergeViewer textFallbackMergeViewer, EMFCompareConfiguration configuration) Creates an instance for the given viewer and configuration. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(org.eclipse.jface.viewers.ILabelProviderListener listener) voiddispose()org.eclipse.swt.graphics.ImagegetAncestorImage(Object input) getAncestorLabel(Object input) org.eclipse.swt.graphics.Imageorg.eclipse.swt.graphics.ImagegetLeftImage(Object input) getLeftLabel(Object input) org.eclipse.swt.graphics.ImagegetRightImage(Object input) getRightLabel(Object input) booleanisLabelProperty(Object element, String property) voidremoveListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
-
Constructor Details
-
TextFallbackCompareInputLabelProvider
public TextFallbackCompareInputLabelProvider(TextFallbackMergeViewer textFallbackMergeViewer, EMFCompareConfiguration configuration) Creates an instance for the given viewer and configuration.- Parameters:
textFallbackMergeViewer- the viewer for which labels are being providedconfiguration- the configuration used to provide labels.
-
-
Method Details
-
getImage
This is never called and always return
null.- Specified by:
getImagein interfaceorg.eclipse.jface.viewers.ILabelProvider- See Also:
-
getText
This is never called and always return
null.- Specified by:
getTextin interfaceorg.eclipse.jface.viewers.ILabelProvider- See Also:
-
addListener
public void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener) This implementation has no state so ignores listeners.
- Specified by:
addListenerin interfaceorg.eclipse.jface.viewers.IBaseLabelProvider- See Also:
-
dispose
public void dispose()This implementation has no state so does nothing.
- Specified by:
disposein interfaceorg.eclipse.jface.viewers.IBaseLabelProvider- See Also:
-
isLabelProperty
This is never called and always returns
false.- Specified by:
isLabelPropertyin interfaceorg.eclipse.jface.viewers.IBaseLabelProvider- See Also:
-
removeListener
public void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener) This implementation has no state so ignores listeners.
- Specified by:
removeListenerin interfaceorg.eclipse.jface.viewers.IBaseLabelProvider- See Also:
-
getAncestorLabel
This implementation calls
getLabel(Resource, IStorage, boolean).- Specified by:
getAncestorLabelin interfaceorg.eclipse.compare.ICompareInputLabelProvider- See Also:
-
getAncestorImage
This implementation calls
getImage(Resource).- Specified by:
getAncestorImagein interfaceorg.eclipse.compare.ICompareInputLabelProvider- See Also:
-
getLeftLabel
This implementation calls
getLabel(Resource, IStorage, boolean).- Specified by:
getLeftLabelin interfaceorg.eclipse.compare.ICompareInputLabelProvider- See Also:
-
getLeftImage
This implementation calls
getImage(Resource).- Specified by:
getLeftImagein interfaceorg.eclipse.compare.ICompareInputLabelProvider- See Also:
-
getRightLabel
This implementation calls
getLabel(Resource, IStorage, boolean).- Specified by:
getRightLabelin interfaceorg.eclipse.compare.ICompareInputLabelProvider- See Also:
-
getRightImage
This implementation calls
getImage(Resource).- Specified by:
getRightImagein interfaceorg.eclipse.compare.ICompareInputLabelProvider- See Also:
-