Community
Participate
Working Groups
Sample model: class "Model" { containment ref "requirements" { upperBound : -1; type : "Requirement" } } class "Requirement" { containment ref "children" { upperBound : -1; type : "Requirement" } } Model maps to dialgram, two top node mappings use Requirement - one with containment feature aka root requirement, another without containment feature aka child requirement. Genereted code in VisualIDRegistry#getNodeVisualID checks only for metaclasses, hence, can't tell the two and for any Requirement instance passed always returns first visualID, though the instance may be either from within Model (and then it's root) or from within Resource (and then it's child req). Right now it's possible to workaround this issue with constraint that explicitly checks for eContainer or smth similar. However, generated code should handle such cases correctly out of the box
Moving to the next version
[GMF Restructure] Bug 319140 : product GMF and component Generation was the original product and component for this bug