| 
| GEF import statements [message #205193] | Mon, 16 April 2007 10:13  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: coa03ysa.shef.ac.uk 
 Hello,
 
 I am building a graphical editor using Eclipse's Graphical Editing
 Framework. I am currently working on constructing the editor itself.
 Unfortunately some of my import statements "cannot be resolved". To be
 specific, the unrecognized statements are:
 
 import org.eclipse.ui.IFileEditorInput;
 import org.eclipse.ui.part.FileEditorInput;
 
 I would be most grateful if somebody could give me some steer with respect
 to how to solve this problem so that I could get on with the project. Many
 thanks.
 
 Best regards,
 
 Yvon
 |  |  |  | 
|  | 
|  | 
|  | 
|  | 
| 
| Re: GEF import statements [message #205484 is a reply to message #205463] | Tue, 17 April 2007 09:28  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: irbull.cs.uvic.ca 
 Knowing what plug-ins you need always seems to be a bit of a mystery to
 me.  Usually when I get compile errors in my import statements I assume
 I haven't depended on the right project.  However, if you don't have the
 required project anywhere in your workspace, it can sometimes be hard to
 figure out what project you need.  I have found myself depending on a
 bunch of projects, and then used the PDE to remove unneeded
 dependencies, although there must be a better way.
 
 Glad to hear you got it working.
 
 cheers,
 ian
 
 Yvon Asafu-Adjaye wrote:
 > Thank you very much. That worked. I had added org.eclipse.ui to the
 > Dependencies tab, but I had not added org.eclipse.ui.ide. Do you know of
 > any other plugin that I need to include in the Dependencies list for the
 > project? So far this is the list in the Dependencies tab:
 >
 > org.eclipse.gef
 > org.eclipse.emf
 > org.eclipse.core.runtime
 > org.eclipse.core.resources
 > org.eclipse.ui
 > org.eclipse.ui.ide
 >
 > Many thanks.
 >
 > Yvon
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.09271 seconds