Skip to main content



      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 UserFriend
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: Thu May 08 07:03:56 EDT 2025

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

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

Back to the top