Skip to main content



      Home
Home » Newcomers » Newcomers » GEF import statements
- GEF import statements [message #205193] Mon, 16 April 2007 10:13 Go to next message
Eclipse UserFriend
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 #205210 is a reply to message #205193] Mon, 16 April 2007 11:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Have you added org.eclipse.ui.ide as a required plug-in in your plug-in
dependency list?

cheers,
ian

Yvon Asafu-Adjaye wrote:
> 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 #205263 is a reply to message #205210] Mon, 16 April 2007 21:50 Go to previous messageGo to next message
Eclipse UserFriend
It may be the classpath or build path is error.
"Ian Bull" <irbull@cs.uvic.ca> ???? news:f003b8$fv7$1@build.eclipse.org...
> Have you added org.eclipse.ui.ide as a required plug-in in your plug-in
> dependency list?
>
> cheers,
> ian
>
> Yvon Asafu-Adjaye wrote:
> > 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 #205463 is a reply to message #205210] Tue, 17 April 2007 08:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: coa03ysa.shef.ac.uk

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
- Re: GEF import statements [message #205471 is a reply to message #205463] Tue, 17 April 2007 09:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jakub.jurkiewicz.gmail.com

It all depends on what you are going to use ;)
If you just see that you cannot import some classes, check if you have
to add some project to your dependencies.

regards,
Jakub Jurkiewicz

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
>
- Re: GEF import statements [message #205484 is a reply to message #205463] Tue, 17 April 2007 09:28 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Server and Applet testing?
Next Topic:How to create plugin!!!
Goto Forum:
  


Current Time: Thu May 01 13:24:52 EDT 2025

Powered by FUDForum. Page generated in 0.08551 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top