Package org.eclipse.jface.preference
Class PreferenceLabelProvider
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
org.eclipse.jface.preference.PreferenceLabelProvider
- All Implemented Interfaces:
IBaseLabelProvider
,ILabelProvider
Provides labels for
IPreferenceNode
objects.- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jface.viewers.LabelProvider
createImageProvider, createTextImageProvider, createTextProvider
Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
-
Constructor Details
-
PreferenceLabelProvider
public PreferenceLabelProvider()
-
-
Method Details
-
getText
Description copied from class:LabelProvider
TheLabelProvider
implementation of thisILabelProvider
method returns the element'stoString
string. Subclasses may override.- Specified by:
getText
in interfaceILabelProvider
- Overrides:
getText
in classLabelProvider
- Parameters:
element
- must be an instance ofIPreferenceNode
.- Returns:
- the text string used to label the element, or
null
if there is no text label for the given object - See Also:
-
getImage
Description copied from class:LabelProvider
TheLabelProvider
implementation of thisILabelProvider
method returnsnull
. Subclasses may override.- Specified by:
getImage
in interfaceILabelProvider
- Overrides:
getImage
in classLabelProvider
- Parameters:
element
- must be an instance ofIPreferenceNode
.- Returns:
- the image used to label the element, or
null
if there is no image for the given object - See Also:
-