Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Errors in generated code for tutorial1(The generated code after following tutorial 1 (mindmap) seems to be missing some objects)
Errors in generated code for tutorial1 [message #943218] Sun, 14 October 2012 04:59 Go to next message
Nathan Hüsken is currently offline Nathan Hüsken
Messages: 27
Registered: November 2010
Junior Member
Hey,

Trying to start with GMF Tooling, I followed the GMF Tutorial in the eclipse cheats sheet.
When I generate the diagram code, I get errors about missing imports in the generated code. For example, in TopicCreateCommand.java:

import org.eclipse.gmf.examples.mindmap.Map;
import org.eclipse.gmf.examples.mindmap.MindmapFactory;
import org.eclipse.gmf.examples.mindmap.Topic;

And I can not find a Map, Topic or MindmapFactory object anyhwere in the generated code.

I am using:
Eclipse Version: Juno Service Release 1
Build id: 20121004-1855

GMF Tooling: 3.0.0.RC4a

Best Regards,
Nathan
Re: Errors in generated code for tutorial1 [message #948757 is a reply to message #943218] Thu, 18 October 2012 06:44 Go to previous message
Nathan Hüsken is currently offline Nathan Hüsken
Messages: 27
Registered: November 2010
Junior Member
I do not know what, I it seems I did something wrong when doing the tutorial.

I retried, and now it works ...
Previous Topic:Howto install 3.0.1
Next Topic:Copy paste not working with the new Juno + gmf
Goto Forum:
  


Current Time: Wed Aug 20 18:40:18 EDT 2014

Powered by FUDForum. Page generated in 0.01478 seconds