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.
Constructor and Description |
---|
RefactoringHistoryLabelProvider(RefactoringHistoryControlConfiguration configuration)
Creates a new refactoring history label provider.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
The
LabelProvider implementation of this
IBaseLabelProvider method does nothing. |
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
public RefactoringHistoryLabelProvider(RefactoringHistoryControlConfiguration configuration)
configuration
- the refactoring history control configuration to usepublic void dispose()
LabelProvider
implementation of this
IBaseLabelProvider
method does nothing. Subclasses may extend.dispose
in interface IBaseLabelProvider
dispose
in class LabelProvider
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 objectGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.