[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Paths in Plugin

Alwin Schmitz wrote:
Hi,

I tried now to create the image with this code:

Image file=AbstractUIPlugin.imageDescriptorFromPlugin(
	  			"de.itm.inkas.svn.popUpMenu", "icons/full/obj16/file_obj.gif").createImage();

But I still get the FileNotFound Exception:


java.io.FileNotFoundException: icons\full\obj16\file_obj.gif (Das System kann den angegebenen Pfad nicht finden) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at de.itm.inkas.svn.filecomponent.FileNode.getImage(FileNode.java:25)

It doesn't look like you are using the new code yet (that looks like old code).


PW


-- Paul Webster http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm