/* * (non-Javadoc) Method declared on IPropertySheetEntry. */ public Image getImage() { ILabelProvider provider = descriptor.getLabelProvider(); if (provider == null) { return null; } return provider.getImage(editValue); }
/* * (non-Javadoc) Method declared on IPropertySheetEntry. */ public String getValueAsString() { if (editValue == null) { return ""; //$NON-NLS-1$ } ILabelProvider provider = descriptor.getLabelProvider(); if (provider == null) { return editValue.toString(); } String text = provider.getText(editValue); if (text == null) { return ""; //$NON-NLS-1$ } return text; }
@Override public ILabelProvider getLabelProvider() { return mDelegate.getLabelProvider(); }
public String getValueAsString() { if (editValue == null) return ""; // $NON-NLS-1$ ILabelProvider provider = descriptor.getLabelProvider(); if (provider == null) return editValue.toString(); return provider.getText(editValue); }