Community
Participate
Working Groups
Manual changes made to gmfgen models by users are currently handled by the Reconciler component. As we decided to handle that by executing the explicit transformation against the newly created model (see Bugzilla #365321), it may make sense to help users to migrate from one approach to another. The migration may be done by separate wizard that compares the fresh bridge output and actually stored instance and generates qvto script that applies the found diffs.
Created attachment 208634 [details] QVTO Transformation + Wizard for extraction of manual changes made in GMF GenModel in form of QVTO mapping This patch adds qvto transformation that extract changes made in a GMFGen Model in form of a QVTO transformation. This operation makes use of EMF Compare to obtain a diff model between two versions of a GMFGen Model. The resulting QVTO transformation is obtained against the Diff model (see Diff2Qvto).
Created attachment 208635 [details] QVTO Transformation + Wizard for extraction of manual changes made in GMF GenModel in form of QVTO mapping currently supports: - changes made on node identifiable by their visualIDs - changes made on attributes - deletion of elements identifiable by their visualIDs - deletion of elements having for parent a node with visualID - deletion or modifcation of child node of GMFGenModel root node currently does not support: - changes made on attributes on type enumeration - changes made on node non identifiable by visualID or not having parent with visualID