Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Node creation failed
Node creation failed [message #214744] Thu, 08 January 2009 10:58 Go to next message
Rodolphe Beck is currently offline Rodolphe BeckFriend
Messages: 18
Registered: July 2009
Junior Member
Hi,

I created a simple GMF diagram that worked perfectly.

Then I recreated another one, almost the same except I added one Element
and one link.

Now when I create two Elements that are supposed to link together, if I
then create a link between them, the target element is deleted.

If I try to create a new element by draging a link, it is not created
either...

No error are logged.

Where could be the problem ? I double checked the Mapping, Tooling, and
Ecore seems to be OK...

Thanks.
Re: Node creation failed [message #214799 is a reply to message #214744] Thu, 08 January 2009 12:59 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Rodolphe,

I suppose that corresponding LinkMapping is referencing containment feature
in the mtea-model. This means, in EMF-generated editor target node will “jump”
below the source one on link creation. Is it the case?

-----------------
Alex Shatalin
Re: Node creation failed [message #214817 is a reply to message #214799] Thu, 08 January 2009 13:33 Go to previous messageGo to next message
Rodolphe Beck is currently offline Rodolphe BeckFriend
Messages: 18
Registered: July 2009
Junior Member
Hi and thanks,

Yes, I have several objects
O1
O2
O3
O4
And links :

O1 --> O2
O2 --> O3
O4 --> O3

My first project was only with
O1 --> O2 --> O3
And it works :)

Containment seems to be correct, and when I generate my file with EMF
editor it works.
Re: Node creation failed [message #214849 is a reply to message #214817] Thu, 08 January 2009 16:41 Go to previous message
Rodolphe Beck is currently offline Rodolphe BeckFriend
Messages: 18
Registered: July 2009
Junior Member
Ok, I recreated my ecore from scratch and it works now...
Previous Topic:Stereotypes
Next Topic:error while saving in generated editor
Goto Forum:
  


Current Time: Fri Mar 29 15:03:14 GMT 2024

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

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

Back to the top