public class RefactoringHistoryLabelProvider extends LabelProvider
RefactoringHistoryContentProvider
or
directly on RefactoringDescriptorProxy
and RefactoringHistory
elements.
Note: this class is not indented to be subclassed outside the refactoring framework.
IRefactoringHistoryControl
,
RefactoringHistoryControlConfiguration
,
RefactoringHistoryContentProvider
Constructor and Description |
---|
RefactoringHistoryLabelProvider(RefactoringHistoryControlConfiguration configuration)
Creates a new refactoring history label provider.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
The
BaseLabelProvider implementation of this
IBaseLabelProvider method clears its internal listener list. |
Image |
getImage(Object element)
The
LabelProvider implementation of this
ILabelProvider method returns null . |
String |
getText(Object element)
The
LabelProvider implementation of this
ILabelProvider method returns the element's
toString string. |
addListener, fireLabelProviderChanged, isLabelProperty, removeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, isLabelProperty, removeListener
public RefactoringHistoryLabelProvider(RefactoringHistoryControlConfiguration configuration)
configuration
- the refactoring history control configuration to usepublic void dispose()
BaseLabelProvider
implementation of this
IBaseLabelProvider
method clears its internal listener list.
Subclasses may extend but should call the super implementation.dispose
in interface IBaseLabelProvider
dispose
in class BaseLabelProvider
public Image getImage(Object element)
LabelProvider
implementation of this
ILabelProvider
method returns null
.
Subclasses may override.getImage
in interface ILabelProvider
getImage
in class LabelProvider
element
- the element for which to provide the label imagenull
if there is no image for the given objectpublic String getText(Object element)
LabelProvider
implementation of this
ILabelProvider
method returns the element's
toString
string. Subclasses may override.getText
in interface ILabelProvider
getText
in class LabelProvider
element
- the element for which to provide the label textnull
if there is no text label for the given object
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.