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 "VIATRA/Releases/Query/NewAndNoteWorthy1.0"

(add link to pure whitelist)
(Whitelist for pure methods)
Line 17: Line 17:
 
== Whitelist for pure methods ==
 
== 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 the <tt>@Pure</tt> annotation of Xbase or register it via the <tt>org.eclipse.incquery.patternlanguage.purewhitelist</tt> extension point. For more details, refer to the [[EMFIncQuery/UserDocumentation/PureWhitelist|documentation]].
+
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]].

Revision as of 09:20, 23 June 2015

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

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.