Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » multiple packages and mapping model
multiple packages and mapping model [message #659239] Fri, 11 March 2011 10:52 Go to next message
jonathan Missing name is currently offline jonathan Missing name
Messages: 12
Registered: August 2010
Junior Member
Hi everyone,

i have a problem when i use gmf to generate graphical editor with a ecore model having multiple packages and subpackages. I made an example to illustrate this :
This is my very simple model :
https://picasaweb.google.com/lh/photo/yTUtEU1fH5WC8WKuX8LR_g?feat=directlink
When, i make mapping model step, every thing is normal.
https://picasaweb.google.com/lh/photo/MDN_UjF4th72Jtijhoir1Q?feat=directlink

But when i add subpackage in my model like the picture below

https://picasaweb.google.com/lh/photo/rIMyqZsyvMnAAH38vnCBsg?feat=directlink

The mapping model window doesn't display any node and any link whereas the previous picture.

Why i have this comportement and how resolve it?

Thanks in advance
Re: multiple packages and mapping model [message #659473 is a reply to message #659239] Mon, 14 March 2011 04:38 Go to previous message
jonathan Missing name is currently offline jonathan Missing name
Messages: 12
Registered: August 2010
Junior Member
Nobody can help me?

My first post with pictures link is maybe not practical, so i'm going to explain my issue without using it.

I ha ve a very simple ecore model with only one root package like this :
- Epackage : library
..+ Eclass : Library (container of Eclass Book and Writer below)
..+ Eclass : Book
..+ Eclass : Writer

When i create my mapping model after my tooling def model and my graphical def model, I can see nodes and links correctly in map domain model elements.

But when i add a subpackage like this :
- Epackage : library
..+ Eclass : Library (container of Eclass Book and Writer below)
..- Epackage : subLibrary
....+ Eclass : Book
....+ Eclass : Writer

When i want map domain model elements like above, no nodes and links are displayed and i can't create my map model.

Previous Topic:[Validation] NoSuchMethodError in exported plugin
Next Topic:modify pop up menu in canvas
Goto Forum:
  


Current Time: Tue Jul 22 05:18:27 EDT 2014

Powered by FUDForum. Page generated in 0.01595 seconds