Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EMF/Validation/New and Noteworthy/Galileo"

(Milestone 2)
(M3)
 
Line 3: Line 3:
 
For more details about the development plan, see the
 
For more details about the development plan, see the
 
[http://www.eclipse.org/projects/project-plan.php?projectid=modeling.emf EMF Galileo draft plan].
 
[http://www.eclipse.org/projects/project-plan.php?projectid=modeling.emf EMF Galileo draft plan].
 +
 +
==Milestone 3==
 +
 +
This milestone was completed on Wednesday, 5 November 2008.
 +
 +
====Client Context Extension====
 +
 +
Enhancements in the <tt style="color:DarkGreen">org.eclipse.emf.validation.constraintBindings</tt> extension point allow client applications now to specifically extend the client-context of another application, with additional control over constraint bindings.  Now, a client application can:
 +
 +
* include all of the constraints available in another application's client-context, by specifying a <tt style="color:DarkGreen">&lt;extendClientContext&gt;</tt> element referencing the extended context ID
 +
* exclude all constraints in a category using the new <tt style="color:DarkGreen">&lt;excludeCategory&gt;</tt> element, that would otherwise have been "inherited" either by category nesting or by extension of another client-context
 +
* exclude a single constraint using the new <tt style="color:DarkGreen">&lt;excludeConstraint&gt;</tt> element
 +
* mix and match inclusion and exclusion filters to better control the pool of constraints applicable in your application.  Inclusions and exclusions within a single <tt style="color:DarkGreen">&lt;binding&gt;</tt> element are applied in the order in which they appear
 +
 +
====Dynamic Extension Additions====
 +
 +
A contribution from Artem Tikhomirov of the GMF team got the ball rolling to implement some degree of dynamic-awareness in the EMF Validation Framework extension points.  Now, dynamic additions of extensions on all <tt style="color:DarkGreen">org.eclipse.emf.validation.*</tt> extension points are supported.
 +
 +
====Other Enhancements====
 +
 +
A complete list of the enhancement requests resolved in this milestone can be found
 +
[https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&classification=Modeling&product=EMF&component=Validation&long_desc_type=allwordssubstr&long_desc=&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&bug_severity=enhancement&chfieldfrom=2008-09-25&chfieldto=2008-11-05&chfield=resolution&chfieldvalue=FIXED&cmdtype=doit here].
  
 
==Milestone 2==
 
==Milestone 2==

Latest revision as of 15:23, 9 November 2008

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.

Milestone 3

This milestone was completed on Wednesday, 5 November 2008.

Client Context Extension

Enhancements in the org.eclipse.emf.validation.constraintBindings extension point allow client applications now to specifically extend the client-context of another application, with additional control over constraint bindings. Now, a client application can:

  • include all of the constraints available in another application's client-context, by specifying a <extendClientContext> element referencing the extended context ID
  • exclude all constraints in a category using the new <excludeCategory> element, that would otherwise have been "inherited" either by category nesting or by extension of another client-context
  • exclude a single constraint using the new <excludeConstraint> element
  • mix and match inclusion and exclusion filters to better control the pool of constraints applicable in your application. Inclusions and exclusions within a single <binding> element are applied in the order in which they appear

Dynamic Extension Additions

A contribution from Artem Tikhomirov of the GMF team got the ball rolling to implement some degree of dynamic-awareness in the EMF Validation Framework extension points. Now, dynamic additions of extensions on all org.eclipse.emf.validation.* extension points are supported.

Other Enhancements

A complete list of the enhancement requests resolved in this milestone can be found here.

Milestone 2

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.

Validation Options

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.

Other Enhancements

A complete list of the enhancement requests resolved in this milestone can be found here.

Back to the top