Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Access EMF EAnnotation with Code
Access EMF EAnnotation with Code [message #102464] Mon, 12 November 2007 21:26 Go to next message
Roshan S. is currently offline Roshan S.Friend
Messages: 125
Registered: July 2009
Senior Member
Hi,
I think this is simple, but I haven't been able to find the correct method.

In my eCore model, I have Documentation written. Basically, I want to
walk my model.ecore xml and check to see if it contains documentation.

How do I get the documentation of an EClass? I also will want to get the
documentation of the EAttribute. Documentation is of type EAnnotation,
but I do not see any getter methods for getEAnnotation() for EClass or
EAttribute.

Any Help would be greatly appreciated.

Thanks,
Roshan
Re: Access EMF EAnnotation with Code [message #102479 is a reply to message #102464] Mon, 12 November 2007 21:29 Go to previous message
Roshan S. is currently offline Roshan S.Friend
Messages: 125
Registered: July 2009
Senior Member
Nevermind, I found it up in EModelElement. :)
Re: Access EMF EAnnotation with Code [message #612488 is a reply to message #102464] Mon, 12 November 2007 21:29 Go to previous message
Roshan S. is currently offline Roshan S.Friend
Messages: 125
Registered: July 2009
Senior Member
Nevermind, I found it up in EModelElement. :)
Previous Topic:Access EMF EAnnotation with Code
Next Topic:[CDO] server memory leak
Goto Forum:
  


Current Time: Sat Jul 27 05:43:08 GMT 2024

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

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

Back to the top