| Summary: | Improve edge interactions on Regions/RegionContainers | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Maxime Porhel <maxime.porhel> |
| Component: | Diagram | Assignee: | Maxime Porhel <maxime.porhel> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | florian.barbin, laurent.fasani |
| Version: | 2.0.5 | Keywords: | triaged |
| Target Milestone: | 3.1.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| See Also: |
https://git.eclipse.org/r/55643 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c519ba977db3dc4fb31e1270883cabb4e650b2e6 |
||
| Whiteboard: | needtest | ||
| Bug Depends on: | |||
| Bug Blocks: | 470859 | ||
|
Description
Maxime Porhel
The idea here is to: . delegate the edge creation to the RegionContainer if the hovered Region do not propose an executable command (see getConnectionCreateCommand() and getConnectionCompleteCommand()). . disable the reconnection on the Region to always delegate the reconnect to the RegionContainer. In a further bugzilla, when the ReconnectToolDescription will allow extra source/target mappings, we will be able t handle the reconnect on Region. New Gerrit change created: https://git.eclipse.org/r/55643 Gerrit change https://git.eclipse.org/r/55643 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c519ba977db3dc4fb31e1270883cabb4e650b2e6 Can be validated with ecore tools draft - checkout https://git.eclipse.org/r/#/c/55419/ - EdgeCreationTools: - SuperType: compartment as extra source mapping: creation feedback on regions and/or title area - Other edges tools: feedback on the RegionContainer: creation feedback on the RegionContainer - Reconnection tests with super types edges: feedback on the RegionContainer The edge creation is delegated to the RegionContainer if no tool is found for a Region (compartment) (see feedback) The reconnection is only possible on RegionContainer mapping (warning validation rule in the VSM editor) Verified on current Sirius master with ecoretools patch set. Available in Sirius 3.1.0. |