Usage of IListener/Adapter [message #1688325] |
Fri, 20 March 2015 09:37  |
Eclipse User |
|
|
|
Hi guys,
I've got model resource with the following elemnts/structure.
Model foo is the parent with a list of childs bar:
foo (instance of A)
--bar (Instance of B)
--bar (Instance of B)
--bar (Instance of B)
...
I've got a open View and
now I'd like to get noticed if another element of bar is added to the foo root element on the CDOServer
I've already found in the docs that you should prefer Adapters over the IListener because you'll get more information by an Adapter.
But is it possible to get the changed/added element (or at least the Class of the Element) by the Notification of the Adapater?
Or do I have to go through the whole Notification and compare my local instance of the model with the instance of the model provided by the notification?
Thanks in advance for your help!
Cheers,
Daniel
[Updated on: Fri, 20 March 2015 09:37] by Moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04419 seconds