Skip to main content



      Home
Home » Modeling » Epsilon » EuGENia Annotations
EuGENia Annotations [message #1058454] Tue, 14 May 2013 04:08 Go to next message
Eclipse UserFriend
Hi all,

I need the non containment referance must be seen as node but i cant do this.

my sample meta-model is;

abstract class Field extends ContentUnit {
  attr boolean[1] required;
}

@gmf.node(label="name", figure="rectangle", label.icon="false", label.pattern="{0} :' Text'", label.edit.pattern="{0}")
class TextField extends Field {
  attr int displaySize;
  attr int maxLength;
}

@gmf.node(label="name")
class ContentType extends ContentUnit {
  attr String group;
  @gmf.compartment(layout="list", collapsible="false")
  ref Field[*] field;
}


I just need the non containment references seen as node (list compartment) on its parent comparment

(gmf.compartment (for non-containment EReference))

How can i do this ? Anyone can help me ?

Regards

[Updated on: Tue, 14 May 2013 06:29] by Moderator

Re: EuGENia Annotations [message #1058756 is a reply to message #1058454] Tue, 14 May 2013 18:29 Go to previous message
Eclipse UserFriend
Hi,

I'm afraid that non-containment references cannot be used to back GMF compartments - but I could be wrong.

Cheers,
Dimitris
Previous Topic:Node Label Pattern Configuration
Next Topic: EVL constraints dont work
Goto Forum:
  


Current Time: Tue Jul 22 23:52:32 EDT 2025

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

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

Back to the top