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/NewAndNoteworthy1.6"

Line 24: Line 24:
 
= Documentation updates =
 
= Documentation updates =
  
To make it easier to get started with VIATRA, a [http://www.eclipse.org/viatra/documentation/tutorial.php|tutorial] is added that presents an example for query and transformation development. In order to make the tutorial available for even more users, this documentation is also included in the platform help.  
+
To make it easier to get started with VIATRA, a [http://www.eclipse.org/viatra/documentation/tutorial.php tutorial] is added that presents an example for query and transformation development. In order to make the tutorial available for even more users, this documentation is also included in the platform help.  
  
 
[[File:VIATRA query explain message.png|thumbnail|]]
 
[[File:VIATRA query explain message.png|thumbnail|]]

Revision as of 10:24, 24 May 2017

Model Query Evaluation

  • Better compatibility with incorrect notifications, e.g. duplicate delete events: strict mode in Base bug 514525
  • Dangling edges bug 512752

Code generator updates

VIATRA Query Codegen Options.png

For users targeting other environment than Eclipse plug-ins, it is now possible to disallow the updating of MANIFEST.MF and plugin.xml files. The bundle manifest is updated to ensure all packages that contain query specifications are exported, while plugin.xml files are used by the query specification registry to load all patterns during runtimes.

This setting is available as a workspace-level preference or a per-project setting. By default, these settings are turned on (so both files are updated on each build), maintaining compatibility with previous releases.

The other major change relates to the handling of private patterns. Given private patterns are not expected to be used outside calling them from patterns in the same vql file, the generated code does not need all the type-safe wrappers generated. However, to make private patterns testable using the query test API, the generated QuerySpecification classes were moved to a dedicated package were they could be made public without exporting them to all users of the query bundles.

Resource mapping support in Maven generator

You can now specify the location of metamodels referred to via platform:/resource URIs with the uriMappings configuration element. See this wiki page for more details. bug 507748

Query Test Framework updates


Documentation updates

To make it easier to get started with VIATRA, a tutorial is added that presents an example for query and transformation development. In order to make the tutorial available for even more users, this documentation is also included in the platform help.

VIATRA query explain message.png

A few error messages in the query editor related to enumerable and non-enumerable references had been reported to hard to understand. In this version the error messages have been updated, and a quick fix was also added that updates a detailed explanation for the message. In future versions we plan to extend this support to make other error messages more understandable.

GEF5-based visualization

The Zest-based graph visualization components (Rete visualizer, Local search debugger and the graph visualization support of Viewers) was updated to rely on the latest GEF version 5.0 (available with Eclipse Oxygen). As GEF5 depends on JavaFX and e(fx)clipse, they have to be available in the runtime.

Back to the top