Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 482982

Summary: Avoid edge highlighting when there is no reconnect tool
Product: [Modeling] Sirius Reporter: Florian Barbin <florian.barbin>
Component: DiagramAssignee: Florian Barbin <florian.barbin>
Status: CLOSED FIXED QA Contact: Laurent Redor <laurent.redor>
Severity: enhancement    
Priority: P3 CC: laurent.fasani, laurent.redor
Version: 3.1.0Keywords: triaged
Target Milestone: 4.0.0M4   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/61220
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=095d6c0626d3a1f94c43314701117742cfab3532
Whiteboard:
Attachments:
Description Flags
Use Case none

Description Florian Barbin CLA 2015-11-25 04:43:56 EST
The purpose of this feature is to add a new diagram preference (not visible from the UI and at false by default) that will indicate whether the edge highlighting, when trying to reconnect an other edge end on it, should be compute according to the source or target mapping.
That means if the preference is set to true, when trying to reconnect and edge end on an other edge, this other edge will be highlight only if the current edge mapping authorize this kind of connection.
Comment 1 Eclipse Genie CLA 2015-11-25 05:38:49 EST
New Gerrit change created: https://git.eclipse.org/r/61220
Comment 2 Florian Barbin CLA 2015-11-30 11:25:33 EST
Created attachment 258364 [details]
Use Case
Comment 3 Florian Barbin CLA 2015-11-30 11:31:08 EST
Validation Steps:

With the given use case, Open the representation.
Try to reconnect the purple edge source to an other blue edge. The blue edge should be highlighted.

Try to reconnect the green edge target to an other blue edge. The blue edge should be highlighted.

Try to reconnect the green edge target on the purple edge, there should be no highlight on the purple edge.

Try to reconnect the purple edge source on the green edge, there should be no highlight on the green edge.
Comment 5 Laurent Redor CLA 2016-05-23 09:44:59 EDT
Verified on Sirius 4.0.0 RC1 (4.0.0.201605180923)

Contrary to the initial description of this issue, this is the default behavior and there is no preference to change it.
Comment 6 Pierre-Charles David CLA 2016-06-24 07:59:27 EDT
Available in Sirius 4.0.0.