Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Fire ValidateAction after each change
Fire ValidateAction after each change [message #656544] Sat, 26 February 2011 16:58
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

I want to validate my model after each change to it. Adding elements, changing attributes etc. I use the following code to start the validation:

ValidateAction.runValidation(notationView);


When I place this code in handleNotificationEvent of EditParts I get the following exception:

Quote:
Caused by: java.lang.IllegalStateException: Cannot open an operation while one is already open


Where can I start validation without getting an exception?

Ralph
Previous Topic:"Analyzing accessible EMF metamodels for project ..."
Next Topic:Connections to elements in collapsed compartments
Goto Forum:
  


Current Time: Wed Apr 24 23:46:16 GMT 2024

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

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

Back to the top