Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Accessing the Annotations sources
Accessing the Annotations sources [message #546504] Tue, 13 July 2010 08:42 Go to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi All,

I would like to know as in how the EAnnotation's sources could be accessed like 'http://www.eclipse.org/emf/2002/GenModel'.
I would have liked to see the keys defined the file.

Thanks and Regards,
Saurav


Re: Accessing the Annotations sources [message #546577 is a reply to message #546504] Tue, 13 July 2010 13:19 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Saurav,

Comments below.

saurav wrote:
> Hi All,
>
> I would like to know as in how the EAnnotation's sources could be
> accessed like 'http://www.eclipse.org/emf/2002/GenModel'.
EcoreUtil.getAnnotation or more specific ones like
EcoreUtil.getDocumentation.
> I would have liked to see the keys defined the file.
You mean programmatically I assume...
>
> Thanks and Regards,
> Saurav


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Accessing the Annotations sources [message #546597 is a reply to message #546577] Tue, 13 July 2010 14:02 Go to previous messageGo to next message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Thanks Ed for pointing out the API.
But i would have liked to see the keys directly not programitically.


[Updated on: Tue, 13 July 2010 14:02]

Report message to a moderator

Re: Accessing the Annotations sources [message #546631 is a reply to message #546597] Tue, 13 July 2010 14:47 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Saurav,

By directly, you mean in an editor? Annotations are nested as children
and you can see the annotation's source feature's value in the
properties view.

saurav wrote:
> Thanks Ed for pointing out the API.
> But i have liked to see the keys directly not programitically.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Accessing the Annotations sources [message #623055 is a reply to message #546577] Tue, 13 July 2010 14:02 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Thanks Ed for pointing out the API.
But i have liked to see the keys directly not programitically.


Re: Accessing the Annotations sources [message #623056 is a reply to message #623055] Tue, 13 July 2010 14:47 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Saurav,

By directly, you mean in an editor? Annotations are nested as children
and you can see the annotation's source feature's value in the
properties view.

saurav wrote:
> Thanks Ed for pointing out the API.
> But i have liked to see the keys directly not programitically.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Accessing the Annotations sources
Next Topic:[Emfatic] Help with namespace warning.
Goto Forum:
  


Current Time: Thu Apr 18 10:35:23 GMT 2024

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

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

Back to the top