Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Delete From Model on empty diagram
Delete From Model on empty diagram [message #491878] Fri, 16 October 2009 10:59 Go to next message
Javier Laureano is currently offline Javier LaureanoFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,

When I create a new diagram and right-click on it, the "Delete From Model" option is enabled.

If I click on it, the diagram gets corrupt and starts showing errors.

I have been looking through the code and found that PromptingDeleteFromModelAction.calculateEnabled() always return true. This is because 'calledFromContextMenu' is intialized to false and does not change.

What am I doing wrong? Is this a bug?

Thanks.
Re: Delete From Model on empty diagram [message #495055 is a reply to message #491878] Tue, 03 November 2009 16:20 Go to previous message
Alex Shatalin is currently offline Alex ShatalinFriend
Messages: 141
Registered: July 2009
Senior Member
Hello Javier,

> What am I doing wrong? Is this a bug?
Looks like. File a request please.

-----------------
Alex Shatalin
Previous Topic:dynamic behavior
Next Topic:How can I reference nodes created by a secondary diagram?
Goto Forum:
  


Current Time: Thu Apr 25 09:54:43 GMT 2024

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

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

Back to the top