public final class BaseLabelProviderWrapper extends Object implements org.eclipse.jface.viewers.ILabelProvider
ILabelProvider
wrapps a IBaseLabelProvider
and delegates to the base label provider as far as
possible.Constructor and Description |
---|
BaseLabelProviderWrapper(org.eclipse.jface.viewers.IBaseLabelProvider labelProvider) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(org.eclipse.jface.viewers.ILabelProviderListener listener) |
void |
dispose() |
org.eclipse.swt.graphics.Image |
getImage(Object element) |
String |
getText(Object element) |
boolean |
isLabelProperty(Object element,
String property) |
void |
removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener) |
public BaseLabelProviderWrapper(org.eclipse.jface.viewers.IBaseLabelProvider labelProvider)
labelProvider
- the wrapped label providerpublic void removeListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
removeListener
in interface org.eclipse.jface.viewers.IBaseLabelProvider
public boolean isLabelProperty(Object element, String property)
isLabelProperty
in interface org.eclipse.jface.viewers.IBaseLabelProvider
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IBaseLabelProvider
public void addListener(org.eclipse.jface.viewers.ILabelProviderListener listener)
addListener
in interface org.eclipse.jface.viewers.IBaseLabelProvider
public String getText(Object element)
getText
in interface org.eclipse.jface.viewers.ILabelProvider
public org.eclipse.swt.graphics.Image getImage(Object element)
getImage
in interface org.eclipse.jface.viewers.ILabelProvider
Copyright © 2019. All rights reserved.