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

Bug 336363

Summary: Option to display containments as link
Product: [Modeling] GMF-Tooling Reporter: Ralph Gerbig <ralphgerbig>
Component: CoreAssignee: Project Inbox <gmp.gmf-tooling-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: salopa
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ralph Gerbig CLA 2011-02-04 10:37:28 EST
Build Identifier: 20100917-0705

At the moment a contained model element can only be displayed inside of the model element, which contains it. I need the option to display the container -> child relation with a link.

Reproducible: Always
Comment 1 Missing name Mising name CLA 2011-02-24 12:18:18 EST
I've been reading about how to display aggregation relationship between two classes in the diagram, like a simply link in the generated editor keeping containment property in true.
There are many items about how to do it with containers, but there aren't any of them without containers (all I need is do it with a link).

A<>----B (diagram)

A----->B (This is what I want to show in the editor)

I hope you can help me! Thanks
Comment 2 Ralph Gerbig CLA 2011-08-23 02:52:04 EDT
(In reply to comment #1)
> I've been reading about how to display aggregation relationship between two
> classes in the diagram, like a simply link in the generated editor keeping
> containment property in true.
> There are many items about how to do it with containers, but there aren't any
> of them without containers (all I need is do it with a link).
> 
> A<>----B (diagram)
> 
> A----->B (This is what I want to show in the editor)
> 
> I hope you can help me! Thanks

I found out that this is already available via phantom nodes. http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-phantom-nodes/