Skip to main content



      Home
Home » Eclipse Projects » GEF » jars for gef?
jars for gef? [message #222933] Fri, 15 September 2006 11:36 Go to next message
Eclipse UserFriend
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 11:57 Go to previous message
Eclipse UserFriend
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: Mon Jun 09 22:02:36 EDT 2025

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

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

Back to the top