/** * Obtain image for the provided element. * * <p>To accomplish this quickly we simply make use of constants from CatalogUIPlugin. We need a * second pass that makes use of the real icon from the real resource. * * @param element is expected to be IResolve * @return the image used to label the element, or <code>null</code> if there is no image for the * given object * @see org.eclipse.jface.viewers.LabelProvider#getImage(java.lang.Object) */ public Image getImage(Object element) { if (element instanceof IResolve) { return CatalogUIPlugin.image((IResolve) element); } return super.getImage(element); }