Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336363 - Option to display containments as link
Summary: Option to display containments as link
Status: RESOLVED WORKSFORME
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-04 10:37 EST by Ralph Gerbig CLA
Modified: 2011-08-23 02:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/