Add from element to tracing
To be able to map to elements from the original (non-woven) aspect by providing a woven element (i.e., user selects elements based on the woven aspect, but the mapping is stored to the original element) we need to know more than just the aspect it was woven from. I.e., for each woven element, we need to know the from element as well.
This is basically what is located in the WeavingInformation
in the weaver.
As discussed today, we will keep tracing for now in the RAM metamodel and replace wovenElements
with a map with the following mapping:
key
is the to element, the element something was woven into, i.e., it is an element from the current aspectvalue
is the from element, the element that was woven into the to element (key), i.e., it is an element from theWovenAspect
By providing this mapping, retrieving the key set of the map gives as the same information that we currently need for the tracing view. Also, it allows to use a 1-to-1 mapping.
Comments (7)
-
-
References
#388: update mapping creation for reuses to save original model as from element (providers do not work atm).→ <<cset 1fde2d9f9c52>>
-
References
#388: set mappings to orginal element for association→ <<cset 0ae32f1d4632>>
-
References
#388: update FromMappingItemProviders for Operation and attribute to get the correct element from tracing data.→ <<cset d840dbe5a361>>
-
References
#388: improve the way to get woven from' element from the mappings + resolve woven from elements in some places were it was forgotton→ <<cset 5656609cac7d>>
-
References
#388: add some generated files that had been forgotten when modifying meta model→ <<cset 7389c859f34e>>
-
- changed status to resolved
see Pull Request #77
- Log in to comment
References
#388: fix order of wovenAspects in tracing→ <<cset b8884396bde4>>