|
Re: Custom Validation Rules Output [message #1772617 is a reply to message #1772469] |
Wed, 13 September 2017 07:47 |
|
Hi,
There's no direct support for something like this, but any validation error or warning will produce and Eclipse marker (visible in the Problems view), and you can access those programmatically:
* either after the validation, using something like IResource.findMarkers() to get all the markers on a specific file/folder/project (or even the whole workspace).
* or "live" when they are created, by registering a listener with IWorkspace.addResourceChangeListener(IResourceChangeListener, int) and using IResourceChangeEvent.findMarkerDeltas(String, boolean) on the events you receive to detect the creation of validation markers of interest to you.
Regards,
Pierre-Charles
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03250 seconds