IPresentablePart presentablePart = (IPresentablePart) element;
return presentablePart.getTitleImage();
}
public Font getFont(Object element) {
IPresentablePart presentablePart = (IPresentablePart)element;
AbstractTabItem item = folder.getTab(presentablePart);
// if in single tab mode, do not use the bold font for non-visible tabs
// if in multiple tab mode, use the bold for non-visible tabs only
if ((item!=null && item.isShowing()) || !hiddenTabsBold) {