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

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:


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

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

Where can I start validation without getting an exception?

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

Current Time: Mon Mar 08 07:22:37 GMT 2021

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

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

Back to the top