IPinPointProvider
, IToolTipProvider
public class LabelImageProvider extends org.eclipse.jface.viewers.LabelProvider implements IPinPointProvider, IToolTipProvider
Constructor | Description |
---|---|
LabelImageProvider() |
Modifier and Type | Method | Description |
---|---|---|
void |
dispose() |
|
org.eclipse.swt.graphics.RGB |
getFillColor() |
Gets the setting for the fillColor argument provided to
GoogleIconDescriptor
|
java.lang.String |
getFrameStyle() |
Gets the setting for the frameStyle argument provided to
GoogleIconDescriptor
|
java.lang.String |
getIconStyle() |
Gets the setting for the iconStyle argument provided to
GoogleIconDescriptor
|
org.eclipse.swt.graphics.Image |
getImage(java.lang.Object element) |
|
org.eclipse.swt.graphics.Point |
getPinPoint(java.lang.Object element) |
Provides the relative position of the hot spot for the an image of an
element, e.g.
|
org.eclipse.swt.graphics.RGB |
getTextColor() |
Gets the setting for the textColor argument provided to
GoogleIconDescriptor
|
java.lang.Object |
getToolTip(java.lang.Object element) |
Gets the tool tip for the given element
|
boolean |
hasShadow() |
Gets the setting for the shadow argument provided to GoogleIconDescriptor
|
void |
setFillColor(org.eclipse.swt.graphics.RGB fillColor) |
Sets the fillColor argument provided to GoogleIconDescriptor
|
void |
setFrameStyle(java.lang.String frameStyle) |
Sets the frameStyle argument provided to GoogleIconDescriptor
|
void |
setHasShadow(boolean hasShadow) |
Sets the shadow argument provided to GoogleIconDescriptor
|
void |
setIconStyle(java.lang.String iconStyle) |
Sets the iconStyle argument provided to GoogleIconDescriptor
|
void |
setTextColor(org.eclipse.swt.graphics.RGB textColor) |
Sets the textColor argument provided to GoogleIconDescriptor
|
addListener, isLabelProperty, removeListener
public void dispose()
dispose
in class org.eclipse.jface.viewers.BaseLabelProvider
public boolean hasShadow()
public void setHasShadow(boolean hasShadow)
hasShadow
- the new shadow valuepublic org.eclipse.swt.graphics.RGB getTextColor()
public void setTextColor(org.eclipse.swt.graphics.RGB textColor)
textColor
- the new textColor valuepublic org.eclipse.swt.graphics.RGB getFillColor()
public void setFillColor(org.eclipse.swt.graphics.RGB fillColor)
fillColor
- the new fillColor valuepublic java.lang.String getIconStyle()
public void setIconStyle(java.lang.String iconStyle)
iconStyle
- the new iconStyle valuepublic java.lang.String getFrameStyle()
public void setFrameStyle(java.lang.String frameStyle)
frameStyle
- the new frameStyle valuepublic org.eclipse.swt.graphics.Image getImage(java.lang.Object element)
getImage
in class org.eclipse.jface.viewers.LabelProvider
public org.eclipse.swt.graphics.Point getPinPoint(java.lang.Object element)
IPinPointProvider
getPinPoint
in interface IPinPointProvider
element
- the element for which to find the hot spotpublic java.lang.Object getToolTip(java.lang.Object element)
IToolTipProvider
getToolTip
in interface IToolTipProvider