Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [Validation]How to validate my diagrams without opening the diagram editor
[Validation]How to validate my diagrams without opening the diagram editor [message #519019] Fri, 05 March 2010 17:38
Eclipse UserFriend
Originally posted by: santiagovelasco.mail.com

Hi

I am having a problem when i want to set the markers after validation.

i am using the method "runValidation(View view)" in my
XXX.diagram.part.validationAction. in which the createMarkers method is
called.

when the markers are set, they are listed in the problems view and
attached to the element in the editor. now, since i may have large
amount of non opened editors, and the call of validation is done
programatically, all editors will be opened by setting the markers.

What i want is to avoid this situation. i only want the errors to get
listed in the problems view. but nevertheless when the user clicks on
the problems view to be redirected to the editor where the element
causing the problem is.

Thanks
Santiago
Previous Topic:Extracting Data from GMF Model
Next Topic:Changing programmaticaly the EList of a node
Goto Forum:
  


Current Time: Sat Oct 31 14:34:50 GMT 2020

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

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

Back to the top