Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » self composition
self composition [message #166648] Thu, 03 January 2008 09:04 Go to next message
Eclipse UserFriend
Originally posted by: andia.maleki.gmail.com

Hi all,
I would like to know how it is possible to include a figure inside figure
recursive.
In .ecore there is a EClass Entity who has entities:Entity (0..*) as
refernce with "Containment" true.
In mapping i have a NodeMapping with ContainmentFeature = entities:Entity.

In editor it is possible to create Entities inside another one, but i cant
create any Entity inside a Entity on second layer..

Thanks,
Andia
Re: self composition [message #166827 is a reply to message #166648] Fri, 04 January 2008 11:17 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Andia,

> In mapping i have a NodeMapping with ContainmentFeature =
> entities:Entity.
You should create one more ChildReference in this NodeMapping and "Referenced
Child" property pointing to the parent NodeMapping.

-----------------
Alex Shatalin
Previous Topic:Modify domain Model at runtime and generate code
Next Topic:Extend tool bar dynamically
Goto Forum:
  


Current Time: Thu Sep 26 07:31:14 GMT 2024

Powered by FUDForum. Page generated in 0.13208 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top