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 11:44 Go to next message
Maurice O'Connor is currently offline Maurice O'Connor
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 12: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 13:21 Go to previous message
Maurice O'Connor is currently offline Maurice O'Connor
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 13: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: Fri Aug 22 09:44:15 EDT 2014

Powered by FUDForum. Page generated in 0.07482 seconds