if (labelProviderAtt != null) {
try {
IBaseLabelProvider baseProvider = (IBaseLabelProvider) extension
.createExecutableExtension(LABEL_PROVIDER_ATT);
if (baseProvider instanceof IFontProvider) {
IFontProvider labelProvider = (IFontProvider) baseProvider;
font = labelProvider.getFont(backingObject);
}
} catch (CoreException e) {
// not good log this
ProjectEditPlugin.log("Unable to load the LabelProvider for Element: "
+ extensionId, e);