Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [Episilon] Eugenia: Graphical Containment to represent Model Containment
[Episilon] Eugenia: Graphical Containment to represent Model Containment [message #496608] Tue, 10 November 2009 16:44 Go to next message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
Hi,

I notice when I use Eugenia with the Filesystem example, Folder extends File is treated as a container in the generated diagram editor.

However, I would like to populate:

val File[*] contents;

Via a container on the diagram editor. So the user puts a Folder Node on the canvas (where it appears as a container), then populates contents by adding File Nodes within this Folder.

Is this possible? If so, can anyone hint as to the correct annotation for this?

Hopefully this is clear, thanks!

Maurice

[Updated on: Tue, 10 November 2009 17:09]

Report message to a moderator

Re: [Episilon] Eugenia: Graphical Containment to represent Model Containment [message #496640 is a reply to message #496608] Tue, 10 November 2009 18:21 Go to previous message
Maurice O'Connor is currently offline Maurice O'ConnorFriend
Messages: 86
Registered: July 2009
Member
Nevermind, got it!

@gmf.compartment did the trick eg.

@gmf.compartment(foo="bar")
val File[*] contents;

[Updated on: Tue, 10 November 2009 18:21]

Report message to a moderator

Previous Topic:[MOFScript] Different results when running transformations programmatically and in the plugin
Next Topic:EMF Compare diff file
Goto Forum:
  


Current Time: Wed Dec 17 23:11:36 GMT 2014

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

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