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

Bug 458027

Summary: [Edge] sourceView/targetView missing in target finder expression service
Product: [Modeling] Sirius Reporter: Huy Le <huy.lethanh>
Component: DiagramAssignee: Steve Monnier <steve.monnier>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: steve.monnier
Version: 2.0.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
missing sourceView/targetView in edge mapping none

Description Huy Le CLA 2015-01-21 05:58:37 EST
Created attachment 250100 [details]
missing sourceView/targetView in edge mapping

Relating [Relation based Edge]
 
In the Java service, we cannot get source/target element as DNode? For example sourceView/targetView as supported in Reconnect Edge.
 
As I see, only Source Semantic available now.
 
Actually, there is cases that multiple source node/borderednodes mapping to a same semantic object => how to distinguish each of them, DNode is the answer I think.

In org.eclipse.sirius.diagram.business.internal.experimental.sync.DEdgeSynchronizerHelper.computeEdgeCandidatesWithoutDomain(Iterable<EdgeTarget>, Iterable<EdgeTarget>, Map<EObject, Collection<EdgeTarget>>, EdgeMapping), sourceView/targetView should be registered. And then we can distinguish the cases.

Regards,

Thanh Huy LE
Comment 1 Steve Monnier CLA 2015-07-31 02:35:40 EDT
This bugzilla is resolved in WONTFIX status as the expression using sourceView and targetView can be done in the precondition expression.