Skip to main content
Jump to: navigation, search

Difference between revisions of "VIATRA/Releases/Query/NewAndNoteWorthy1.0"

m
m (Harmath.incquerylabs.com moved page EMFIncQuery/Releases/NewAndNoteWorthy1.0 to VIATRA/Releases/Query/NewAndNoteWorthy1.0: Migration)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= New and Noteworthy - EMF-IncQuery 1.0.0 =  
 
= New and Noteworthy - EMF-IncQuery 1.0.0 =  
 +
 +
== Surrogate queries for derived features ==
 +
 +
While query-based features have supported the definition of well-behaving derived features in Ecore models, users of Ecore models that could not be modified had no way for using derived features in queries. EMF-IncQuery 1.0.0 introduces surrogate queries for derived features, where a derived feature in a query is replaced by a subpattern call during runtime. For more details, refer to the [[EMFIncQuery/UserDocumentation/Surrogate_Queries|documentation]].
  
 
== Enhanced support for UML models ==
 
== Enhanced support for UML models ==
* Surrogate queries
+
 
 +
The EMF-UML metamodel contains numerous derived features, most of which can now be used in IncQuery patterns. For more details, refer to the [[EMFIncQuery/UMLSupport|documentation]].
 +
 
 
== Updated Validation Framework ==
 
== Updated Validation Framework ==
 +
 +
Live validation is not only about Eclipse problem markers any more! The new validation framework provides better expressibility for constraints and a full runtime API with concepts like constraints and violations. To take full advantage of incremental evaluation, users can listen for changes in the validation results. For more details, refer to the [[EMFIncQuery/UserDocumentation/Validation#New_validation_framework_in_EMF-IncQuery_1.0.0|documentation]].
  
 
== Updated Viewers Framework ==
 
== Updated Viewers Framework ==
 +
 +
From now, the Viewers Framework uses an EMF-based notation model to maintain visualizable objects and takes the advantage of EMF-IncQuery Event-driven Virtual Machine to publish the changes to the viewers. For more details, refer to the [[EMFIncQuery/UserDocumentation/IncQuery_Viewers|documentation]].
 +
 +
== Whitelist for pure methods ==
 +
 +
If you have a pure method and want to call it in a check()/eval() constraint, you can either annotate it with <tt>@Pure</tt> or register it via the <tt>org.eclipse.incquery.patternlanguage.purewhitelist</tt> extension point. For more details, refer to the [[EMFIncQuery/UserDocumentation/PureWhitelist|documentation]].

Latest revision as of 03:08, 28 February 2016

New and Noteworthy - EMF-IncQuery 1.0.0

Surrogate queries for derived features

While query-based features have supported the definition of well-behaving derived features in Ecore models, users of Ecore models that could not be modified had no way for using derived features in queries. EMF-IncQuery 1.0.0 introduces surrogate queries for derived features, where a derived feature in a query is replaced by a subpattern call during runtime. For more details, refer to the documentation.

Enhanced support for UML models

The EMF-UML metamodel contains numerous derived features, most of which can now be used in IncQuery patterns. For more details, refer to the documentation.

Updated Validation Framework

Live validation is not only about Eclipse problem markers any more! The new validation framework provides better expressibility for constraints and a full runtime API with concepts like constraints and violations. To take full advantage of incremental evaluation, users can listen for changes in the validation results. For more details, refer to the documentation.

Updated Viewers Framework

From now, the Viewers Framework uses an EMF-based notation model to maintain visualizable objects and takes the advantage of EMF-IncQuery Event-driven Virtual Machine to publish the changes to the viewers. For more details, refer to the documentation.

Whitelist for pure methods

If you have a pure method and want to call it in a check()/eval() constraint, you can either annotate it with @Pure or register it via the org.eclipse.incquery.patternlanguage.purewhitelist extension point. For more details, refer to the documentation.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.