eclipse-viatra / org.eclipse.viatra

Main components of the VIATRA framework
https://eclipse.dev/viatra
Eclipse Public License 2.0
0 stars 1 forks source link

Extend generator to provide standalone setup classes #21

Open eclipse-viatra-bot opened 6 months ago

eclipse-viatra-bot commented 6 months ago

| --- | --- | | Bugzilla Link | 465170 | | Status | NEW | | Importance | P3 normal | | Reported | Apr 22, 2015 04:00 EDT | | Modified | Sep 06, 2016 10:01 EDT | | Version | oldinquery | | Reporter | Zoltan Ujhelyi |

Description

Based on some feedback, accessing UML integration is hard from a plain Java application, as it requires to register all query specifications into different registries. As an example, a setup class was created manually that executes these steps for UML: http://git.eclipse.org/c/incquery/org.eclipse.incquery.git/tree/plugins/org.eclipse.incquery.uml/src/org/eclipse/incquery/uml/IncQueryUMLStandaloneSetup.java

However, such setup classes are cumbersome to create by hand, so we might need to extend generator to generate such registration classes. However, these classes need to aggregate information from various different generation fragments (e.g. surrogate queries or derived features). Furthermore, well-behaving derived features have no generator, although this information might be useful to have in this setup class.

eclipse-viatra-bot commented 6 months ago

By Abel Hegedus on Apr 19, 2016 05:25

Updating to correct milestone.