Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » add Adapter to List(no .eAdapters() on EList?)
add Adapter to List [message #974844] Wed, 07 November 2012 11:28 Go to next message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
i've created an EMF-Diagram (see attachment) and i try to add an Adapter to the list in my DataCollection.class

when i try to add an Adapter to the list (as to every other EObject i fail, as my IDE tells me there is no .eAdapters() function on the EList

i remember that i already did an example using a list, so it IS possible.

can you help me and point me my mistake?

thanks in advance
Re: add Adapter to List [message #974886 is a reply to message #974844] Wed, 07 November 2012 12:09 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
You are not adding the adapter to the List but to the EObject containing
the list.

Tom

Am 07.11.12 12:28, schrieb Ludwig Moser:
> i've created an EMF-Diagram (see attachment) and i try to add an Adapter to the list in my DataCollection.class
>
> when i try to add an Adapter to the list (as to every other EObject i fail, as my IDE tells me there is no .eAdapters() function on the EList
>
> i remember that i already did an example using a list, so it IS possible.
>
> can you help me and point me my mistake?
>
> thanks in advance
>
Re: add Adapter to List [message #975986 is a reply to message #974886] Thu, 08 November 2012 08:20 Go to previous message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
thanks!
strange... its working fine if you do it right Wink
Previous Topic:Missing EMF Editor features in Indigo JEE Package
Next Topic:Exception when trying to observe a value for a particular key in an EMap
Goto Forum:
  


Current Time: Sat Apr 27 01:39:29 GMT 2024

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

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

Back to the top