}
}
- private static ImageDescriptor createManaged(String prefix, String name,
- String key) {
- try {
- ImageDescriptor result = ImageDescriptor
- .createFromURL(makeIconFileURL(prefix, name
- .substring(NAME_PREFIX_LENGTH)));
- if (fgAvoidSWTErrorMap == null) {
- fgAvoidSWTErrorMap = new HashMap();
- }
- fgAvoidSWTErrorMap.put(key, result);
- if (fgImageRegistry != null) {
- WebUI
- .logErrorMessage("Image registry already defined"); //$NON-NLS-1$
- }
- return result;
- } catch (MalformedURLException e) {
- return ImageDescriptor.getMissingImageDescriptor();
- }
- }
+// private static ImageDescriptor createManaged(String prefix, String name,
+// String key) {
+// try {
+// ImageDescriptor result = ImageDescriptor
+// .createFromURL(makeIconFileURL(prefix, name
+// .substring(NAME_PREFIX_LENGTH)));
+// if (fgAvoidSWTErrorMap == null) {
+// fgAvoidSWTErrorMap = new HashMap();
+// }
+// fgAvoidSWTErrorMap.put(key, result);
+// if (fgImageRegistry != null) {
+// WebUI
+// .logErrorMessage("Image registry already defined"); //$NON-NLS-1$
+// }
+// return result;
+// } catch (MalformedURLException e) {
+// return ImageDescriptor.getMissingImageDescriptor();
+// }
+// }
protected static ImageDescriptor create(String prefix, String name) {
try {