Bug 27807 Need library and library with source as shared images
PDE has two places (plug-ins view and classpath container page) where our label provider needs to render classpath entries. An easy solution would be to add 'library' and 'library with source' images to the list of shared images currently supported by JavaUI.getSharedImages() (currently, the closes image is JAR but we cannot render entry with source attachment). An ideal solution would be a label provider similar to JavaElementLabelProvider that can render classpath entries. Either one works for us. Exposing the two images is less work.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/SharedImages.java
* Method declared in ISharedImages
	 */
	public Image getImage(String key) {
		return JavaPluginImages.get(key);
	}
	
	/* (Non-Javadoc)
	 * Method declared in ISharedImages
	 */
	public ImageDescriptor getImageDescriptor(String key) {
		return (ImageDescriptor)fgMap.get(key);
	}
	
	private void fillMap() {
		fgMap= new HashMap(20);
		fgMap.put(IMG_OBJS_CUNIT, JavaPluginImages.DESC_OBJS_CUNIT);
		fgMap.put(IMG_OBJS_CFILE, JavaPluginImages.DESC_OBJS_CFILE);
		fgMap.put(IMG_OBJS_JAR, JavaPluginImages.DESC_OBJS_JAR);
		fgMap.put(IMG_OBJS_PACKAGE, JavaPluginImages.DESC_OBJS_PACKAGE);
		fgMap.put(IMG_OBJS_CLASS, JavaPluginImages.DESC_OBJS_CLASS);
		fgMap.put(IMG_OBJS_INTERFACE, JavaPluginImages.DESC_OBJS_INTERFACE);
		fgMap.put(IMG_OBJS_PACKDECL, JavaPluginImages.DESC_OBJS_PACKDECL);
		fgMap.put(IMG_OBJS_IMPCONT, JavaPluginImages.DESC_OBJS_IMPCONT);
		fgMap.put(IMG_OBJS_IMPDECL, JavaPluginImages.DESC_OBJS_IMPDECL);
		fgMap.put(IMG_OBJS_PUBLIC, JavaPluginImages.DESC_MISC_PUBLIC);
		fgMap.put(IMG_OBJS_PROTECTED, JavaPluginImages.DESC_MISC_PROTECTED);
		fgMap.put(IMG_OBJS_PRIVATE, JavaPluginImages.DESC_MISC_PRIVATE);
		fgMap.put(IMG_OBJS_DEFAULT, JavaPluginImages.DESC_MISC_DEFAULT);		
	}
}