protected class ItemPropertyDescriptor.ItemDelegator extends AdapterFactoryItemDelegator
Modifier and Type | Field and Description |
---|---|
protected ResourceLocator |
resourceLocator |
adapterFactory
BOLD_FONT, BOLD_ITALIC_FONT, ITALIC_FONT, NORMAL_FONT
GRAYED_OUT_COLOR
Constructor and Description |
---|
ItemPropertyDescriptor.ItemDelegator(AdapterFactory adapterFactory) |
ItemPropertyDescriptor.ItemDelegator(AdapterFactory adapterFactory,
ResourceLocator resourceLocator) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
convert(EDataType eDataType,
java.lang.Object value) |
protected java.lang.String |
crop(java.lang.String text) |
java.lang.Object |
getImage(java.lang.Object object)
This does the same thing as ILabelProvider.getImage,
it fetches the label image specific to this object instance.
|
java.lang.String |
getText(java.lang.Object object)
This does the same thing as ILabelProvider.getText,
it fetches the label text specific to this object instance.
|
createCommand, getAdapterFactory, getBackground, getBackground, getChildren, getColumnImage, getColumnText, getEditableValue, getElements, getFont, getFont, getForeground, getForeground, getNewChildDescriptors, getParent, getPropertyDescriptor, getPropertyDescriptors, hasChildren
protected ResourceLocator resourceLocator
public ItemPropertyDescriptor.ItemDelegator(AdapterFactory adapterFactory)
public ItemPropertyDescriptor.ItemDelegator(AdapterFactory adapterFactory, ResourceLocator resourceLocator)
public java.lang.String getText(java.lang.Object object)
AdapterFactoryItemDelegator
getText
in interface IItemLabelProvider
getText
in class AdapterFactoryItemDelegator
protected java.lang.String convert(EDataType eDataType, java.lang.Object value)
protected java.lang.String crop(java.lang.String text)
public java.lang.Object getImage(java.lang.Object object)
AdapterFactoryItemDelegator
getImage
in interface IItemLabelProvider
getImage
in class AdapterFactoryItemDelegator