Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem of infinite loop at element creation
Problem of infinite loop at element creation [message #208406] Mon, 13 October 2008 09:39 Go to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi,

I my model, when I create some element, I have a infinite loop. For example,
in the method doExecuteWithResultof the CreateElementCommand the configure
command return itself. So when this command is executed, itself is recreated
and executed and there is no end.

What can imply this mistake? this is a problem of visual ID??

Thanks,
Patrick
Re: Problem of infinite loop at element creation [message #208707 is a reply to message #208406] Wed, 15 October 2008 11:23 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Patrick,

This problem was recently fixed, so I hope it should be corrected if you
re-generate your code using GMF 2.1

Usually this reason of this problem was an attempt to create incorrect element
on this diagram (corresponding ElementType was registered for an EditingDomain
with different ID).

-----------------
Alex Shatalin
Previous Topic:same or different TransactionalEditingDomain ?
Next Topic:Get nodes programmatically
Goto Forum:
  


Current Time: Fri Apr 26 01:28:58 GMT 2024

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

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

Back to the top