| Summary: | Replace use of diagram.EdgeTarget with more interesting "types" during validation | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Cedric Brun <cedric.brun> |
| Component: | Core | Assignee: | Project inbox <sirius.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Laurent Fasani <laurent.fasani> |
| Severity: | normal | ||
| Priority: | P3 | CC: | florian.barbin, laurent.fasani, pierre-charles.david |
| Version: | 3.1.0 | Keywords: | triaged |
| Target Milestone: | 5.0.0 | ||
| Hardware: | PC | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/64852 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=48270ead5dfd583d865c994827d858695a7acaf3 |
||
| Whiteboard: | |||
|
Description
Cedric Brun
New Gerrit change created: https://git.eclipse.org/r/64852 Gerrit change https://git.eclipse.org/r/64852 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=48270ead5dfd583d865c994827d858695a7acaf3 Fixed by 48270ead5dfd583d865c994827d858695a7acaf3 (which includes an updated test case which takes the new types into account). A validation scenario would be welcome. Even looking at the gerrit I am not sure of what to test Define EdgeCreationDescription and ReconnectEdgeDescription in a .odesign, assign those to an EdgeMapping which has proper source/target node mappings In the tool description check that the variables "otherEnd", "preSourceView" and "preTargetView" don't have the "EdgeTarget" type but the "DNode" or "DNodeList" or "DNodeContainer" type depending on your VSM. You can check the type by typing var:otherE and triggering the completion with CTRL+SPACE. Validated with "sourceView", "targetView", "preSourceView" and "preTargetView" variables on EdgeCreationDescription and ReconnectEdgeDescription tools.
("preSourceView" and "preTargetView" are available only in EdgeCreationDescription precondition)
Validated on ODCE_20170521
Available in Sirius 5.0.0, see https://wiki.eclipse.org/Sirius/5.0.0 for details. |