Bug 62596 [API] JDT messages/images should be public API
The messages and images of the JDT (and of the platform) are not accessible through a public API. So implementors of plugins have no good way to make their plugins have a consistent look&feel with the JDT. For example if you provide a plugin which handles java classes, you want to reuse the same icon than the JDT for a java class. All these classes seems useful to us: org.eclipse.ui.internal.WorkbenchMessages org.eclipse.jdt.internal.debug.ui.actions.ActionMessages org.eclipse.jdt.internal.ui.JavaPluginImages org.eclipse.jdt.internal.ui.JavaPlugin org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider org.eclipse.ui.internal.WorkbenchImages org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider org.eclipse.jdt.internal.debug.ui.DebugUIMessages org.eclipse.jdt.internal.debug.core.model.JDIDebugModelMessages org.eclipse.jdt.internal.debug.ui.JavaDebugImages org.eclipse.jdt.internal.launching.LaunchingMessages org.eclipse.jdt.internal.debug.ui.launcher.LauncherMessages org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry org.eclipse.jdt.internal.ui.viewsupport.ImageImageDescriptor org.eclipse.debug.internal.ui.DebugPluginImages org.eclipse.jdt.internal.ui.wizards.NewWizardMessages org.eclipse.search.internal.ui.SearchPluginImages Note that this feature request has been entered to conform to the Ready for Websphere Studio certification.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListLabelProvider.java
}
		} else if (element instanceof CPListElementAttribute) {
			String key= ((CPListElementAttribute) element).getKey();
			if (key.equals(CPListElement.SOURCEATTACHMENT)) {
				return fRegistry.get(JavaPluginImages.DESC_OBJS_SOURCE_ATTACH_ATTRIB);
			} else if (key.equals(CPListElement.JAVADOC)) {
				return fRegistry.get(JavaPluginImages.DESC_OBJS_JAVADOC_LOCATION_ATTRIB);
			} else if (key.equals(CPListElement.OUTPUT)) {
				return fRegistry.get(JavaPluginImages.DESC_OBJS_OUTPUT_FOLDER_ATTRIB);
			} else if (key.equals(CPListElement.EXCLUSION)) {
				return fRegistry.get(JavaPluginImages.DESC_OBJS_EXCLUSION_FILTER_ATTRIB);
			} else if (key.equals(CPListElement.INCLUSION)) {
				return fRegistry.get(JavaPluginImages.DESC_OBJS_INCLUSION_FILTER_ATTRIB);
			} else if (key.equals(CPListElement.ACCESSRULES)) {
				return fRegistry.get(JavaPluginImages.DESC_OBJS_ACCESSRULES_ATTRIB);
			} else if (key.equals(CPListElement.NATIVE_LIB_PATH)) {
				return fRegistry.get(JavaPluginImages.DESC_OBJS_NATIVE_LIB_PATH_ATTRIB);
			}
			
			return  fRegistry.get(fVariableImage);
		} else if (element instanceof CPUserLibraryElement) {
			return fRegistry.get(JavaPluginImages.DESC_OBJS_LIBRARY);
		} else if (element instanceof IAccessRule) {
			IAccessRule rule= (IAccessRule) element;
			return AccessRulesLabelProvider.getResolutionImage(rule.getKind());
		}
		return null;
	}
}