EMF/Validation/New and Noteworthy/Galileo
EMF Validation Framework New and Noteworthy items for the 1.3 (Galileo) release.
For more details about the development plan, see the EMF Galileo draft plan.
This milestone was completed on Wednesday, 24 September 2008.
Problem Marker Enhancements
A contribution from Damien Thivolle greatly improves the management of workspace resource markers that track problems found by batch validation. The MarkerUtil now has updateMarkers(...) utilities of the same form as the older createMarkers(...) API, which in addition to creating markers will also perform incremental updates, removing markers for problems that were fixed. Accuracy of the results depends on a new OPTION_TRACK_RESOURCES validation option (see below) to track which resources are validated in any given operation. This is a non-default option because tracking resources incurs a new overhead, resulting in a non-trivial performance hit.
The resource-tracking option defined above is just a special case of a more general validation option construct embodied by the new IValidator.Option class. This gives the Validation Framework increased flexibility in extending the validator API for customizability. Several existing properties of the validator interfaces are retro-fitted as options to allow clients to separate the configuration of validators from other concerns.