Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » self-containing compartment?
self-containing compartment? [message #206314] Mon, 22 September 2008 20:06 Go to next message
Nikolay Georgiev is currently offline Nikolay GeorgievFriend
Messages: 13
Registered: July 2009
Junior Member
Hello,

how can I make a self-containing compartment? - a compartment that has as
compartments itself (from the same type).

for example Element A is a compartment and the user would be able to
create the following compartments (and continue to do it recursively):

==A=================
= =A==== =A==== =
= = = = = =
= = = = = =
= ====== ====== =
====================

Should I change also the ecore model? Element A to have as an attribute
many children of itself?

Thank You,
Nikolay
Re: self-containing compartment? [message #206445 is a reply to message #206314] Tue, 23 September 2008 08:55 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Nikolay,

> Should I change also the ecore model? Element A to have as an
> attribute many children of itself?
Yes. In addition see http://wiki.eclipse.org/GMF_MapModel_Hints#Endless.2Frecursi ve_hierarchies
+ GMF tutorials describing inner nodes.

-----------------
Alex Shatalin
Re: self-containing compartment? [message #207143 is a reply to message #206445] Fri, 26 September 2008 10:34 Go to previous message
Nikolay Georgiev is currently offline Nikolay GeorgievFriend
Messages: 13
Registered: July 2009
Junior Member
Thanks Alex, it worked out! :)

Nikolay
Previous Topic:Re: DND from TreeViewer to GMF generated editor
Next Topic:fail in saving diagram file
Goto Forum:
  


Current Time: Wed Jan 27 17:35:51 GMT 2021

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

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

Back to the top