protected class ItemPropertyDescriptor.ItemDelegator extends AdapterFactoryItemDelegator
| Modifier and Type | Field and Description |
|---|---|
protected ResourceLocator |
resourceLocator |
adapterFactoryBOLD_FONT, BOLD_ITALIC_FONT, ITALIC_FONT, NORMAL_FONTGRAYED_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, hasChildrenprotected ResourceLocator resourceLocator
public ItemPropertyDescriptor.ItemDelegator(AdapterFactory adapterFactory)
public ItemPropertyDescriptor.ItemDelegator(AdapterFactory adapterFactory, ResourceLocator resourceLocator)
public java.lang.String getText(java.lang.Object object)
AdapterFactoryItemDelegatorgetText in interface IItemLabelProvidergetText in class AdapterFactoryItemDelegatorprotected 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)
AdapterFactoryItemDelegatorgetImage in interface IItemLabelProvidergetImage in class AdapterFactoryItemDelegator