Summary: | Preserve visualID of the .gmfgen model nodes on modifying .gmfmap model. | ||
---|---|---|---|
Product: | [Modeling] GMF-Tooling (ARCHIVED) | Reporter: | Dmitry Stadnik <dimzzy> |
Component: | Core | Assignee: | Alex Shatalin <shatalin> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | shatalin |
Version: | 1.0 | Keywords: | polish |
Target Milestone: | 1.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Dmitry Stadnik
2006-04-28 09:15:24 EDT
This is not a problem of labels - this is a generic problem of transformation from .gmfmap to .gmfgen model. To allow future changes of existing .gmfmap models and safe code regeneration GMF should take into account existing .gmfgen model while transforming .gmfmap to .gmfgen (preserve existing visualIDs of the .gmfgen model element). I.e. GMF should support the following usecases: - new mapping was added to .gmfmap model and transformation from .gmfmap to .gmfgen executed -> new nodes should be added to existing .gmfgen models, but all the rest of the structure should not be changed (visualIDs of existing elements should not change the value). - some mapping(s) was removed from .gmfmap model and transformation from .gmfmap to .gmfgen executed -> obsolete nodes should be removed from .gmfgen model, but visualIDs of an existing .gmfgen model elements should not be changed. In other words, GMF should support "merging" of the changes from .gmfmap model to .gmfgen without modification of visualIDs. One of the reasons was clearly described in an original description another is – GMF should be able to open diagram file created using previous version of the generated diagramming plugin (visualIDs are currently stored in diagram file). oeg.bridge.trace plugin created. Additional .trace file will be created while transforming .gmfmap to .gmfgen model. This file will store visual id and OCL queries which will be used to assign correct visual id to genmodel elements on next genmodel regeneration. User could modify default ocl queries to tune trace file for specific changes in mappinf model. [target cleanup] 1.0 RC4 was the original target milestone for this bug [GMF Restructure] Bug 319140 : product GMF and component Templates was the original product and component for this bug |