[Validation]How to validate my diagrams without opening the diagram editor [message #519019] |
Fri, 05 March 2010 17:38 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02499 seconds