woproject/projects/wolips/plugins/org.objectstyle.wolips.jdt/java/org/objectstyle/wolips/jdt PluginImages.java,1.3,1.4

[email protected] Sun, 26 Feb 2006 08:08:02 -0800 (PST)
Newsgroups gmane.comp.web.webobjects.woproject.cvs
Message-ID <[email protected]>
Update of /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.jdt/java/org/objectstyle/wolips/jdt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11982/java/org/objectstyle/wolips/jdt

Modified Files:
	PluginImages.java 
Log Message:
reverting... not compatible with 3.2M4

Index: PluginImages.java
===================================================================
RCS file: /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.jdt/java/org/objectstyle/wolips/jdt/PluginImages.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- PluginImages.java	26 Feb 2006 08:43:37 -0000	1.3
+++ PluginImages.java	26 Feb 2006 16:07:10 -0000	1.4
@@ -2,7 +2,7 @@
  * 
  * The ObjectStyle Group Software License, Version 1.0 
  *
- * Copyright (c) 2002 - 2006 The ObjectStyle Group 
+ * Copyright (c) 2002 The ObjectStyle Group 
  * and individual authors of the software.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -58,7 +58,6 @@
 
 import java.net.URL;
 
-import org.eclipse.core.runtime.FileLocator;
 import org.eclipse.core.runtime.Path;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.swt.graphics.Image;
@@ -112,7 +111,7 @@
 	 * @return
 	 */
 	private static ImageDescriptor createImageDescriptor(String path) {
-		URL url = FileLocator.find(JdtPlugin.getDefault().getBundle(), new Path(path), null);
+		URL url = JdtPlugin.getDefault().find(new Path(path));
 		if (url != null)
 			return ImageDescriptor.createFromURL(url);
 		return ImageDescriptor.getMissingImageDescriptor();



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642