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

Bug 516150

Summary: One diagram element that represents an implicit combination of multiple Ecore Objects
Product: [Modeling] Sirius Reporter: Koen Staal <koen.staal>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: laurent.redor, pierre-charles.david, steve.monnier
Version: unspecifiedKeywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Koen Staal CLA 2017-05-04 01:59:04 EDT
It would be useful if a single diagram element can represent an implicit combination of multiple Ecore objects. 
See for example slides 10 and 11 of https://www.slideshare.net/Obeo_corp/siriuscon2016-integrating-textual-and-graphical-editing-in-the-poosl-ide , where the displayed Sirius Diagram element would ideally be coupled to the combination of an Instance and a Port Ecore object.Unfortunately, the Ecore model does not (always) explicitly contain an EObject for this combination. 
It would be inconvenient to create a derived Ecore attribute, only for this purpose.
Comment 1 Laurent Redor CLA 2017-05-05 08:56:45 EDT
*** Bug 516151 has been marked as a duplicate of this bug. ***
Comment 2 Laurent Redor CLA 2017-05-05 09:00:53 EDT
After a quick discussion with Pierre-Charles, it seems that what is expected is to keep the same graphical representation when "Port" becomes a "ChannelPort" (in your example). Is it the same feature or another one?
Comment 3 Koen Staal CLA 2017-05-08 04:15:07 EDT
(In reply to Laurent Redor from comment #2)
> After a quick discussion with Pierre-Charles, it seems that what is expected
> is to keep the same graphical representation when "Port" becomes a
> "ChannelPort" (in your example). 

Yes, in our example the user should not observe graphical changes of the port when it gets connected to a channel (and it becomes an channelport)