Search in sources :

Example 1 with JavaElementImageProvider

use of org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider in project che by eclipse.

the class ParameterGuesser method getImageDescriptor.

private ImageDescriptor getImageDescriptor(IJavaElement elem) {
    JavaElementImageProvider imageProvider = new JavaElementImageProvider();
    ImageDescriptor desc = imageProvider.getBaseImageDescriptor(elem, JavaElementImageProvider.OVERLAY_ICONS);
    imageProvider.dispose();
    return desc;
}
Also used : JavaElementImageDescriptor(org.eclipse.jdt.ui.JavaElementImageDescriptor) ImageDescriptor(org.eclipse.jface.resource.ImageDescriptor) JavaElementImageProvider(org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider)

Aggregations

JavaElementImageProvider (org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider)1 JavaElementImageDescriptor (org.eclipse.jdt.ui.JavaElementImageDescriptor)1 ImageDescriptor (org.eclipse.jface.resource.ImageDescriptor)1