| [news.eclipse.tools.emf] Re: [CDO] How can I get information on new objects in a view |
Hi Anders,
Cheers /Eike
---- http://thegordian.blogspot.com
I understand that, but for the detachedObjects it is still useful since I am using only one view.
But, I guess that there is no event that a view can listen to for added objects as of now?
--- Anders
Simon Mc Duff wrote:Anders Forsell wrote:
Hello,
I am using the getDetachedObjects() from CDOViewInvalidationEvent in my transaction listener to call a dispose() method for all objects that have been detached. This is used to clean out transient non-model things like event listeners.
Is there any way of doing a similar thing for new objects in the view so that I can call an initialize() method?
The group of objects you receive from CDOViewInvalidationEvent is really specific to your view. You will ONLY the list of detachedobject for objects that you have in your view. Others will not be there.
Applying the same result for new objects....you will never receive such things.
Make senses ?
--- Anders