Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EuGENia Annotations
EuGENia Annotations [message #1058454] Tue, 14 May 2013 08:08 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 242
Registered: January 2013
Location: Izmir
Senior Member
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 10:29]

Report message to a moderator

Re: EuGENia Annotations [message #1058756 is a reply to message #1058454] Tue, 14 May 2013 22:29 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 919
Registered: July 2009
Senior Member
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: Fri Dec 19 17:37:05 GMT 2014

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

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