Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem with class imports
Problem with class imports [message #236065] Fri, 10 July 2009 18:56 Go to next message
Eclipse UserFriend
Originally posted by: johan.harjono.utoronto.ca

Hi there,

Our project is having some trouble with dependencies and importing classes,

A class imports:
import edu.toronto.cs.openome_model.diagram.part.Openome_modelDiagr amEditor;

which comes from a separate project.
Which causes this error in the package definition:
The type
org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor
cannot be resolved. It is indirectly referenced from required .class files


edu.toronto.cs.openome_model.diagram.part.Openome_modelDiagr amEditor is a
class that extends
org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.

We searched the error message on Google and many people from different
projects and newsgroup have it but each of their solution seems to be
somewhat project specific, so we thought we'd try to ask the GMF community

cheers,
Johan
Re: Problem with class imports [message #236424 is a reply to message #236065] Fri, 17 July 2009 17:48 Go to previous message
Eclipse UserFriend
Originally posted by: johan.harjono.utoronto.ca

Solved. The trick is to go to the plugin.xml and add in all the required
packages in "Dependencies" manually.

This problem is a bit nasty, hope no one else run into it.

Johan

Johan Harjono wrote:
> Hi there,
>
> Our project is having some trouble with dependencies and importing classes,
>
> A class imports:
> import
> edu.toronto.cs.openome_model.diagram.part.Openome_modelDiagr amEditor;
>
> which comes from a separate project.
> Which causes this error in the package definition:
> The type
> org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor
>
> cannot be resolved. It is indirectly referenced from required .class files
>
>
> edu.toronto.cs.openome_model.diagram.part.Openome_modelDiagr amEditor is a
> class that extends
> org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.Di agramDocumentEditor.
>
>
> We searched the error message on Google and many people from different
> projects and newsgroup have it but each of their solution seems to be
> somewhat project specific, so we thought we'd try to ask the GMF community
>
> cheers,
> Johan
Previous Topic:Workflow runner having trouble finding packages
Next Topic:Template GMF migration from 2.1 to 2.2
Goto Forum:
  


Current Time: Sun Jul 13 17:03:41 EDT 2025

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

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

Back to the top