Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [EMF] use annotation in "body" of EOperation
[EMF] use annotation in "body" of EOperation [message #64873] Wed, 22 July 2009 08:55
Eclipse User
Originally posted by: aurelien.pupier.esial.net

Hi,

I follow a great tip here : http://blog.eclipse-tips.com/2008/05/adding-util-methods-to- generated-emf.html

And I'm wondering if we can use the value of an Annotation in the "body" value of an EOperation. And how can we refer to these?

Not sure to be clear, so a schema :

*Element
- EAnnotation
- Details Entry : key=myKey value=" a_great_value_that_I_want_to_share_ant_to_be_easily_maintana ble "
*AnotherElement
-EOperation
-EAnnotation (Source=http://www.eclipse.org/emf/2002/GenModel)
- Details Entry : key=body value="smthg using the value of #mykey"


In fact, can we refer to another annotation within an annotation?

Hope this will be understandable

Regards,

Aurelien Pupier
Previous Topic:How to Access All Elements
Next Topic:[Acceleo] init rules don't work
Goto Forum:
  


Current Time: Wed Apr 16 00:51:53 EDT 2014

Powered by FUDForum. Page generated in 0.02529 seconds