Skip to main content



      Home
Home » Archived » 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
Eclipse UserFriend
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] by 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
Eclipse UserFriend
Nevermind, got it!

@gmf.compartment did the trick eg.

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

[Updated on: Tue, 10 November 2009 13:21] by Moderator

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


Current Time: Thu Mar 27 13:41:45 EDT 2025

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

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

Back to the top