Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » jars for gef?
jars for gef? [message #222933] Fri, 15 September 2006 15:36 Go to next message
Conor Missing name is currently offline Conor Missing nameFriend
Messages: 159
Registered: July 2009
Senior Member
Hey

I'm fairly new to eclipse and just trying out gef for the first time.

I've added three jar files to the build path (although I'm pretty sure I
don't need the gmf one)

org.eclipse.gef_3.2.0.v20060626.jar
org.eclipse.gef.doc.isv_3.2.0.v20060626.jar
org.eclipse.gmf.runtime.gef.ui_1.0.0.v20060627-1200.jar

All the right versoin and can import to a class just fine, like:
import org.eclipse.gef.*;
import org.eclipse.gef.editparts.AbstractGraphicalEditPart;

Problem is when I try to create a class (my first using gef):

public class DiagramContentsEditPart extends AbstractGraphicalEditPart {
...
}

I get the error:
The type org.eclipse.core.runtime.IAdaptable cannot be resolved. It is
indirectly referenced from required .class files

Do I need to add to the build path? Or is there something else I'm missing?

Thanks for your help.
Re: jars for gef? [message #223417 is a reply to message #222933] Tue, 26 September 2006 15:57 Go to previous message
Sebastián Gurin is currently offline Sebastián GurinFriend
Messages: 43
Registered: July 2009
Member
you have a problem with your plugin dependencies. at least you will want
to add org.eclipse.ui and org.eclipse.core.runtime in you plugin's dependencies.


On Fri, 15 Sep 2006 15:36:36 +0000 (UTC)
conorgaff@hotmail.com (Con Gaff) wrote:

> Hey
>
> I'm fairly new to eclipse and just trying out gef for the first time.
>
> I've added three jar files to the build path (although I'm pretty sure I
> don't need the gmf one)
>
> org.eclipse.gef_3.2.0.v20060626.jar
> org.eclipse.gef.doc.isv_3.2.0.v20060626.jar
> org.eclipse.gmf.runtime.gef.ui_1.0.0.v20060627-1200.jar
>
> All the right versoin and can import to a class just fine, like:
> import org.eclipse.gef.*;
> import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
>
> Problem is when I try to create a class (my first using gef):
>
> public class DiagramContentsEditPart extends AbstractGraphicalEditPart {
> ..
> }
>
> I get the error:
> The type org.eclipse.core.runtime.IAdaptable cannot be resolved. It is
> indirectly referenced from required .class files
>
> Do I need to add to the build path? Or is there something else I'm missing?
>
> Thanks for your help.
>
>
>
>
>
>
Previous Topic:ComboBox or anything similar in GEF?
Next Topic:How to label or describe a PaletteStack?
Goto Forum:
  


Current Time: Thu Apr 25 12:01:59 GMT 2024

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

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

Back to the top