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;
}
}
- 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 {