Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / ui / PHPUiImages.java
index 20ed5bb..1d5e62b 100644 (file)
@@ -5,7 +5,7 @@ import java.net.URL;
 import java.util.HashMap;
 import java.util.Iterator;
 
-import net.sourceforge.phpeclipse.PHPeclipsePlugin;
+//import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 import net.sourceforge.phpeclipse.ui.WebUI;
 
 import org.eclipse.jface.action.IAction;
@@ -883,25 +883,25 @@ public class PHPUiImages {
                }
        }
 
-       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 {