1 11 package org.eclipse.ui.internal.util; 12 13 import java.net.URL ; 14 15 import org.eclipse.jface.resource.ImageDescriptor; 16 import org.eclipse.ui.PlatformUI; 17 18 public final class ImageSupport { 19 20 public static ImageDescriptor getImageDescriptor(String path) { 21 URL url = BundleUtility.find(PlatformUI.PLUGIN_ID, path); 22 return ImageDescriptor.createFromURL(url); 23 } 24 25 private ImageSupport() { 26 } 27 } 28 | Popular Tags |