Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Recursively inserting same figure inside a figure.
Recursively inserting same figure inside a figure. [message #814357] Tue, 06 March 2012 10:51 Go to next message
Viraj Rajaguru is currently offline Viraj RajaguruFriend
Messages: 3
Registered: December 2011
Location: Sri Lanka
Junior Member
Hi all,

1. I have a "Figure A" which contains a compartment figure as a child figure.

2. My requirement is, at runtime user should be able to drag and drop another "Figure A" into above mentioned "Figure A"'s compartment, from the tool palette.

3. And again another "Figure A" should be inserted into secondly added "Figure A"'s compartment.

4. Likewise user should be able to drag and drop "Figure A" into "Figure A"'s compartment n times.

How can I implement this?
Could you please tell me the way mapping model should be configured?

Thanks & Regards,
Viraj.

[Updated on: Tue, 06 March 2012 10:52]

Report message to a moderator

Re: Recursively inserting same figure inside a figure. [message #814888 is a reply to message #814357] Wed, 07 March 2012 01:16 Go to previous messageGo to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

please see: http://wiki.eclipse.org/GMF_MapModel_Hints#Endless.2Frecursive_hierarchies

regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: Recursively inserting same figure inside a figure. [message #818885 is a reply to message #814888] Mon, 12 March 2012 08:34 Go to previous message
Viraj Rajaguru is currently offline Viraj RajaguruFriend
Messages: 3
Registered: December 2011
Location: Sri Lanka
Junior Member
Hi Aurelien,

Thanks a lot. It works.


Thanks & Regards,
Viraj.
Previous Topic:error when generate .genmodel
Next Topic:Link
Goto Forum:
  


Current Time: Tue Apr 23 17:41:28 GMT 2024

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

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

Back to the top